Replies: 2 comments
-
Are you using Azure for embeddings? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes I do ... I have set the following RAG_AZURE_OPENAI_ENDPOINT=https://$%$%$.openai.azure.com |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
upgraded to the newest Librechat version and now it gives me with lite version of the RAG API Image the following Error. It worked before.
EMBEDDINGS_PROVIDER, EMBEDDINGS_MODEL is defined. I sadly do not know what he is expecting with the Version and where to put the version number.
Any hints ?
Greetings
Erik
rag_api-1 | Traceback (most recent call last):
rag_api-1 | File "/app/main.py", line 46, in
rag_api-1 | from psql import PSQLDatabase, ensure_custom_id_index_on_embedding, pg_health_check
rag_api-1 | File "/app/psql.py", line 3, in
rag_api-1 | from config import DSN, logger
rag_api-1 | File "/app/config.py", line 252, in
rag_api-1 | embeddings = init_embeddings(EMBEDDINGS_PROVIDER, EMBEDDINGS_MODEL)
rag_api-1 | File "/app/config.py", line 189, in init_embeddings
rag_api-1 | return AzureOpenAIEmbeddings(
rag_api-1 | File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 212, in init
rag_api-1 | validated_self = self.pydantic_validator.validate_python(data, self_instance=self)
rag_api-1 | pydantic_core._pydantic_core.ValidationError: 1 validation error for AzureOpenAIEmbeddings
rag_api-1 | Value error, Must provide either the
api_version
argument or theOPENAI_API_VERSION
environment variable [type=value_error, input_value={'azure_deployment': 'tex...one, 'model_kwargs': {}}, input_type=dict]rag_api-1 | For further information visit https://errors.pydantic.dev/2.9/v/value_error
Beta Was this translation helpful? Give feedback.
All reactions