Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Knowledge base supports advanced search#23

Merged
Richasy merged 3 commits intomainfrom
richasy/knowledgeRefactor
Jun 12, 2023
Merged

Knowledge base supports advanced search#23
Richasy merged 3 commits intomainfrom
richasy/knowledgeRefactor

Conversation

@Richasy
Copy link
Owner

@Richasy Richasy commented Jun 12, 2023

Close #9

Having multiple rounds of dialogue may not be a good idea for a knowledge base, primarily due to the limitation of the model's token limit.

If different questions require different contexts to be searched, asking them together can easily exceed the limit. Therefore, I have tried another approach:

Strengthening the indexing ability of the knowledge base.

PR type

What is the purpose of this PR?

  • Feature

What is the current behavior?

The knowledge base supports simple question-and-answer.

What is the new behavior?

In addition to supporting simple Q&A, knowledge bases now have more powerful indexing capabilities that can list multiple reference documents based on a question, allowing users to decide which documents to choose to generate an answer.

PR checklist

Please check that your PR meets the following requirements:

  • App successfully launched
  • New components
    • For controls, the controls have been placed in the Controls folder of the main project
  • File headers have been added to all source files
  • NOT Contains breaking updates

@Richasy Richasy added the enhancement New feature or request label Jun 12, 2023
@Richasy Richasy merged commit 9430721 into main Jun 12, 2023
@Richasy Richasy deleted the richasy/knowledgeRefactor branch June 12, 2023 08:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Knowledge base supports continuous dialogue

1 participant