@convo-lang/convo-lang
Version:
The language of AI
14 lines • 568 B
JavaScript
import { flatConvoConversationToBase, passthroughConvoInputType, passthroughConvoOutputType } from "./convo-lib.js";
export class PassthroughConvoConversationConverter {
constructor() {
this.supportedInputTypes = [passthroughConvoInputType];
this.supportedOutputTypes = [passthroughConvoOutputType];
}
convertConvoToInput(flat, inputType) {
return flatConvoConversationToBase(flat);
}
convertOutputToConvo(target, outputType) {
return target;
}
}
//# sourceMappingURL=PassthroughConvoConversationConverter.js.map