rahulnyk / knowledge_graph

Convert any text to a graph of knowledge. This can be used for Graph Augmented Generation or Knowledge Graph based QnA
1.54k stars 293 forks source link

Failed to establish a new connection: [Errno 111] Connection refused' #31

Open prrabirmondal opened 2 months ago

prrabirmondal commented 2 months ago

I have simply cloned the repo and run the file "extract_graph.ipynb" by setting "regenerate = True". I have not made any changes in the code and finally, I am getting the following issue from the "generate" function of the "client.py "file.

An error occurred: HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/generate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe917975790>: Failed to establish a new connection: [Errno 111] Connection refused'))

Kindly let me know how to solve it. Thanks in advance.