Add ability to filter based on search type (#13641)

This commit is contained in:
Josh Hawkins
2024-09-09 14:45:19 -05:00
committed by GitHub
parent 03ff3e639f
commit cae11cbb86
5 changed files with 113 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
type SearchSource = "thumbnail" | "description";
export type SearchSource = "similarity" | "thumbnail" | "description";
export type SearchResult = {
id: string;
@@ -21,4 +21,5 @@ export type SearchFilter = {
zones?: string[];
before?: number;
after?: number;
search_type?: SearchSource[];
};