-
Notifications
You must be signed in to change notification settings - Fork 60
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
tools deprecation and new format support #89
Conversation
from typing import ClassVar, Dict, Any | ||
|
||
try: | ||
import arxiv |
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.
If we use this tool will it work or explicitly we will have to run the install command? @tarun-aiplanet
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.
we will have to run install command
|
||
class ExaSearch(BaseAction): | ||
class ConfigurableAction(BaseAction): |
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.
@tarun-aiplanet why are we redefining the ConfigurableAction class?
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.
we need this for configuring the api keys and other user defined params right?
except ImportError: | ||
raise OpenAGIException("Install googlesearch-python with cmd `pip install googlesearch-python`") | ||
|
||
class ConfigurableAction(BaseAction): |
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.
Define it separately and use import in all the places. @tarun-aiplanet
No description provided.