/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CourseRecommendation } from './CourseRecommendation'; /** * Response serializer for V2 Course Recommendations. * * Returns a list of recommended courses with AI-generated reasoning. * Includes metadata about the recommendation method used (RAG vs LLM). */ export type V2RecommendationResponse = { /** * List of course recommendations with reasoning */ recommendations: Array; /** * Summary of user context used for recommendations */ user_context?: Record; /** * Unique ID for this recommendation set (for tracking) */ recommendation_id?: string; /** * When these recommendations were generated */ generated_at: string; /** * Platform key for these recommendations */ platform_key: string; /** * Method used to generate recommendations: 'rag_only', 'llm_only', or 'rag_plus_llm' */ method_used?: string; /** * The actual search query used for RAG similarity search (if applicable) */ search_query_used?: string; /** * Number of candidates retrieved via RAG before filtering (if applicable) */ candidates_retrieved?: number; /** * Whether the results include items from the 'main' tenant catalog */ includes_main_catalog?: boolean; /** * Time taken to generate recommendations (in seconds) */ processing_time_seconds?: number; /** * Whether the request was successful */ success?: boolean; /** * Total number of recommendations available */ count?: number; /** * URL for the next page of results (if pagination is enabled) */ next?: string | null; /** * URL for the previous page of results (if pagination is enabled) */ previous?: string | null; };