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

Knowledge - Query about knowledge files do not work the first time but works when the query is made again. #492

Closed
sangee2004 opened this issue Sep 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working knowledge

Comments

@sangee2004
Copy link

Electron build - 18eaca7

Steps to reproduce the problem:

  1. Create an assistant with all Knowledge demo files (from onedrive) - Knowledge - Ingestion failure when adding lot of files to assistant. #491
  2. Chat with this assistant

I see that most of the the times , the first chat message always does not return any info for me.
Snippet of stack trace:

Chatted with MyKnowledgeAssistant
Input
"what is our parental leave policy"
Messages
* I can help you with that. If you have any documents or files related to your company's parental leave policy, you can upload them, and I can retrieve the information for you.
Calls
Loaded context from Knowledge Retrieval Context

But when i repeat the same query again, knowledgeRetrieval tool is called and it succeeded.

Snippet of stack trace:

Chatted with MyKnowledgeAssistant
Input
"What is our parental leave policy"
Messages
* <tool call> knowledgeRetrieval -> {"query":"parental leave policy"}
* The parental leave policy for your company is as follows: 1. **Eligibility**: Any full-time regular employee is eligible for ...
Screenshot 2024-09-10 at 5 07 37 PM
@sangee2004 sangee2004 added bug Something isn't working knowledge labels Sep 11, 2024
@iwilltry42 iwilltry42 self-assigned this Sep 11, 2024
@iwilltry42
Copy link
Contributor

Hopefully the addition to the queryRelevancy input filter enhances the experience.
This will come into the desktop app via #526

@sangee2004
Copy link
Author

Tested with build from 01bb57f3c6fc4

This issue is not seen any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working knowledge
Projects
None yet
Development

No branches or pull requests

2 participants