Skip to content

Chatbot not answering vague questions well #31

Description

@commit111

The chatbot currently seems to not answer vague questions as well, e.g. "Does Defang have an MCP sample?". This is likely due to how the algorithm (cosine similarity) decides which information sources (i.e. docs/blog pages) are relevant to the query to formulate an answer.

A potential solution would be to use a different search algorithm, such as hybrid search with LlamaIndex that combines both semantic search (cosine similarity) and keyword search to determine similarity.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions