Skip to content

Commit

Permalink
add provider specific model config
Browse files Browse the repository at this point in the history
  • Loading branch information
au-re committed Nov 23, 2023
1 parent 54d3904 commit 39c8a2d
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 1,506 deletions.
11 changes: 10 additions & 1 deletion packages/@pufflig/ps-models/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,22 @@ export { OPENAI_API_KEY } from "./models/openai";
export { HF_ACCESS_TOKEN } from "./models/hf";
export { OPEN_ROUTER_API_KEY } from "./models/open_router";

// openai specific models
// provider specific models
export const openai = {
chat_models: openai_chat,
completion_models: openai_completion,
embedding_models: openai_embedding,
};

export const hf = {
completion_models: hf_completion,
};

export const open_router = {
completion_models: open_router_completion,
};

// defaults
export const default_completion_model = "gpt-3.5-turbo-instruct";
export const default_assistant_model = "gpt-4-1106-preview";

Expand Down
Loading

0 comments on commit 39c8a2d

Please sign in to comment.