deep-searcher icon indicating copy to clipboard operation
deep-searcher copied to clipboard

Local Run Modify Default Configuration Item Description Confusion

Open 404-xianjin opened this issue 1 year ago • 10 comments

The runtime file is written in a messy way, bro. Can you clarify if you want to change config.yml or ollama.py in E:\deep-searcher\deep-searcher\deepsearcher\llm path?

404-xianjin avatar Mar 07 '25 09:03 404-xianjin

Image

404-xianjin avatar Mar 07 '25 12:03 404-xianjin

@zc277584121 Bro, please help me see what this is all about.

404-xianjin avatar Mar 07 '25 12:03 404-xianjin

What version of pymilvus did you use? I use the version: 2.5.4

SimFG avatar Mar 08 '25 09:03 SimFG

Image @SimFG thanks

404-xianjin avatar Mar 08 '25 09:03 404-xianjin

Image Here's the code for mytest.py,Since I'm a newbie, I don't particularly understand this stuff.Please help me to see what causes,thanks

404-xianjin avatar Mar 08 '25 09:03 404-xianjin

Image

@404-xianjin hello, you can upgrade your pymilvus version and try it again

pip install -U pymilvus

zc277584121 avatar Mar 08 '25 12:03 zc277584121

Image

@404-xianjin hello, you can upgrade your pymilvus version and try it again

pip install -U pymilvus

pymilvus has been updated to 2.5.5

Image

Let me describe my current problem, bro.

  1. i modified config.yaml file and manually specified llm as ollama, embedding as SiliconflowEmbedding, vector as milvus (docker), running on localhost:19531.

Image

Image

Image

At the same time, I created a mytest.py with the following code. When I execute it I get the following error.

Image

Image

404-xianjin avatar Mar 10 '25 00:03 404-xianjin

config.set_provider_config("llm", "Ollama", {"model": "qwq"})

There should be a typo error here. Change ollama to Ollama

SimFG avatar Mar 10 '25 02:03 SimFG

config.set_provider_config("llm", "Ollama", {"model": "qwq"})

There should be a typo error here. Change ollama to Ollama

Awesome, bro. That solves my problem nicely.But I have a point of doubt, if I don't need website, can I consider commenting out these two lines of code. thanks

Image Bless you.

404-xianjin avatar Mar 10 '25 02:03 404-xianjin

@404-xianjin yes, you can.

SimFG avatar Mar 10 '25 06:03 SimFG