Skip to content

Commit

Permalink
add all support model ids
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Sep 3, 2024
1 parent 6a67e61 commit 4bb344a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,23 @@ export interface GetUserConfirmationInterface {

// prompt

/** model names supported by Copilot API */
/**
* model names supported by Copilot API
*
* Based on https://api.githubcopilot.com/models from 2024-09-02
*/
export type ModelName =
| "gpt-4"
| "gpt-3.5-turbo"
| "gpt-3.5-turbo-0613"
| "gpt-4"
| "gpt-4-0613"
| "gpt-4-o-preview"
| "gpt-4o"
| "gpt-4o-2024-05-13"
| "text-embedding-3-small"
| "text-embedding-3-small-inference"
| "text-embedding-ada-002"
| "text-embedding-ada-002-index"

export interface PromptFunction {
type: "function"
Expand Down

0 comments on commit 4bb344a

Please sign in to comment.