@convo-lang/convo-lang
Version:
A Conversational Language
12 lines • 521 B
JavaScript
import { flatConvoConversationToBase, passthroughConvoInputType, passthroughConvoOutputType } from "./convo-lib";
export class PassthroughConvoConversationConverter {
supportedInputTypes = [passthroughConvoInputType];
supportedOutputTypes = [passthroughConvoOutputType];
convertConvoToInput(flat, inputType) {
return flatConvoConversationToBase(flat);
}
convertOutputToConvo(target, outputType) {
return target;
}
}
//# sourceMappingURL=PassthroughConvoConversationConverter.js.map