chat-ollama
chat-ollama copied to clipboard
ChatOllama is an open source chatbot based on LLMs. It supports a wide range of language models, and knowledge base management.
500是什么问题?
E:\chat-ollama\chat-ollama-main>npm run dev > dev > nuxt dev Nuxt 3.10.3 with Nitro 2.9.1 20:26:23 20:26:23 ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose i Using default Tailwind CSS file...
我试了修改nuxt.config.ts 和 package.json好像都没用啊 nuxt.config.ts export default defineNuxtConfig({ server: { host: '0.0.0.0', port: 8080 }, devtools: { enabled: true }, modules: [ '@nuxt/ui' ] })
有要求Ollama server is running on http://localhost:11434/ 請教如果我希望使用openai gpt4作為LLM使用, 我應該如何修改設定呢? 還是目前只能使用ollama運行開源模型? 感謝您(因為自家的GPU不給力,所以希望用OPENAI API)
数据库准备配置
## 向量数据库 https://hub.docker.com/r/chromadb/chroma/tags docker pull chromadb/chroma docker run -d -p 8000:8000 chromadb/chroma # 访问地址:http://localhost:8000 ## sqlite 数据库 #从 .env.example 复制文件 .env cp .env.example .env #修改配置文件 .env 中的 sqlite 路径: DATABASE_URL=file:/Users/xxx/chat-ollama/prisma/.sqlite/chatollama.sqlite...

在做rag查询到的时候一直出错 【nuxt】 【request error】 【unhandled】 【500】 Chroma getOrCreateCollection error: Error: TypeError: fetch failed at Chroma.ensureCollection (/D:/working/opensource/chat-ollama/node_modules/@langchain/community/dist/vectorstores/chroma.js:99:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Chroma.similaritySearchVectorWithScore (/D:/working/opensource/chat-ollama/node_modules/@langchain/community/dist/vectorstores/chroma.js:187:28) at async Chroma.similaritySearch (/D:/working/opensource/chat-ollama/node_modules/@langchain/core/dist/vectorstores.js:104:25) at async VectorStoreRetriever.getRelevantDocuments...
如题
可以参考下面这个文档 https://mp.weixin.qq.com/s/US-qPUvMLp7TWEGCeh2EiQ 视频 https://www.youtube.com/watch?v=NYRUC0v50DI&ab_channel=KevinThomas ollama-voice https://github.com/maudoin/ollama-voice 实现的功能 1:语音转文本,直接提交,无需鼠标点击。 2:回复文本,直接转语音,进行回答。
运行 `pnpm run build` 会得到如下告警: ``` [10:26:25 AM] WARN [plugin:vite:esbuild] [plugin vite:esbuild] components/ModelsSelectMenu.vue?vue&type=script&setup=true&lang.ts: Duplicate key "modelModifiers" in object literal 17 | "modelModifiers": {}, 18 | "model": {}, 19 | "modelModifiers":...