Skip to content
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

Add MindsDB SQL Support for CREATE, UPDATE, and DROP Agent #319

Merged
merged 6 commits into from
Nov 2, 2023

Conversation

tmichaeldb
Copy link
Contributor

As part of our LLM Agents design we need SQL support for creating, updating, and dropping agents.

Example Usage

Create

CREATE AGENT my_agent
USING
model = 'chatbot_agent',
skills = ['test_skill']

Update

UPDATE AGENT my_agent
SET
model = 'new_chatbot_agent',
skills_to_remove = ['test_skill'],
skills_to_add = ['production_skill']

Drop

DROP AGENT my_agent

@tmichaeldb tmichaeldb self-assigned this Nov 1, 2023
@tmichaeldb tmichaeldb added the enhancement New feature or request label Nov 1, 2023
@ea-rus
Copy link
Contributor

ea-rus commented Nov 1, 2023

Looks good.
There is one error in chatbot test, I think because 'agent' is keyword now

@tmichaeldb tmichaeldb requested review from ea-rus and dusvyat November 2, 2023 22:41
@tmichaeldb tmichaeldb merged commit 101ad93 into mindsdb:staging Nov 2, 2023
9 of 10 checks passed
@ea-rus ea-rus mentioned this pull request Nov 7, 2023
@tmichaeldb tmichaeldb linked an issue Nov 16, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MindsDB SQL Support for Agents
2 participants