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

Query embeddings from /chats/<chat>/converse api to get cosine similarity results from pinecone Index. #16

Closed
skks1212 opened this issue Apr 3, 2023 · 0 comments · Fixed by #24
Assignees
Labels

Comments

@skks1212
Copy link
Member

skks1212 commented Apr 3, 2023

Now that we have upsert and getting the embedding from prompts in place, let us send the embeddings to our Pinecone Index (specified in PINECONE_INDEX env variable) to get the cosine similarity result. Once we get that, send the data to GPT via langchain (I have little understanding of Langchain at the moment, so I will encourage you to use the docs to find out best practices), and then return the result as response.

@ishanExtreme ishanExtreme self-assigned this Apr 3, 2023
@skks1212 skks1212 changed the title Query embeddings from /chat api to get cosine similarity results from pinecone Index. Query embeddings from /chats/<chat>/converse api to get cosine similarity results from pinecone Index. Apr 5, 2023
@skks1212 skks1212 removed the blocked label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants