Add sessionId to the frontendThe changes in the file '/ui/pages/index.tsx' correctly implement the addition of sessionId to the sendLLMRequest function call in the handleNewUserPrompt function.
2
✅
Modify sendLLMRequest functionThe changes in the file '/ui/shared/api.ts' correctly implement the addition of sessionId to the request payload in the sendLLMRequest function.
3
✅
Modify LLMChatCompletionRequest modelThe changes in the file '/backend/models.py' correctly implement the addition of sessionId as a new field in the LLMChatCompletionRequest model.
4
✅
Modify llm endpoint in main.pyThe changes in the file '/backend/main.py' correctly implement the extraction of sessionId from the request payload in the llm endpoint.
5
✅
Modify llm_get function in llm.pyThe changes in the file '/backend/llm.py' correctly implement the addition of sessionId as a parameter and in the metadata of the acompletion function call in the llm_get function.
Something look wrong?: If this Pull Request doesn't contain the expected changes, add more information to #22. Then, add the bitbuilder:create label to try again. For more information, check the documentation.
Summary:
Issue: https://github.com/nsbradford/SemanticSearch/issues/22
This pull request does ...
Implementation:
Add sessionId to the frontend
The changes in the file '/ui/pages/index.tsx' correctly implement the addition of sessionId to the sendLLMRequest function call in the handleNewUserPrompt function.Modify sendLLMRequest function
The changes in the file '/ui/shared/api.ts' correctly implement the addition of sessionId to the request payload in the sendLLMRequest function.Modify LLMChatCompletionRequest model
The changes in the file '/backend/models.py' correctly implement the addition of sessionId as a new field in the LLMChatCompletionRequest model.Modify llm endpoint in main.py
The changes in the file '/backend/main.py' correctly implement the extraction of sessionId from the request payload in the llm endpoint.Modify llm_get function in llm.py
The changes in the file '/backend/llm.py' correctly implement the addition of sessionId as a parameter and in the metadata of the acompletion function call in the llm_get function.Something look wrong?: If this Pull Request doesn't contain the expected changes, add more information to #22. Then, add the
bitbuilder:create
label to try again. For more information, check the documentation.Generated with :heart: by www.bitbuilder.ai