Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

连接本地模型失败报错404,上传文件报错RetryError #688

Open
jiangSunset opened this issue Mar 7, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@jiangSunset
Copy link

Description

Test connection

  • Testing model: ollama
  • Sending a message Hi
  • Connection failed. Got error: 404 page not found

RetryError[<Future at 0x7fce36852080 state=finished raised APIConnectionError>]

Reproduction steps

1. 在Resources页面中的LLMs和Embedding分别设置LLM和Embedding
api_key: ollama
base_url: http://localhost:11434/v1/
model: llama3.1:8b (for llm) | nomic-embed-text (for embedding)

2. 测试连接的时候报错如下:
Test connection
▼
- Testing model: ollama
- Sending a message `Hi`
- Connection failed. Got error: 404 page not found

3.继续按照步骤:使用本地模型用于RAG并将本地LLM和Embedding模型设置为default,将File Collection中的Embedding设置为本地模型-ollama,然后在Retrieval Setting页面,选择本地模型作为LLM相关得分模型。

4.最后开始上传文档,报错信息如下
❌ | 手册-规章制度.txt: RetryError[<Future at 0x7fce36852080 state=finished raised APIConnectionError>]

Screenshots

Logs

Browsers

Microsoft Edge

OS

Windows, Linux

Additional information

No response

@jiangSunset jiangSunset added the bug Something isn't working label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant