-
Notifications
You must be signed in to change notification settings - Fork 45
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
Hydra config #289
Hydra config #289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the failing tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small changes requested, in addition to Eyob's comments.
Also please run make format
.
|
||
return self.add_citations(generated, resources) | ||
|
||
def add_citations(self, generated: str, resources: list[dict]) -> ValidationResult: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I agree.
@20001LastOrder I notice the logic around team_id and user_id it is in a few functions that it shouldn't be in. For example SherpaOpenAI. I am thinking a class like SherpaOpenAI should accept a "unique user ID" as a parameter for token usage tracking, but it shouldn't know about Slack, team IDs, user IDs. wdyt? To me this feels like another issue needing some refactoring. |
Improve naming. Handle empty and None string parameters. Use sets instead of lists to make code easier to understand. Make tests comprehensive.
7625b02
to
23436c3
Compare
OK. I'll make an issue out of it. |
Description
Add ability to configure any agent with
hydra
, includes:Also had a temporary fix for the GitHub readme extractor failure so now we have a clean test run.
Will create a separate PR for documentation on how to configure the agents.
Your checklist for this pull request
Thank you for submitting a pull request! To speed up the review process, please follow this checklist:
make format
)/docs
)pytest tests
(offline mode)Additional steps for code with networking dependencies:
pytest tests --external_api
(online mode, making network calls)