-
This extension seems perfect for what I want, and I'm impressed at the capability; if I can get it to work! Regarding Installation, I'm on Windows, and I installed the extension as normal using the "Install or update and extension" function in text-generation-webui, providing the path to the LLM_Web_search git page. Finally, I just opened the command window through "cmd_windows.bat", and I did not activate the conda environment, I just directly installed the dependencies from the root text-generation-webui folder manually using pip: Then the webui finally loaded with the LLM_Web_search extension enabled! Now, how in the world to get the model to actually use the search function? So my LLM_Web_search tab now looks like this. I have saved the "Custom System Message" using the default "websearch_gpt4_prompt". I used the recommended "Search command regex string", and despite the instructions talking about how to customize it, I'm still not sure why I would want to. I usually use "TheBloke_Mixtral-8x7B-Instruct-v0.1-GPTQ" loaded with ExLlama2_HF (or AutoGPTQ). It wasn't using the search function at all, it just "pretended" to, so for the sake of consistency, I tried the "orca-2-13b.Q8_0.gguf" loaded with llama.cpp. Indicated as being "the most consistent" as per here: #12 (reply in thread) I also created a "Searcher" character, with the description recommended:A chat between a curious user and artificial intelligence assistant. The assistant is never confident about facts and up-to-date information. The assistant can search the web for facts and up to date information using the following search command format: Search_web("query") The search tool will search the web for these keywords and return the results. Finally, the assistant extracts the information from the results of the search tool to guide its response.I'm not quite sure if I should be changing anything on the "Instruction Template" tab under "Parameters". It shows the saved Custom System Message, but which template should I choose? Right now it's on the Llama-v2. Now, into the Chat tab, in chat-instruct mode: It tried to do the search, exactly as in the demonstration, but it's not actually searching, nor showing or using any results. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
Simplified instructiosn for new users.
|
Beta Was this translation helpful? Give feedback.
The likely problem and solution
To get the most probable cause out of the way first: If the screenshot shows your current settings, then you're trying to use the default
websearch_gpt4_prompt
with a custom regex string. This regex string does not match the the search command defined in "websearch_gpt4_prompt", so that's why it's not actually searching. To use the default regex strings, just leave these text fields blank.Characters for searching
Regarding the "searcher" character: If you're using a "Custom System Message", you don't need to also define a specific character where you provide similar instructions. You can just create a character with an empty context and use the "Custom Sys…