SearchOptionsInput type

Input pencarian mendukung opsi agen dan vektor tambahan sambil mempertahankan tipe warisan.

type SearchOptionsInput<TModel, TFields> = OperationOptions &
  Omit<
    BaseSearchRequestOptions<TModel, TFields>,
    "queryType" | "vectorSearchOptions"
  > &
  (SearchRequestQueryTypeOptions | { queryType: "agentic" }) & {
    vectorSearchOptions?: VectorSearchOptionsInput<TModel>
  }