mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 09:40:20 +01:00
Modified instructions for clarity in superbooga search input
This commit is contained in:
parent
0480d70bfd
commit
7c37b82362
@ -328,23 +328,29 @@ def ui():
|
|||||||
|
|
||||||
with gr.Accordion("Click for more information...", open=False):
|
with gr.Accordion("Click for more information...", open=False):
|
||||||
gr.Markdown(textwrap.dedent("""
|
gr.Markdown(textwrap.dedent("""
|
||||||
|
### Instructions for Installation/Setup:
|
||||||
|
|
||||||
# installation/setup
|
To set up a custom search engine with Google, please follow the instructions provided in this guide:
|
||||||
Please follow the instruction found here to setup a custom search engine with Google.
|
|
||||||
https://www.thepythoncode.com/article/use-google-custom-search-engine-api-in-python
|
https://www.thepythoncode.com/article/use-google-custom-search-engine-api-in-python
|
||||||
|
|
||||||
create a file called "custom_search_engine_keys.json"
|
Create a new file called "custom_search_engine_keys.json".
|
||||||
|
|
||||||
|
Open the "custom_search_engine_keys.json" file and paste the following text into it:
|
||||||
|
|
||||||
|
json
|
||||||
|
|
||||||
Paste this text in it and replace with your values from the previous step:
|
|
||||||
"
|
|
||||||
{
|
{
|
||||||
"key": "Custom search engine key",
|
"key": "Custom search engine key",
|
||||||
"cx": "Custom search engine cx number"
|
"cx": "Custom search engine cx number"
|
||||||
}
|
}
|
||||||
"
|
|
||||||
|
|
||||||
# usage
|
Replace the placeholders "Custom search engine key" and "Custom search engine cx number" with the respective values you obtained from the previous step.
|
||||||
Enter a search query above. Press the load data button. This data will be added to the local chromaDB to be read into context at runtime.
|
|
||||||
|
### Usage:
|
||||||
|
|
||||||
|
Enter your desired search query in the search box above.
|
||||||
|
|
||||||
|
Press the "Load Data" button. This will add the retrieved data to the local chromaDB, which will be read into the context during runtime.
|
||||||
|
|
||||||
"""))
|
"""))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user