[#262] Choose a model and prompt using evals#306
Merged
taichan03 merged 18 commits intoCodeForPhilly:listOfMedfrom Jul 25, 2025
Merged
[#262] Choose a model and prompt using evals#306taichan03 merged 18 commits intoCodeForPhilly:listOfMedfrom
taichan03 merged 18 commits intoCodeForPhilly:listOfMedfrom
Conversation
sahilds1
commented
Jun 19, 2025
server/api/views/uploadFile/title.py
Outdated
| import fitz | ||
|
|
||
| from server.api.services.openai_services import openAIServices | ||
| from ...services.openai_services import openAIServices |
… and improved defaults evaluation/evals.py: Removed unused Reference column from input requirements and function signature. Added TODOs to improve flexibility and support defaults for instructions. Suggested running the script with uv for dependency management. llm_services.py: Refactored GPT41NanoHandler: Moved long prompt instructions into a class-level INSTRUCTIONS string. Simplified and cleaned up the handle_request method. Added default fallback behavior: uses INSTRUCTIONS if no query is provided. Removed duplicate and commented-out prompt scaffolding.
…ude API client code from service module.
…o include environment setup and dependencies
…error handling, column validation, and batch processing
…'Contributing' section
…nd clarify external tools
taichan03
approved these changes
Jul 25, 2025
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR supports choosing a model and prompt for med rules extractions per #262