datagero / pico-scholar

AI-Human collaboration platform that accelerates systematic reviews by organizing academic literature, building AI tools, and expanding into new domains to enhance the global knowledge catalog.
0 stars 0 forks source link

Implement Advanced Querying UI with Query Expansion Features #15

Open datagero opened 3 days ago

datagero commented 3 days ago

Objective: Provide users with a feature to manage and expand queries by generating related queries for improved variation and relevance. The goal is to expose and manage Query Expansion features through the UI, improving the precision and recall of searches.

Details: Initial Query Input: • User inputs a query on the project or query management page. • Provide a checkbox option labeled “Advanced Querying”. • On Advanced Querying Selection: • The original query is sent to the backend to retrieve:

  1. Query Expansion: Generate broader context-related queries.
  2. Query Transformation: Suggest modifications to make the original query more meaningful.
  3. Query Routing Options: Propose different retrieval methods based on the nature of the query.

    • Display the related queries with options for user review, editing, and selection. • Users can save the modified queries under a project or add them to search queries.

Dependencies: • Backend LLM integration for generating query expansions and transformations. • Backend API to manage project and query data.

Acceptance Criteria: • Users can input an initial query and select “Advanced Querying.” • System generates and displays:

  1. Expanded Queries
  2. Transformed Queries
  3. Routing Options

    • Users can edit and save the suggested queries under the project. • Saved queries are stored and retrievable within the project.

Priority: Medium Estimated Effort: