win4r / GraphRAG4OpenWebUI

GraphRAG4OpenWebUI integrates Microsoft's GraphRAG technology into Open WebUI, providing a versatile information retrieval API. It combines local, global, and web searches for advanced Q&A systems and search engines. This tool simplifies graph-based retrieval integration in open web environments.
https://www.youtube.com/@AIsuperdomain
Apache License 2.0
362 stars 84 forks source link

When running, the interface will retry infinitely and no result will be output #15

Closed SpikeYangRc closed 3 months ago

SpikeYangRc commented 3 months ago

INFO: Waiting for application startup. 2024-08-12 11:22:55,049 - main - INFO - Initializing search engines and question generator... 2024-08-12 11:22:55,049 - main - INFO - Setting up LLM and embedder 2024-08-12 11:22:55,235 - main - INFO - LLM and embedder setup complete 2024-08-12 11:22:55,236 - main - INFO - Loading context data 2024-08-12 11:22:55,291 - main - INFO - Number of claim records: 44 2024-08-12 11:22:55,291 - main - INFO - Context data loading complete 2024-08-12 11:22:55,291 - main - INFO - Setting up search engines 2024-08-12 11:22:55,291 - main - INFO - Search engines setup complete 2024-08-12 11:22:55,291 - main - INFO - Initialization complete. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8012 (Press CTRL+C to quit) 2024-08-12 11:23:03,935 - main - INFO - Received chat completion request: model='graphrag-local-search:latest' messages=[Message(role='user', content='who is spike')] temperature=0.7 top_p=1.0 n=1 stream=False stop=None max_tokens=None presence_penalty=0 frequency_penalty=0 logit_bias=None user=None 2024-08-12 11:23:03,936 - main - INFO - Processing prompt: who is spike local search prompt: who is spike 2024-08-12 11:23:04,554 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 200 OK" 2024-08-12 11:23:04,669 - graphrag.query.structured_search.local_search.search - INFO - GENERATE ANSWER: 2024-08-12 11:23:04,690 - openai._base_client - INFO - Retrying request to /chat/completions in 0.892320 seconds

xldistance commented 3 months ago

The openai library does not support auto-completion of code.

SpikeYangRc commented 3 months ago

The openai library does not support auto-completion of code.

Hi, Do you know how to solve this problem?