Comments (6)
Any solution to this issue?
from chat-ollama.
This is very likely that you don't have the LANGSMITH_API_KEY set in the .env
.
Please refer to .env.example
- https://github.com/sugarforever/chat-ollama/blob/main/.env.example
DISABLE_VERCEL_ANALYTICS=false
OPENAI_API_KEY=
DATABASE_URL=file:../../chatollama.sqlite
CHROMADB_URL=http://localhost:8000
LANGCHAIN_TRACING_V2=true
LANGCHAIN_API_KEY=
LANGCHAIN_PROJECT=chat-ollama
If you make a copy of .env
from the example, the LANGCHAIN_TRACING_V2
is set to true
by default while the API key is set to empty.
We included langsmith
package in the bundle, and ChatOllama knowledge base is using LangChain, so when you chat with knowledge base, it will be trying to chat with LangSmith. As there's no API key set, you saw the error above. Make sure you set LANGCHAIN_TRACING_V2
to false if you have no langsmith API key set.
I will update the example with LANGCHAIN_TRACING_V2 set to false
by default.
from chat-ollama.
This is very likely that you don't have the LANGSMITH_API_KEY set in the
.env
.Please refer to
.env.example
- https://github.com/sugarforever/chat-ollama/blob/main/.env.exampleDISABLE_VERCEL_ANALYTICS=false OPENAI_API_KEY= DATABASE_URL=file:../../chatollama.sqlite CHROMADB_URL=http://localhost:8000 LANGCHAIN_TRACING_V2=true LANGCHAIN_API_KEY= LANGCHAIN_PROJECT=chat-ollama
If you make a copy of
.env
from the example, theLANGCHAIN_TRACING_V2
is set totrue
by default while the API key is set to empty.We included
langsmith
package in the bundle, and ChatOllama knowledge base is using LangChain, so when you chat with knowledge base, it will be trying to chat with LangSmith. As there's no API key set, you saw the error above. Make sure you setLANGCHAIN_TRACING_V2
to false if you have no langsmith API key set.I will update the example with LANGCHAIN_TRACING_V2 set to
false
by default.
重新拉取了docker image。在创建和使用知识库的时候都会报一个404的错误:
chatollama-1 | Ollama: {
chatollama-1 | host: 'http://host.docker.internal:11434',
chatollama-1 | username: 'null',
chatollama-1 | password: 'null'
chatollama-1 | }
chatollama-1 | warn(prisma-client) This is the 10th instance of Prisma Client being started. Make sure this is intentional.
chatollama-1 | Created knowledge base RC oscillator: [object Object]
chromadb-1 | INFO: [13-03-2024 08:07:18] 172.23.0.2:44608 - "POST /api/v1/collections?tenant=default_tenant&database=default_database HTTP/1.1" 200
chatollama-1 | [nuxt] [request error] [unhandled] [500] Request to Ollama server failed: 404 Not Found
chatollama-1 | at OllamaEmbeddings._request (./.output/server/node_modules/@langchain/community/dist/embeddings/ollama.js:121:19)
from chat-ollama.
创建知识库使用的什么文本嵌入模型?确保输入框中输入的模型名前后没有空格。我记得这里目前还没有做处理。
from chat-ollama.
创建知识库使用的什么文本嵌入模型?确保输入框中输入的模型名前后没有空格。我记得这里目前还没有做处理。
nomic-embed-text
前后无空格。
Knowledge base RC oscillator with embedding "nomic-embed-text"
Chat with Ollama
User query: summary the paper
[nuxt] [request error] [unhandled] [500] Request to Ollama server failed: 404 Not Found
at OllamaEmbeddings._request (/D:/Program%20Files/chat-ollama/node_modules/@langchain/community/dist/embeddings/ollama.js:121:19)
from chat-ollama.
低级问题,没有安装“nomic-embed-text”
from chat-ollama.
Related Issues (20)
- [bug] knowledge base给我玩GC了 HOT 1
- [疑问] 请问是否支持Tool/Plugin这种能调用本地方法的功能? HOT 2
- [bug] 添加URL功能之后使用Milvus数据库无法建立knowledge base HOT 1
- [bug]添加url功能后在建立知识库时必须要输入url,没有针对null的情况处理 HOT 2
- 更新至最新的版本後(添加URL功能),無法建立新的Knowledge Base HOT 10
- Does chat-ollama have timeout when requesting ollama HOT 2
- 新版本在docker里无法正常运行 HOT 3
- puppeteer 版本冲突 HOT 4
- Update Knowledge Base 提示报错
- 一个小建议 HOT 7
- 无法建立知识库,选择URL 点击保存出错 HOT 1
- JSON.parse:unexpected character at line 1 column 1 of the JSON date HOT 1
- 无法下载模型,后台连不上http://127.0.0.1:11434 HOT 5
- 请教一个知识库数据向量化的问题 HOT 1
- Chat
- 复制聊天记录提示:Permission denied HOT 6
- Rerank
- 以URLs作为知识库报错如下(运行在Linux Dockeer容器中) HOT 1
- 系统状态显示 HOT 2
- 如果嵌入的pdf文档在3M左右,会一直处于处理状态,不能嵌入成功
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chat-ollama.