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.49k stars 4.69k forks source link

用DOCKER-ReRank 接入(私有部署) 不能用 #1248

Closed cq134cq closed 6 months ago

cq134cq commented 6 months ago

541AFC90-237F-4028-8E6C-FA7F229F5BE0 例行检查

你的版本 4.7

预期结果

相关截图 D7B0C2DB-86ED-48c2-85D6-5A47AA0AC46F 27755FE2-CBCE-4803-BF2A-639F211021B7 6402C21E-9501-4885-A9E4-9C120D8CB39E

boleyn commented 6 months ago

确定不是你自己的key不对?我这边就可以用啊,最新版本的

c121914yu commented 6 months ago

看着 key 不对

cq134cq commented 6 months ago

版本

请问这个KEY在那里看的到

cq134cq commented 6 months ago

确定不是你自己的key不对?我这边就可以用啊,最新版本的

"requestAuth": "安全凭证,已自动补 Bearer"这个在那里找?

c121914yu commented 6 months ago

确定不是你自己的key不对?我这边就可以用啊,最新版本的

"requestAuth": "安全凭证,已自动补 Bearer"这个在那里找?

部署时候自己填的。

cq134cq commented 6 months ago

确定不是你自己的key不对?我这边就可以用啊,最新版本的

"requestAuth": "安全凭证,已自动补 Bearer"这个在那里找?

部署时候自己填的。 部署时没有KEY docker run -d --name reranker -p 6006:6006 -e ACCESS_TOKEN=mytoken --gpus all registry.cn-hangzhou.aliyuncs.com/fastgpt/bge-rerank-base:v0.1

c121914yu commented 6 months ago

确定不是你自己的key不对?我这边就可以用啊,最新版本的

"requestAuth": "安全凭证,已自动补 Bearer"这个在那里找?

部署时候自己填的。 部署时没有KEY docker run -d --name reranker -p 6006:6006 -e ACCESS_TOKEN=mytoken --gpus all registry.cn-hangzhou.aliyuncs.com/fastgpt/bge-rerank-base:v0.1

😅你自己都列出来了,mytoken,建议仔细看文档

cq134cq commented 6 months ago

确定不是你自己的key不对?我这边就可以用啊,最新版本的

"requestAuth": "安全凭证,已自动补 Bearer"这个在那里找?

部署时候自己填的。 部署时没有KEY docker run -d --name reranker -p 6006:6006 -e ACCESS_TOKEN=mytoken --gpus all registry.cn-hangzhou.aliyuncs.com/fastgpt/bge-rerank-base:v0.1

😅你自己都列出来了,mytoken,建议仔细看文档

谢谢

cq134cq commented 6 months ago

确定不是你自己的key不对?我这边就可以用啊,最新版本的

"requestAuth": "安全凭证,已自动补 Bearer"这个在那里找?

部署时候自己填的。 部署时没有KEY docker run -d --name reranker -p 6006:6006 -e ACCESS_TOKEN=mytoken --gpus all registry.cn-hangzhou.aliyuncs.com/fastgpt/bge-rerank-base:v0.1

😅你自己都列出来了,mytoken,建议仔细看文档

rerank error: AxiosError: timeout of 30000ms exceeded at RedirectableRequest.handleRequestTimeout (file:///app/node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/adapters/http.js:647:16) at RedirectableRequest.emit (node:events:514:28) at Timeout. (/app/node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/index.js:210:12) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) at Axios.request (file:///app/node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/Axios.js:45:41) at async q (/app/projects/app/.next/server/chunks/59120.js:85:3465) at async g (/app/projects/app/.next/server/chunks/59120.js:86:957) at async /app/projects/app/.next/server/pages/api/core/dataset/searchTest.js:1:2983 { code: 'ECONNABORTED', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 30000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: Object [AxiosHeaders] { Accept: 'application/json, text/plain, /', 'Content-Type': 'application/json', 'Cache-Control': 'no-cache', Authorization: 'Bearer mytoken', 'User-Agent': 'axios/1.6.8', 'Content-Length': '61742', 'Accept-Encoding': 'gzip, compress, deflate, br' }, baseURL: 'http://2a1826918fd7:3000', url: 'http://10.0.100.190:6006/v1/rerank', method: 'post', 请问这个是时间太短?

xiaoToby commented 4 months ago

确定不是你自己的key不对?我这边就可以用啊,最新版本的

"requestAuth": "安全凭证,已自动补 Bearer"这个在那里找?

部署时候自己填的。 部署时没有KEY docker run -d --name reranker -p 6006:6006 -e ACCESS_TOKEN=mytoken --gpus all registry.cn-hangzhou.aliyuncs.com/fastgpt/bge-rerank-base:v0.1

😅你自己都列出来了,mytoken,建议仔细看文档

rerank error: AxiosError: timeout of 30000ms exceeded at RedirectableRequest.handleRequestTimeout (file:///app/node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/adapters/http.js:647:16) at RedirectableRequest.emit (node:events:514:28) at Timeout. (/app/node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/index.js:210:12) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) at Axios.request (file:///app/node_modules/.pnpm/axios@1.6.8/nodemodules/axios/lib/core/Axios.js:45:41) at async q (/app/projects/app/.next/server/chunks/59120.js:85:3465) at async g (/app/projects/app/.next/server/chunks/59120.js:86:957) at async /app/projects/app/.next/server/pages/api/core/dataset/searchTest.js:1:2983 { code: 'ECONNABORTED', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 30000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: Object [AxiosHeaders] { Accept: 'application/json, text/plain, /_', 'Content-Type': 'application/json', 'Cache-Control': 'no-cache', Authorization: 'Bearer mytoken', 'User-Agent': 'axios/1.6.8', 'Content-Length': '61742', 'Accept-Encoding': 'gzip, compress, deflate, br' }, baseURL: 'http://2a1826918fd7:3000', url: 'http://10.0.100.190:6006/v1/rerank', method: 'post', 请问这个是时间太短?

@c121914yu 也是报的rerank error: AxiosError: timeout of 30000ms exceeded