Bug description
2 Issues when we try to upload the Document for knowledge base.
- The API key (hardcoded) it takes for submitting document for embedding is being retrieved from the config.yaml and document.yaml
knowledge_extractor_config: options: model_name: "text-embedding-3-large" api_key: "xxxxxxxx"
- After changing keys, it progressed further, and got error
ERROR /app/app/core/embedding/plain_embedding.py 52 embed_documents app.core.embedding.plain_embedding Error in embedding documents: module 'app.bridges.artifacts.protos.integration_api_pb2_grpc' has no attribute 'CohereServiceStub'
Expected behavior
- The key should be taken from the UI during creation of Knowledge Base.
- The uploaded document should have been successfully embedded without giving any error.
Steps to reproduce
- mac os -> docker
- make up with knowledge base
- create knowledge base, provide the API key (this key is not being considered during embedding).
- upload documents.
Rapida version
v2.3.0
Logs or traces (optional)
ERROR /app/app/core/embedding/plain_embedding.py 52 embed_documents app.core.embedding.plain_embedding Error in embedding documents: module 'app.bridges.artifacts.protos.integration_api_pb2_grpc' has no attribute 'CohereServiceStub'
Deployment type
Docker
Bug description
2 Issues when we try to upload the Document for knowledge base.
knowledge_extractor_config: options: model_name: "text-embedding-3-large" api_key: "xxxxxxxx"ERROR /app/app/core/embedding/plain_embedding.py 52 embed_documents app.core.embedding.plain_embedding Error in embedding documents: module 'app.bridges.artifacts.protos.integration_api_pb2_grpc' has no attribute 'CohereServiceStub'Expected behavior
Steps to reproduce
Rapida version
v2.3.0
Logs or traces (optional)
Deployment type
Docker