feat:doubao-vision-lite 不思考的多模态模型
This commit is contained in:
@@ -49,6 +49,11 @@ ai_configs = {
|
|||||||
'url': 'https://ark.cn-beijing.volces.com/api/v3/chat/completions',
|
'url': 'https://ark.cn-beijing.volces.com/api/v3/chat/completions',
|
||||||
'key': env.llm_key_huoshan,
|
'key': env.llm_key_huoshan,
|
||||||
},
|
},
|
||||||
|
'doubao-vision-lite': {
|
||||||
|
'model': 'doubao-1.5-vision-lite-250315',
|
||||||
|
'url': 'https://ark.cn-beijing.volces.com/api/v3/chat/completions',
|
||||||
|
'key': env.llm_key_huoshan,
|
||||||
|
},
|
||||||
|
|
||||||
'huoshan-embedding-240715': {
|
'huoshan-embedding-240715': {
|
||||||
"model": 'doubao-embedding-text-240715',
|
"model": 'doubao-embedding-text-240715',
|
||||||
|
|||||||
+2
-2
@@ -89,9 +89,9 @@ add_routes(
|
|||||||
|
|
||||||
add_routes(
|
add_routes(
|
||||||
app=app,
|
app=app,
|
||||||
runnable=RunnableLambda(lambda x: x['messages']) | create_llm("huoshan-doubao-seed") | StrOutputParser(),
|
runnable=RunnableLambda(lambda x: x['messages']) | create_llm("doubao-vision-lite") | StrOutputParser(),
|
||||||
input_type=ModelInputSchema,
|
input_type=ModelInputSchema,
|
||||||
path="/huoshan-doubao-seed"
|
path="/doubao-vision-lite"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_async_route(
|
add_async_route(
|
||||||
|
|||||||
Reference in New Issue
Block a user