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

feature: all RAG routes with the option to do a Group Search #2563

Open
3 tasks
cdxker opened this issue Oct 11, 2024 · 0 comments
Open
3 tasks

feature: all RAG routes with the option to do a Group Search #2563

cdxker opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels

Comments

@cdxker
Copy link
Member

cdxker commented Oct 11, 2024

Description

We need a way for the user to specify a search type for the group searches as well. With the shopify scraper just added we found that grouping similar products together are one of the ideal use cases for eCommerce. We need to prio making the group search methods more first class.

We need a new search_type for search_over_groups and search_in_groups. as enums. I think this can be done with tagged enums. See the ScarpeOptions enum.

#[derive(Debug, Serialize, Deserialize, ToSchema, Display, Clone, PartialEq)]
#[serde(rename_all = "lowercase")]
pub enum SearchMethod {
   /// ...
    #[display(fmt = "search_in_groups")]
    SearchInGroups {
       search_group_id: uuid::Uuid,
    },
    #[display(fmt = "search_in_groups")]
    SearchOverGroups {
        group_size: u64,
    },
}

Target(s)

server

Requirement to close

  • search_over_groups as a search_type. (Might need a bit of custom prompting)
  • search_in_groups as a search_type
  • Ensure you write out both of these to analytics with the correct tag names.

Community channels

Matrix is preferred. Reach out on discord or Matrix for further assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants