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

Improve response formatting for SearchDocumentsTool #38

Open
philip-pentatonic opened this issue May 17, 2023 · 2 comments
Open

Improve response formatting for SearchDocumentsTool #38

philip-pentatonic opened this issue May 17, 2023 · 2 comments

Comments

@philip-pentatonic
Copy link

I have my team chatting away (a mixture of amusement and wonderment!) and have a few errors in the terminal window. Not a good enough coder to fix them, but posting here if anyone else has them and/or wants to fix or advise:

Error: 1 validation error for SearchDocumentsToolInput
query
field required (type=value_error.missing)

@joshsny
Copy link
Contributor

joshsny commented May 17, 2023

@philip-pentatonic Thanks for creating an issue! This happens when the LLM response is not correctly formatted, so we need to improve our output parsing on tools so they are correcting issues like this. PRs welcome from anyone who wants to take a look at this! 💙

@philip-pentatonic
Copy link
Author

My pleasure. I wish I could do more to help, but will raise issues as I find them. Have to say, this is the best repo I have seen so far on this. Really great work, thanks a lot for sharing it!

@joshsny joshsny changed the title Error: 1 validation error for SearchDocumentsToolInput Improve response formatting for SearchDocumentsToolInput Jun 9, 2023
@joshsny joshsny changed the title Improve response formatting for SearchDocumentsToolInput Improve response formatting for SearchDocumentsTool Jun 9, 2023
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

No branches or pull requests

2 participants