-
Notifications
You must be signed in to change notification settings - Fork 749
Implement support to BatchAPIs to gather evidence #687
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
Closed
Closed
Changes from 9 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
2385dce
Implements OpenAIBatchLLMModel
maykcaldas 8a21055
Incorporates OpenAIBatchLLMModel to get_evidence
maykcaldas 5f59681
Merge branch 'main' into batch_api
maykcaldas 6f7bbb5
Merge branch 'main' into batch_api
maykcaldas e8dc0d0
Started anthropic batch api support implementation
maykcaldas 899de43
Removed the skip_system argument from the new classes and tests to ma…
maykcaldas 16c3988
Switched to async OpenAI client
maykcaldas d10a268
Added logging to the batch processing
maykcaldas 0fe9aa1
Created mock server to test openAI batch API
maykcaldas a9ad540
Implemented batch support to Anthropic
maykcaldas 9a0a6c4
Merge branch 'main' into batch_api
maykcaldas 723650d
Updated uv.lock to include imports for the batch API
maykcaldas 660bfa0
Implements tests with a mocked server for anthropic
maykcaldas 977a025
Added type hints to satisfy the pre-commit
maykcaldas ee351f2
Merge branch 'main' into batch_api
maykcaldas 293658a
Updates uv on github actions to include extra requirements
maykcaldas 1ad1c7c
Removed the --all-extras flag from uv in github workflow
maykcaldas af32005
Refactored OpenAiBatchStatus and AnthropicBatchStatus to make the cod…
maykcaldas 63e4b39
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] f61e629
Merge branch 'main' into batch_api
maykcaldas d7dbd72
Cleaned unneeded comments
maykcaldas 7c37f6d
Updated the way the system message is passed to anthropic
maykcaldas de18907
changed how the file is passed to openai
maykcaldas 3e72bd4
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] 7c7f4b8
Avoided writing to a file when sending the batch to openAi
maykcaldas 6c8f186
Skipped writing a file. Instead, the content is directly passed to th…
maykcaldas 0e43a7c
Merge branch 'main' into batch_api
maykcaldas 17c26eb
Fixed lint error
maykcaldas c258306
Updated the batch time limit settings name
maykcaldas 4b8e1c3
Removed type hints from docstrings in gather_with_batch
maykcaldas 8b5c1fa
Added exception in map_fxn_summary to treat multiple reponses
maykcaldas ab40b54
Added a description explaining the llm_type attribute
maykcaldas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.