labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.95k stars 4.78k forks source link

添加embeddings后无法生成知识库 #201

Closed taurusduan closed 1 year ago

taurusduan commented 1 year ago

我安装fastgpt给出的实例,替换了embeddings: { "FeConfig": { "show_emptyChat": true, "show_register": false, "show_appStore": false, "show_userDetail": false, "show_git": true, "systemTitle": "FastGPT", "authorText": "Made by FastGPT Team.", "gitLoginKey": "" }, "SystemParams": { "gitLoginSecret": "", "vectorMaxProcess": 15, "qaMaxProcess": 15, "pgIvfflatProbe": 20 }, "plugins": {}, "ChatModels": [ { "model": "gpt-3.5-turbo", "name": "GPT35-4k", "contextMaxToken": 4000, "quoteMaxToken": 2000, "maxTemperature": 1.2, "price": 0, "defaultSystem": "" }, { "model": "gpt-3.5-turbo-16k", "name": "GPT35-16k", "contextMaxToken": 16000, "quoteMaxToken": 8000, "maxTemperature": 1.2, "price": 0, "defaultSystem": "" }, { "model": "gpt-4", "name": "GPT4-8k", "contextMaxToken": 8000, "quoteMaxToken": 4000, "maxTemperature": 1.2, "price": 0, "defaultSystem": "" } ], "QAModels": [ { "model": "gpt-3.5-turbo-16k", "name": "GPT35-16k", "maxToken": 16000, "price": 0 } ], "VectorModels": [ { "model": "embeddings", "name": "Embedding-2", "price": 0 } ] }

c121914yu commented 1 year ago

这是什么向量模型?

taurusduan commented 1 year ago

这是什么工作模型?

开源LLM https://github.com/josStorer/RWKV-Runner 兼容gpt的模型,接入fastgpt后,可以正常对话。但是使用embeddings生成数据库的时候就卡住了。不知道是不是还要修改知识库这边的配置。谢谢啊。

c121914yu commented 1 year ago

要纬度统一

taurusduan commented 1 year ago

要纬度统一

大哥,请教一下在哪里修改纬度啊,谢谢啊

c121914yu commented 1 year ago

已支持自定义向量模型,参考最新发行版说明:https://github.com/labring/FastGPT/releases/tag/v4.2.1