怎么自定义嵌入模型? #5663
Unanswered
qinguoluo
asked this question in
General Question | 普通问题
怎么自定义嵌入模型?
#5663
Replies: 2 comments 5 replies
-
尝试去掉配置中的双引号 |
Beta Was this translation helpful? Give feedback.
0 replies
-
去掉双引号后再次尝试,报错如下: embeddingChunks error { 我猜测是不是gemini的text-embedding-004模型是收费的缘故。但是为什么信息里又提到“provider":"openai",关openai什么事? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我想使用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