-
Notifications
You must be signed in to change notification settings - Fork 195
Description
Describe the bug
CALL DBMS_AI_SERVICE.CREATE_AI_MODEL( 'bge-reranker-v2-m3', '{"type":"rerank","model_name":"BAAI/bge-reranker-v2-m3"}' )
call DBMS_AI_SERVICE.CREATE_AI_MODEL_ENDPOINT( 'rerank_endpoint_1', '{"ai_model_name":"bge-reranker-v2-m3","scope":"all","url":"https://api.siliconflow.cn/v1/rerank","access_key":"******", "provider":"openai"}' )
SELECT AI_RERANK("BAAI/bge-reranker-v2-m3","Apple",'["apple","banana","fruit","vegetable"]');
When a model conforms to the OpenAI protocol, setting the provider of some models to OpenAI results in an error.
Changing "provider":"openai" to "provider":"siliconflow" will allow it to execute correctly.
Environment
-
OS Version and CPU Arch(
uname -a): -
OB Version(
LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./observer -V): -
Hardware resource(
cpu core/memory size/disk hardware):
Fast Reproduce Steps(Required)
Steps to reproduce the behavior:
as mentioned above
Expected behavior
Can be executed normally
Actual Behavior
Cannot be executed normally
Additional context
docker environment
The error message is
SQL error [1235] [0A000]: this provider current not support not supported
Metadata
Metadata
Assignees
Labels
Type
Projects
Status