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

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

No files matched your search

+2 -1
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[];
};