Open caihengsheng opened 7 months ago
从这部分日志,没有看出问题。是否有更多的日志提供?是否有看到ERROR级别的输出?
没有其他错误信息。但对比WTFLangchain01 与 竺可桢(浙大)两个数据库, 后者似乎没有向量化,回答无法提供相关信息。是否后者7个文件太大?请见附件。
请指导!
老蔡
On Wed, Mar 20, 2024 at 8:04 PM sugarforever @.***> wrote:
从这部分日志,没有看出问题。是否有更多的日志提供?是否有看到ERROR级别的输出?
— Reply to this email directly, view it on GitHub https://github.com/sugarforever/chat-ollama/issues/113#issuecomment-2010939605, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXHCZ5IXXVMW2JZ2AXWSBD3YZIP2NAVCNFSM6AAAAABFAMYLE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQHEZTSNRQGU . You are receiving this because you authored the thread.Message ID: @.***>
-- Hengsheng Cai
chatollama | Chat with knowledge base with id: 6 chatollama | Knowledge base WTF Langchain 01 with embedding "nomic-embed-text" chatollama | Creating embeddings for Ollama served model: nomic-embed-text chatollama | Chat with OpenAI, host: chatollama | User query: 如何开始学习Langchain chromadb | INFO: [20-03-2024 19:25:20] 172.19.0.2:36822 - "POST /api/v1/collections?tenant=default_tenant&database=default_database HTTP/1.1" 200 chromadb | INFO: [20-03-2024 19:25:20] 172.19.0.2:36828 - "POST /api/v1/collections/bd2b3a8d-b4ea-472f-8779-be215e25b7eb/query HTTP/1.1" 200 chatollama | Relevant documents: [ chatollama | Document { chatollama | pageContent: '相关文档资料链接: \n1. Python Langchain官方文档 \n2. Models - Langchain', chatollama | metadata: { blobType: 'application/pdf', source: 'blob', loc: [Object] } chatollama | }, chatollama | Document { chatollama | pageContent: 'WTF Langchain极简入门: 01. Hello Langchain \n' + chatollama | '最近在学习Langchain框架,顺手写一个“WTF Langchain极简入门”,供小白们使\n' + chatollama | '用(编程大佬可以另找教程)。本教程默认以下前提: \n' + chatollama | ' 使用Python版本的Langchain \n' + chatollama | ' LLM使用OpenAI的模型 \n' + chatollama | ' Langchain目前还处于快速发展阶段,版本迭代频繁,为避免示例代码失效,本教\n' + chatollama | '程统一使用版本 0.0.235 \n' + chatollama | '根据Langchain的代码约定,Python版本 ">=3.8.1,<4.0"。 \n' + chatollama | @.*** \n' + chatollama | '所有代码和教程开源在github: github.com/sugarforever/wtf-langchain \n' + chatollama | ' \n' +
chatollama | Chat with knowledge base with id: 5 chatollama | Knowledge base 竺可桢浙大 with embedding "nomic-embed-text" chatollama | Creating embeddings for Ollama served model: nomic-embed-text chatollama | Chat with OpenAI, host: chatollama | User query: 竺可桢日记简介 chromadb | INFO: [20-03-2024 22:27:16] 172.19.0.2:46312 - "POST /api/v1/collections?tenant=default_tenant&database=default_database HTTP/1.1" 200 chromadb | INFO: [20-03-2024 22:27:16] 172.19.0.2:46322 - "POST /api/v1/collections/15d3ce01-fbee-438e-af74-644bbcaa589a/query HTTP/1.1" 200 chatollama | Relevant documents: [] chatollama | ReadableStream { locked: false, state: 'readable', supportsBYOB: false } chatollama | { message: { role: 'assistant', content: undefined } } chromadb | INFO: [20-03-2024 22:27:16] 172.19.0.2:46312 - "POST /api/v1/collections/15d3ce01-fbee-438e-af74-644bbcaa589a/query HTTP/1.1" 200 chatollama | { message: { role: 'assistant', content: undefined } } chatollama | { message: { role: 'assistant', content: '' } } chatollama | { message: { role: 'assistant', content: '不' } } chatollama | { message: { role: 'assistant', content: '了' } } chatollama | { message: { role: 'assistant', content: '解' } } chatollama | { message: { role: 'assistant', content: '竺' } } chatollama | { message: { role: 'assistant', content: '可' } } chatollama | { message: { role: 'assistant', content: '桢' } } chatollama | { message: { role: 'assistant', content: '日' } } chatollama | { message: { role: 'assistant', content: '记' } } chatollama | { message: { role: 'assistant', content: '的' } } chatollama | { message: { role: 'assistant', content: '内容' } } chatollama | { message: { role: 'assistant', content: ',' } } chatollama | { message: { role: 'assistant', content: '无' } } chatollama | { message: { role: 'assistant', content: '法' } } chatollama | { message: { role: 'assistant', content: '提' } } chatollama | { message: { role: 'assistant', content: '供' } } chatollama | { message: { role: 'assistant', content: '相关' } } chatollama | { message: { role: 'assistant', content: '信息' } } chatollama | { message: { role: 'assistant', content: '。' } } chatollama | { message: { role: 'assistant', content: '' } }
chatollama | Chat with knowledge base with id: 5 chatollama | Knowledge base 竺可桢浙大 with embedding "nomic-embed-text" chatollama | Creating embeddings for Ollama served model: nomic-embed-text chatollama | Chat with OpenAI, host: chatollama | User query: 竺可桢日记简介 chromadb | INFO: [20-03-2024 22:27:16] 172.19.0.2:46312 - "POST /api/v1/collections?tenant=default_tenant&database=default_database HTTP/1.1" 200 chromadb | INFO: [20-03-2024 22:27:16] 172.19.0.2:46322 - "POST /api/v1/collections/15d3ce01-fbee-438e-af74-644bbcaa589a/query HTTP/1.1" 200 chatollama | Relevant documents: [] chatollama | ReadableStream { locked: false, state: 'readable', supportsBYOB: false } chatollama | { message: { role: 'assistant', content: undefined } } chromadb | INFO: [20-03-2024 22:27:16] 172.19.0.2:46312 - "POST /api/v1/collections/15d3ce01-fbee-438e-af74-644bbcaa589a/query HTTP/1.1" 200 chatollama | { message: { role: 'assistant', content: undefined } } 不明白出了什么问题?如何解决