UNPKG

@convo-lang/convo-lang

Version:
8 lines (7 loc) 583 B
import { ConvoCompletionMessage, ConvoConversationConverter, FlatConvoConversation, FlatConvoConversationBase } from "./convo-types"; export declare class PassthroughConvoConversationConverter implements ConvoConversationConverter<FlatConvoConversationBase, ConvoCompletionMessage[]> { readonly supportedInputTypes: string[]; readonly supportedOutputTypes: string[]; convertConvoToInput(flat: FlatConvoConversation, inputType: string): FlatConvoConversationBase; convertOutputToConvo(target: ConvoCompletionMessage[], outputType: string): ConvoCompletionMessage[]; }