Skip to content

Commit c15d486

Browse files
Update tutorial-rag-build-solution-pipeline.md
Section: Create a skillset Site: https://learn.microsoft.com/en-us/azure/search/tutorial-rag-build-solution-pipeline?source=docs#create-a-skillset Proposed change: * Edit the AzureOpenAIEmbeddingSkill dimension to 1024. Reason: * The SearchField (text_vector) and the AzureOpenAIEmbeddingSkill dimension must match, else, an error will be raised, Error: here's a mismatch in vector dimensions. The vector field 'text_vector'_ with dimension of '1024' expects a length of '1024'. However the provided vector has a length of '1536'. Please ensure that the vector length matches the expected length of the vector field. Read the following documentation for more details: https://learn.microsoft.com/en-us/azure/search/vector-search-how-to-configure-compression-storage.' 'https://go.microsoft.com/fwlink/?linkid=2113719'
1 parent 7840f69 commit c15d486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/search/tutorial-rag-build-solution-pipeline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ embedding_skill = AzureOpenAIEmbeddingSkill(
196196
resource_url=AZURE_OPENAI_ACCOUNT,
197197
deployment_name="text-embedding-3-large",
198198
model_name="text-embedding-3-large",
199-
dimensions=1536,
199+
dimensions=1024,
200200
inputs=[
201201
InputFieldMappingEntry(name="text", source="/document/pages/*"),
202202
],

0 commit comments

Comments
 (0)