Complete code from the blog post Q&A with Org roam using ChatGPT.
Steps:
-
Go to config.py file and provide the correct paths for your use case and the OpenAI API Key.
-
Run python setup.py install
-
Run python qna-org-roam/org_roam_vectordb.py to build the knowledge base
-
Run python qna-org-roam/server.py to serve the application under the 8800 port
-
Add the code from elisp/qna_chat.el to your Emacs configuration
-
Call it using M-x
q-n-a-with-org-roam
ag