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

Langchain handler modifications #9012

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

abhayasr
Copy link

@abhayasr abhayasr commented Apr 1, 2024

Description

-Stores the input and output of the llm in langchain_handler.py
-Use sqlite to be able to store both the input and the output of each query
-Added logs for when self improvement functionality works

Fixes #issue_number

Type of change

(Please delete options that are not relevant)

  • ⚡ New feature (non-breaking change which adds functionality)

Verification Process

To ensure the changes are working as expected:

  • Verification Steps: Outline the steps or queries needed to validate the change. Include any data, configurations, or actions required to reproduce or see the new functionality.

Checklist:

  • My code follows the style guidelines(PEP 8) of MindsDB.
  • I have appropriately commented on my code, especially in complex areas.
  • Necessary documentation updates are either made or tracked in issues.
  • Relevant unit and integration tests are updated or added.

@abhayasr abhayasr marked this pull request as draft April 1, 2024 00:43
@abhayasr
Copy link
Author

abhayasr commented Apr 1, 2024

@paxcema @TylerSandman

@abhayasr abhayasr marked this pull request as ready for review April 1, 2024 00:47
@@ -0,0 +1,9 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be removed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why this file is there, I don't think I added it, I think it was so I was able to launch the web version, next time I will git add specific files I did git add .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah interesting. Well, you can remove specific files like this one with git rm /path/to/file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants