-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Pydantic models from
neon-data-models
(#9)
* WIP implementation of `neon_data_models` for MQ message validation * Add note to deprecate refactored import Outline unit tests with automation Add test extra dependencies * Add chatbot shutdown to unit tests to allow tests to finish * Outline `test_llm` TestCase 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 * Add test coverage for `ask_chatbot`, `ask_discusser`, and `ask_appraiser` Refactor `chatbot` methods to safely handle missing context * Refactor order-dependent test case * Define methodology for RMQ unit tests with basic initialization test case * Troubleshoot permissions error in GHA tests * Allow test fixture to select the RMQ port to troubleshoot conflicts in GHA runs * Troubleshoot permissions handling in GHA * Add RMQ unit test coverage Include `routing_key` in LLM responses to associate inputs/responses * Refactor static strings into `constants` module Update tests to reference constant strings for more specific testing * Update `neon-data-models` dependency spec
- Loading branch information
1 parent
dc55b1c
commit fd6ef5d
Showing
11 changed files
with
665 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.