diff --git a/README.md b/README.md index e4b9622..9b3219f 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ To use the Bing Web Search API, please visit [this link](https://www.microsoft.c You have three options for Google Search: you can use the [SearchApi Google Search API](https://www.searchapi.io/) from SearchApi, [Serper Google Search API](https://www.serper.dev) from Serper, or opt for the [Programmable Search Engine](https://developers.google.com/custom-search) provided by Google. ### SearXNG Search -you can host your personal [SearXNG server](https://github.com/searxng/searxng), then you do not need pay for the search api. You just need provide the server address in `SEARXNG_BASE_URL`, Be sure you enable the json format for the SearXNG server. +you can host your personal [SearXNG server](https://github.com/searxng/searxng), then you do not need pay for the search api. You just need provide the server address in `SEARXNG_BASE_URL`, plz be sure you enable the json format for the SearXNG server. ## Deployment ### Zeabur diff --git a/search4all.py b/search4all.py index b3e2459..f479352 100644 --- a/search4all.py +++ b/search4all.py @@ -404,8 +404,6 @@ def search_with_searXNG(query:str,url:str): response.raise_for_status() search_results = response.json() - logger.info("JSON Response:") - logger.info(search_results) pedding_urls = [] conv_links = [] @@ -431,7 +429,6 @@ def search_with_searXNG(query:str,url:str): 'url':url, 'snippet':snippet }) - logger.info(conv_links) results = [] futures = [] @@ -606,7 +603,6 @@ async def get_related_questions(_app, query, contexts): ] ) logger.info('Response received from Claude-3 model') - logger.info(f"Claude-3 response: {response}") if response.content and len(response.content) > 0: related = []