Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved chat command 🗣️💬 #6

Merged
merged 8 commits into from
Dec 21, 2023
Merged

Improved chat command 🗣️💬 #6

merged 8 commits into from
Dec 21, 2023

Conversation

MykalMachon
Copy link
Owner

@MykalMachon MykalMachon commented Dec 19, 2023

Summary of PR

This PR introduces a vastly increased chat command that should be capable of providing much more in-depth conversations about your notes and improved UX. The new chat command introduces the following features

  • continuous chat: mdchat chat will open an interactive thread where you can chat back in forth now.
  • history-aware chat: mdchat now takes previous messages/responses into context when answering you. This enables context-aware and in-depth conversations with the CLI
  • loading states: mdchat now makes it much clearer what it's doing when loading (i.e indexing notes, generating responses)
  • improved formatting: it's much clearer what's going on in chats now thanks to improved text formatting.

Misc changes

  • Added a decision document for using LangChain + FAISS and documented successes/failures with that approach so far
  • Refactored mdchat chat command to match the config command

notes on our current RAG pipeline and why we went with it, successes, and issues
chat command now has access to chat history, has proper loading states, improved formatting, and offers an actual chat 'thread'
@MykalMachon MykalMachon added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 19, 2023
@MykalMachon MykalMachon self-assigned this Dec 19, 2023
@MykalMachon MykalMachon marked this pull request as ready for review December 21, 2023 00:18
@MykalMachon MykalMachon merged commit 310a194 into main Dec 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant