Skip to content

Can not show all model and remove model #175

@BsoBird

Description

@BsoBird

duckdb:1.3.2

create model {
'Test01Model12',
'xxx',
'xxx',
{"tuple_format": "json", "batch_size": "32", "model_parameters": {"temperature": "1.0"}}
}; -- okay, can success

GET MODELS;
--Invalid Error: Expected non-empty string literal for model name.

GET MODEL 'Test01Model12';
--Invalid Error: Unexpected characters after the model name. Only a semicolon is allowed.

GET MODEL Test01Model12
--Invalid Error: Expected non-empty string literal for model name.

DELETE MODEL "Test01Model12"
--Invalid Error: Expected non-empty string literal for model name.

DELETE MODEL Test01Model12
--Invalid Error: Expected non-empty string literal for model name.

DELETE MODEL 'Test01Model12'
--Invalid Error: Unexpected characters after the closing parenthesis. Only a semicolon is allowed.

SELECT llm_complete(
{'model_name': 'Test01Model12'},
{'prompt': 'Talk like a duck 🦆 and explain what a database is 📚'}
);
--Invalid Error: [json.exception.type_error.302] type must be string, but is null

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions