From cad72d74cc31ced18ee4377c86db5f19062179c7 Mon Sep 17 00:00:00 2001 From: Shai Ber Date: Tue, 19 Mar 2024 17:24:16 +0200 Subject: [PATCH] remove unused files --- openai/api.w | 9 --------- openai/utils.w | 5 ----- 2 files changed, 14 deletions(-) delete mode 100644 openai/api.w delete mode 100644 openai/utils.w diff --git a/openai/api.w b/openai/api.w deleted file mode 100644 index 9ea0c07e..00000000 --- a/openai/api.w +++ /dev/null @@ -1,9 +0,0 @@ -pub struct CompletionParams { - model: str; - max_tokens: num; -} - -// TODO: need to recreate the openai interface with higher fidelity -pub interface IOpenAI { - inflight createCompletion(prompt: str, params: CompletionParams?): str; -} diff --git a/openai/utils.w b/openai/utils.w deleted file mode 100644 index 1f080534..00000000 --- a/openai/utils.w +++ /dev/null @@ -1,5 +0,0 @@ -bring "./api.w" as api; - -pub class Util { - extern "./openai.js" pub static inflight createNewInflightClient(apiKey: str, org: str?): api.IOpenAI; -} \ No newline at end of file