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

Simple Frontend Chatbot Leverage Hybrid Search #3570

Open
t83714 opened this issue Oct 31, 2024 · 0 comments
Open

Simple Frontend Chatbot Leverage Hybrid Search #3570

t83714 opened this issue Oct 31, 2024 · 0 comments

Comments

@t83714
Copy link
Contributor

t83714 commented Oct 31, 2024

Simple Frontend Chatbot Leverages Hybrid Search

By leverage web-llm project, we can run small LLM in web browser via WebGPU API.

This ticket is about creating a simple frontend chatbot leverages / show case Hybrid Search feature that's in development.

This will be an optional feature that can only be turned on when hybrid search is on.

Due to the limitation of running LLM in browser (mainly, small context window), we will not implement multi-step reasoning (for complex task execution). Instead, we will only implement simple tool calling pattern + context (which page are we) awareness. Tools available to agent will depends on the page the user is at.

  • On Home, Search pages, available tools:
    • Dataset search tool: can search catalog for relevant datasets based on the user's question
    • Greet user tool: Great user and tell user which feature is available based on current location
  • Dataset page: Agent should try look at if Tabular data analyst tool can serve user's question before use other tool
    • Dataset search tool
    • Greet user tool
    • Tabular data analyst tool: this tool will only be used if:
      • the dataset contains at least one tabular file
      • the tabular file is relevant to user question
  • Distribution page:
    • Dataset search tool
    • Greet user tool
    • Tabular data analyst tool: this tool will only be used if:
      • the distribution contains a tabular file
      • the tabular file is relevant to user question
@t83714 t83714 moved this to In Progress in Magda dev plan Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

1 participant