nsbradford / SemanticSearch

Minimal RAG (Retrieval Augmented Generation) website with Pinecone, FastAPI, NextJS, MongoDB
https://semantic-search-six.vercel.app
9 stars 3 forks source link

[BitBuilder] Add session ID to llm request metadata #19

Closed ellipsis-dev[bot] closed 1 year ago

ellipsis-dev[bot] commented 1 year ago

Summary:

Issue: https://github.com/nsbradford/SemanticSearch/issues/18

This pull request does ...

Implementation:

Plan Feedback: Approved by @nsbradford Report: Step Result Details
1
Add session ID to llm request metadataThe changes in the llm.py file correctly add the session_id to the metadata dictionary in the llm_get function. The function signature has also been correctly modified to accept an additional parameter for the session ID.
2
Modify frontend to pass session IDThe changes in the index.tsx file correctly modify the sendLLMRequest function to include the session ID in the request. The session ID is correctly retrieved using the getSessionId function and passed as an additional parameter to the sendLLMRequest function.

Something look wrong?: If this Pull Request doesn't contain the expected changes, add more information to #18. Then, add the bitbuilder:create label to try again. For more information, check the documentation.

Generated with :heart: by www.bitbuilder.ai

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
semantic-search-mini ❌ Failed (Inspect) Sep 24, 2023 6:36pm