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

Add session ID to llm request metadata #35

Closed nsbradford closed 1 year ago

nsbradford commented 1 year ago

Get sessionId from the frontend in index.tsx and pass it through sendLLMRequest in api.ts. Add metadata to llm endpoint in main.py and pass to llm.py - you might have to edit models.py accordingly.

ellipsis-dev[bot] commented 1 year ago

Sorry, BitBuilder couldn't generate a pull request for you. Please try again later. (wflow_isYo7vPL7sg6VzmE) :robot: