ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

used ollama but API key required.

Open yangboz opened this issue 1 year ago • 7 comments

Screenshot 2024-08-09 at 13 36 45

but got chatting error as following:

ERROR: Invalid API-key provided. Please set LLM API-Key in 'User Setting -> Model Providers -> API-Key'

Current Repo: ragflow Commit Id: 89004f1 Operating system: Ubuntu 24.04 (Kernel version: 6.8.0-39-generic) CPU Type: x86_64 Memory: 62Gi Docker Version: 24.0.7, Python Version: 3.9.19

any database cache related, tried many times of configure operation before.

yangboz avatar Aug 09 '24 03:08 yangboz

hi @yangboz thanks for your mention .If you are adding a local model, such as one added via ollama, the api_key can be left empty. We will address this in a future update.

hangters avatar Aug 09 '24 05:08 hangters

but this round is ERROR: Model(qwen-plus) not authorized

Screenshot 2024-08-09 at 14 11 35 actually ollama model added is llama2.

yangboz avatar Aug 09 '24 06:08 yangboz

but this round is ERROR: Model(qwen-plus) not authorized

Screenshot 2024-08-09 at 14 11 35 actually ollama model added is llama2.

maybe here Model(qwen-plus) is default select's option? and can not be deselected even select to null?

yangboz avatar Aug 09 '24 06:08 yangboz

This list displays all models, with successfully added models highlighted. If you successfully add a model using Ollama, you can scroll down with your mouse wheel to find it or type "ollama" in the selection bar to locate it.like this 屏幕截图 2024-08-09 143521

hangters avatar Aug 09 '24 06:08 hangters

This list displays all models, with successfully added models highlighted. If you successfully add a model using Ollama, you can scroll down with your mouse wheel to find it or type "ollama" in the selection bar to locate it.like this Screenshot 2024-08-09 at 14 51 32 -J3rENK9UeaMul2VA4gcaS4A_SoiJDuC6fhrRqZOCss">

but then after selecting ollama/llama2 got blank content as uploaded .

yangboz avatar Aug 09 '24 06:08 yangboz

This appears to be a browser rendering issue. Refreshing the browser might resolve the problem.

hangters avatar Aug 09 '24 07:08 hangters

This appears to be a browser rendering issue. Refreshing the browser might resolve the problem.

how come? before chatting, user should select database, with model option , dialog option during those interactive steps may happen or results to it. right ?

yangboz avatar Aug 09 '24 08:08 yangboz

main ip:192.168.0.122 other ip: 192.168.0.100 when ip100 request ip122 , error invalid api-key provided. but I use ollama model!

gengyanlei avatar Feb 13 '25 01:02 gengyanlei