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

[Bug]: Skill type for agents incorrect error #9079

Closed
martyna-mindsdb opened this issue Apr 15, 2024 · 1 comment
Closed

[Bug]: Skill type for agents incorrect error #9079

martyna-mindsdb opened this issue Apr 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@martyna-mindsdb
Copy link
Contributor

Short description of current behavior

Created a skill:

CREATE SKILL my_skill
USING
    type = 'text_to_sql',
    database = 'example_db',
    tables = ['car_sales'],
    description = 'car sales data of different car types';

Assigned a skill to an agent:

CREATE AGENT my_agent
USING
    model = 'my_conv_model',
    skills = ['my_skill'];

Getting this error when querying an agent:

SELECT *
FROM my_agent
WHERE question = 'what is the average price of cars from 2018?';
[langchain_engine3/my_conv_model]: NotImplementedError: skill of type text_to_sql is not supported as a tool, supported types are: ['TEXT2SQL', 'KNOWLEDGE_BASE', 'RETRIEVAL']

Tried changing a skill type to TEXT2SQL, bu the error repeated.

Video or screenshots

No response

Expected behavior

No response

How to reproduce the error

No response

Anything else?

No response

@martyna-mindsdb martyna-mindsdb added the bug Something isn't working label Apr 15, 2024
@martyna-mindsdb martyna-mindsdb self-assigned this Apr 15, 2024
@martyna-mindsdb
Copy link
Contributor Author

martyna-mindsdb commented Apr 15, 2024

Skill types to be updated to text2sql, knowledge-base, retrieval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant