I really appreciate your help. Here is the code for skillset data source, and indexer
<data source json>![Screenshot 2025-02-03 午後6.32.26](https://learn-attachment.microsoft.com/api/attachments/05b7e86c-b481-4b55-9ad1-fec2d4c51801?platform=QnA)
{
"@odata.context": "https://ais-aisearch-blob.search.windows.net/$metadata#datasources/$entity",
"@odata.etag": "\"0x8DD3F205A78505C\"",
"name": "sql-datasrc-v",
"description": null,
"type": "azuresql",
"subtype": null,
"credentials": {
"connectionString": "Data Source=tcp:server-demo-001.database.windows.net,1433;Initial Catalog=mySampleDatabase;User ID=...;Password=...;Connect Timeout=30;Encrypt=True;Trust Server Certificate=False"
},
"container": {
"name": "[sites]",
"query": ""
},
"dataChangeDetectionPolicy": {
"@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
"highWaterMarkColumnName": "txt"
},
"dataDeletionDetectionPolicy": null,
"encryptionKey": null,
"identity": null
}
```<skillset>
```json
{
"@odata.etag": "\"0x8DD441F22EED874\"",
"name": "azuresql-skillsetc-v",
"description": "Skillset created from the portal. skillsetName: azuresql-skillsetc-v; contentField: txt; enrichmentGranularity: document; knowledgeStoreStorageAccount: ;",
"skills": [
{
"@odata.type": "#Microsoft.Skills.Text.TranslationSkill",
"name": "#1",
"context": "/document",
"defaultToLanguageCode": "en",
"suggestedFrom": "en",
"inputs": [
{
"name": "text",
"source": "/document/txt",
"inputs": []
}
],
"outputs": [
{
"name": "translatedText",
"targetName": "translated_text"
}
]
},
{
"@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
"name": "#2",
"context": "/document",
"inputs": [
{
"name": "text",
"source": "/document/txt",
"inputs": []
}
],
"outputs": [
{
"name": "languageCode",
"targetName": "language"
}
]
},
{
"@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
"name": "#3",
"context": "/document",
"defaultLanguageCode": "en",
"inputs": [
{
"name": "text",
"source": "/document/txt",
"inputs": []
},
{
"name": "languageCode",
"source": "/document/language",
"inputs": []
}
],
"outputs": [
{
"name": "keyPhrases",
"targetName": "keyphrases"
}
]
},
{
"@odata.type": "#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill",
"name": "#4",
"description": "Connects a deployed embedding model.",
"context": "/document",
"resourceUri": "https://oai-ai-search-blob.openai.azure.com",
"apiKey": "<redacted>",
"deploymentId": "text-embedding-ada-002",
"dimensions": 1536,
"modelName": "text-embedding-ada-002",
"inputs": [
{
"name": "text",
"source": "/document/txt",
"inputs": []
}
],
"outputs": [
{
"name": "embedding",
"targetName": "txt_vector"
}
]
}
]
}
<indexer>
{
"@odata.context": "https://ais-aisearch-blob.search.windows.net/$metadata#indexers/$entity",
"@odata.etag": "\"0x8DD443DC6598BB8\"",
"name": "azuresql-indexer-v",
"description": "",
"dataSourceName": "sql-datasrc-v",
"skillsetName": "azuresql-skillsetc-v",
"targetIndexName": "azuresql-index-v",
"disabled": null,
"schedule": {
"interval": "PT5M",
"startTime": "2025-01-14T06:30:25Z"
},
"parameters": {
"batchSize": null,
"maxFailedItems": 0,
"maxFailedItemsPerBatch": 0,
"base64EncodeKeys": false,
"configuration": {}
},
"fieldMappings": [],
"outputFieldMappings": [
{
"sourceFieldName": "/document/translated_text",
"targetFieldName": "translated_text",
"mappingFunction": null
},
{
"sourceFieldName": "/document/language",
"targetFieldName": "language",
"mappingFunction": null
},
{
"sourceFieldName": "/document/keyphrases",
"targetFieldName": "keyphrases",
"mappingFunction": null
},
{
"sourceFieldName": "/document/txt_vector",
"targetFieldName": "txt_vector",
"mappingFunction": null
}
],
"cache": null,
"encryptionKey": null
}