[Bug] dataprep/retriever uses different environment variables for different DB backend #1239
Open
2 of 7 tasks
Labels
bug
Something isn't working
Priority
Undecided
OS type
Ubuntu
Hardware type
Xeon-GNR
Installation method
Deploy method
Running nodes
Single Node
What's the version?
1.2
Description
Currently, for the following common settings, the dataprep/retriever are using different environment variable names for different backend, we should unify them to use the same environment variable to minimize the end user's configuration confusion:
TEI_ENDPOINT
, some are usingTEI_EMBEDDING_ENDPOINT
. Suggest to useTEI_EMBEDDING_ENDPOINT
EMBED_MODEL
, some are usingLOCAL_EMBEDDING_MODEL
. Suggest to useEMBED_MODEL
While doing the change, we should also keep backward compatibility to make sure old version of config can work with new service, while the new environment names should take precedence: i.e.
Reproduce steps
n/a
Raw log
Attachments
No response
The text was updated successfully, but these errors were encountered: