UNPKG

@omnia/fx-models

Version:
26 lines (25 loc) 618 B
import { GuidValue } from "../Exposes"; export interface SemanticSearchJobResult { id: GuidValue; status: SemanticSearchJobStatus; } export interface SemanticSearchJobResultWithData<T> extends SemanticSearchJobResult { result: T; } export interface SemanticSearchResult { answer: string; references: SemanticSearchReference[]; isUncertainAnswer: boolean; } export interface SemanticSearchReference { id: string; typeId: GuidValue; content: string; page: number; } export declare enum SemanticSearchJobStatus { Created = 0, Started = 1, Finished = 2, Error = 3 }