File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -725,7 +725,6 @@ export async function vectorSearchMovies(searchParams: {
725725 genres : item . genres || [ ] ,
726726 directors : item . directors || [ ] ,
727727 cast : item . cast || [ ] ,
728- // Preserve the vector search score for display in UI
729728 score : item . score ,
730729 // Add default values for fields not included in VectorSearchResult
731730 fullplot : undefined ,
Original file line number Diff line number Diff line change 55
66/**
77 * Movie interface for type safety
8- * Matches the Movie type from the Express backend
8+ * Matches the Movie type from the backend
99 */
1010export interface Movie {
1111 _id : string ;
@@ -51,13 +51,13 @@ export interface Movie {
5151 } ;
5252 metacritic ?: number ;
5353 type ?: string ;
54- /** Vector search score (only present in vector search results) */
54+ // Vector search score (only present in vector search results)
5555 score ?: number ;
5656}
5757
5858/**
5959 * API Response interface for the movies endpoint
60- * Matches the SuccessResponse type from the Express backend
60+ * Matches the SuccessResponse type from the backend
6161 */
6262export interface MoviesApiResponse {
6363 success : boolean ;
You can’t perform that action at this time.
0 commit comments