Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
I'm encountering an error while trying to use the WebsiteSearchTool with Gemini Pro as the LLM. The error message is:
"Embedding dimension 768 does not match collection dimensionality 1536. This is commonly a side-effect when an embedding function, different from the one used to add the embeddings, is used to retrieve an embedding from the database."
To resolve this, I tried changing the embedding model to "models/text-embedding-004", but the same error persists. Here's my current configuration:
I'm unsure why the error mentions 768 dimensions when I'm using "models/text-embedding-004", which should produce 1024-dimensional embeddings.
Questions:
Is there a compatibility issue between Gemini Pro and the current embedding setup in WebsiteSearchTool?
Are there any known issues or additional configurations needed when using Google's embedding models with this tool?
How can I ensure that the correct embedding model is being used and properly recognized by the tool?
Any guidance on resolving this dimension mismatch would be greatly appreciated. Thank you!
I'm encountering an error while trying to use the WebsiteSearchTool with Gemini Pro as the LLM. The error message is:
"Embedding dimension 768 does not match collection dimensionality 1536. This is commonly a side-effect when an embedding function, different from the one used to add the embeddings, is used to retrieve an embedding from the database."
To resolve this, I tried changing the embedding model to "models/text-embedding-004", but the same error persists. Here's my current configuration:
I'm unsure why the error mentions 768 dimensions when I'm using "models/text-embedding-004", which should produce 1024-dimensional embeddings.
Questions:
Is there a compatibility issue between Gemini Pro and the current embedding setup in WebsiteSearchTool? Are there any known issues or additional configurations needed when using Google's embedding models with this tool? How can I ensure that the correct embedding model is being used and properly recognized by the tool? Any guidance on resolving this dimension mismatch would be greatly appreciated. Thank you!