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

Support kwargs in LLM requests #11

Draft
wants to merge 14 commits into
base: dev
Choose a base branch
from
Draft

Conversation

NeonDaniel
Copy link
Member

@NeonDaniel NeonDaniel commented Dec 12, 2024

Description

Adds support for parsing LLMResponse inputs
Adds test coverage for NeonLLM base class

Issues

Other Notes

This needs to be rebased on dev after merging #9

Outline unit tests with automation
Add test extra dependencies
Add tests of MQ request/response handling in `chatbot` module
Update `chatbot` module to use Pydantic models in place of `dict` objects for MQ message validation
…ser`

Refactor `chatbot` methods to safely handle missing context
Include `routing_key` in LLM responses to associate inputs/responses
Update tests to reference constant strings for more specific testing
Update docstrings and type annotations
Add `query_model` method to accept an `LLMRequest` and return an `LLMResponse`
Add unit test coverage for `NeonLLM`
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

Successfully merging this pull request may close these issues.

1 participant