@convo-lang/convo-lang
Version:
The language of AI
8 lines (7 loc) • 586 B
TypeScript
import { ConvoCompletionMessage, ConvoConversationConverter, FlatConvoConversation, FlatConvoConversationBase } from "./convo-types.js";
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[];
}