-
Notifications
You must be signed in to change notification settings - Fork 17
Updated the SDK Operations for Agents #200
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
Conversation
Review Summary🏷️ Draft Comments (4)
|
|
Hey @ea-rus, If we allow dicts, should we represent them as objects in the I wanted to confirm this before I complete this PR. |
Review Summary🏷️ Draft Comments (2)
|
Review Summary🏷️ Draft Comments (1)
|
Review Summary🏷️ Draft Comments (2)
|
mindsdb_sdk/agents.py
Outdated
| api_key_params = {k: v for k, v in training_options_using.items() if 'api_key' in k} | ||
| kb = self.knowledge_bases.create(name, params=api_key_params) | ||
| else: | ||
| # TODO: Use the agent's model credentials? |
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.
yes, it is a question: how to set up embedding model parameters.
maybe to add option to update config (default embedding model via SDK?)
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.
Yes, that's a great idea, @ea-rus. Let me add that in.
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.
Review Summary🏷️ Draft Comments (2)
|
This PR updates the SDK operations for agents based on the new syntax supported via SQL.
Fixes https://linear.app/mindsdb/issue/RES-119/agents-into-python-sdk
Depends on mindsdb/mindsdb#11255