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]: Llama Index model throws Connection error when queried #9366

Open
martyna-mindsdb opened this issue Jun 18, 2024 · 0 comments
Open

[Bug]: Llama Index model throws Connection error when queried #9366

martyna-mindsdb opened this issue Jun 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@martyna-mindsdb
Copy link
Contributor

Short description of current behavior

Created Llama Index model in conversational mode:

CREATE ML_ENGINE llama_index_engine2 FROM llama_index;

  CREATE MODEL chatbot_agent_2_test
    PREDICT answer
    USING
    engine = 'llama_index_engine2',
    input_column = 'question',
    openai_api_key='xxx',
    mode = 'conversational',
    user_column = 'question' ,
    assistant_column = 'answer';

Querying the model:

SELECT question, answer
FROM chatbot_agent_2_test
WHERE question='how are you?';

This model throws an error when querying it:
image

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 Jun 18, 2024
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

2 participants