Initial upload of the project in its first usable version

This commit is contained in:
Matias Espinoza
2023-03-13 05:41:45 -03:00
commit 46c766fd38
21 changed files with 3045 additions and 0 deletions

6
src/models/ai.ts Normal file
View File

@ -0,0 +1,6 @@
import { ChatCompletionRequestMessage, ChatCompletionResponseMessage } from 'openai';
export interface AI {
chatCompletion(chatHistory: ChatCompletionRequestMessage[]):
Promise<ChatCompletionResponseMessage>;
}

3
src/models/runnable.ts Normal file
View File

@ -0,0 +1,3 @@
export interface Runnable {
run(): void;
}