怎么自定义嵌入模型? #5663
Replies: 4 comments 18 replies
-
尝试去掉配置中的双引号 |
Beta Was this translation helpful? Give feedback.
-
去掉双引号后再次尝试,报错如下: embeddingChunks error { 我猜测是不是gemini的text-embedding-004模型是收费的缘故。但是为什么信息里又提到“provider":"openai",关openai什么事? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
+1 希望能使用谷歌的嵌入模型 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
我想使用gemini的嵌入模型。我在env文件里添加了一条:DEFAULT_FILES_CONFIG="embedding_model=gemini/text-embedding-004"。但是没有生效,分块向量化文档的时候仍然用的是openai的Text Embedding 3 Smal。是我的设置不对吗?
Beta Was this translation helpful? Give feedback.
All reactions