Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Content-Type Header for Pinecone API Integration #463

Closed
arpagon opened this issue Dec 18, 2023 · 0 comments
Closed

Add Content-Type Header for Pinecone API Integration #463

arpagon opened this issue Dec 18, 2023 · 0 comments

Comments

@arpagon
Copy link
Contributor

arpagon commented Dec 18, 2023

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 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.

arpagon added a commit to ArtisanLabs/vocode-python that referenced this issue Dec 18, 2023
@arpagon arpagon closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2023
ajar98 pushed a commit that referenced this issue Dec 29, 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant