khulnasoft's picture
Upload 24 files
8e20687 verified
raw
history blame contribute delete
257 Bytes
export type OpenAIModel = 'gpt-3.5-turbo' | 'gpt-4';
export interface TranslateBody {
inputLanguage: string;
outputLanguage: string;
inputCode: string;
model: OpenAIModel;
apiKey: string;
}
export interface TranslateResponse {
code: string;
}