Skip to content

Commit

Permalink
update: release v1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Nov 7, 2023
1 parent 94f303d commit 4906b3d
Show file tree
Hide file tree
Showing 357 changed files with 2,603 additions and 24,512 deletions.
1 change: 1 addition & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import aiplatform from '@google-cloud/aiplatform';
export { aiplatform };
import * as openai from 'openai';
export type { ChatCompletionMessageParam } from 'openai/resources';
export type { ChatCompletionChunk, ChatCompletion } from 'openai/resources/chat';
export { Stream } from 'openai/streaming';
export { openai };
Expand Down
237 changes: 121 additions & 116 deletions dist/index.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/lib/openai/openAi.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { OpenAI as OpenAIApi } from 'openai';
import { OpenAIOptions, OpenAIPromptParams } from '@/lib/types/openaiTypes';
import { OpenAIOptions } from '@/lib/types/openaiTypes';
import { AIPromptable } from '@/lib/skeetai';
import { ChatCompletionMessageParam } from 'openai/resources/chat';
import { Stream } from 'openai/streaming';
export declare class OpenAI implements AIPromptable {
private options;
Expand All @@ -9,7 +10,7 @@ export declare class OpenAI implements AIPromptable {
prompt(promptParams: any): Promise<string>;
chat(content: string): Promise<string>;
generateTitle(content: string): Promise<string>;
promptStream(prompt: OpenAIPromptParams): Promise<Stream<OpenAIApi.Chat.Completions.ChatCompletionChunk>>;
promptStream(prompt: ChatCompletionMessageParam[]): Promise<Stream<OpenAIApi.Chat.Completions.ChatCompletionChunk>>;
uploadFile(filePath: string): Promise<OpenAIApi.Files.FileObject>;
createFineTuningJob(fileId: string, model?: string): Promise<OpenAIApi.FineTuning.Jobs.FineTuningJob>;
showFineTuningJob(jobId: string): Promise<OpenAIApi.FineTuning.Jobs.FineTuningJob>;
Expand Down
4 changes: 2 additions & 2 deletions dist/lib/openai/randomChat.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { OpenAIPromptParams } from '@/lib/types/openaiTypes';
export declare const randomChat: (content: string) => OpenAIPromptParams;
import { ChatCompletionMessageParam } from 'openai/resources';
export declare const randomChat: (content: string) => ChatCompletionMessageParam[];
2 changes: 1 addition & 1 deletion dist/lib/version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const VERSION = "1.7.4";
export declare const VERSION = "1.7.5";
2 changes: 1 addition & 1 deletion docs/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4906b3d

Please sign in to comment.