Skip to content

Chatbot not answering vague questions well #31

@commit111

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.

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