wwbin2017 / bailing

百聆 是一个类似GPT-4o的语音对话机器人,通过ASR+LLM+TTS实现,时延低至800ms,低配置也可运行,支持打断
MIT License
33 stars 7 forks source link

配置文件开启了Rag,就无法正常启动了。 #7

Open smalldeer1982 opened 4 days ago

smalldeer1982 commented 4 days ago

配置文件中保留了Rag的配置 Rag: doc_path: documents/ emb_model: BAAI/bge-small-zh-v1.5 model_name: deepseek-chat url: https://api.deepseek.com api_key: sk-11111111111111111

运行python main.py,最后提示

2024-11-01 15:57:58,094 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /BAAI/bge-small-zh-v1.5/resolve/main/config.json HTTP/1.1" 200 0 2024-11-01 15:57:58,801 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /BAAI/bge-small-zh-v1.5/resolve/main/tokenizer_config.json HTTP/1.1" 200 0 2024-11-01 15:57:59,151 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/BAAI/bge-small-zh-v1.5/revision/main HTTP/1.1" 200 1940 2024-11-01 15:57:59,461 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/BAAI/bge-small-zh-v1.5 HTTP/1.1" 200 1940 2024-11-01 15:57:59,495 - chromadb.telemetry.product.posthog - INFO - Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information. 2024-11-01 15:57:59,646 - chromadb.config - DEBUG - Starting component System 2024-11-01 15:57:59,646 - chromadb.config - DEBUG - Starting component Posthog 2024-11-01 15:57:59,646 - chromadb.config - DEBUG - Starting component OpenTelemetryClient 2024-11-01 15:57:59,646 - chromadb.config - DEBUG - Starting component SqliteDB 2024-11-01 15:57:59,657 - chromadb.config - DEBUG - Starting component SimpleQuotaEnforcer 2024-11-01 15:57:59,657 - chromadb.config - DEBUG - Starting component SimpleRateLimitEnforcer 2024-11-01 15:57:59,658 - chromadb.config - DEBUG - Starting component LocalSegmentManager 2024-11-01 15:57:59,658 - chromadb.config - DEBUG - Starting component LocalExecutor 2024-11-01 15:57:59,658 - chromadb.config - DEBUG - Starting component SegmentAPI 2024-11-01 15:57:59,685 - chromadb.config - DEBUG - Starting component LocalHnswSegment (chattts) D:\ChatGpt111\bailing-main>

直接停止运行了。

如果我把Rag注释掉,就可以正常运行了。请教

hjxbin commented 4 days ago

您发的邮件我已收到,谢谢您!!!