You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in the Vocode library, when making requests to the Pinecone API, the Content-Type header is not explicitly set. This can lead to issues since Pinecone API expects the content type to be application/json. Not setting this header can cause the API to not function as expected.
Suggested Enhancement
It would be beneficial to add a default header for all requests made to the Pinecone API within the Vocode library. Specifically, the header should include 'Content-Type': 'application/json'. This change will ensure proper handling of the requests by the Pinecone API.
The text was updated successfully, but these errors were encountered:
arpagon
added a commit
to ArtisanLabs/vocode-python
that referenced
this issue
Dec 18, 2023
…Application for RAG in Vocode OpenSource (#464)
* Add Pinecone vector database configuration
* Add RAG documentation and remove vectordb
documentation
* ADD colab Link
* working version manual_pinecone_ingestor
* Revert the changes in /apps/client_backend/main.py with the aim of creating a new app in /apps/rag/
* Fix issue #463: Add Content-Type Header for Pinecone API Integration
* Add environment files and Docker configuration
* Rename rag to voice-rag app
* revert pinecone.py Refactor code and update dependencies
* Working Version
* Update pinecone ingestor script
* Add voice_rag application files
* Update Dockerfile and README.md in voice_rag app
* Fix missing newline at end of file
Issue Description
Currently, in the Vocode library, when making requests to the Pinecone API, the
Content-Type
header is not explicitly set. This can lead to issues since Pinecone API expects the content type to beapplication/json
. Not setting this header can cause the API to not function as expected.Suggested Enhancement
It would be beneficial to add a default header for all requests made to the Pinecone API within the Vocode library. Specifically, the header should include
'Content-Type': 'application/json'
. This change will ensure proper handling of the requests by the Pinecone API.The text was updated successfully, but these errors were encountered: