Skip to content

Commit

Permalink
feat: descriptions for models
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaszkowic committed Aug 27, 2024
1 parent 0a0c755 commit 3ce3a25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/controllers/model-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const getModels = (req: Request, res: Response<ModelResponse>) => {
contextSize: 128000,
isOpenSource: false,
serverLocation: "USA",
description: "Aktuelles Modell von OpenAI, gehostet von OpenAI.",
},
{
identifier: "azure-gpt-4o-mini",
Expand All @@ -22,6 +23,8 @@ export const getModels = (req: Request, res: Response<ModelResponse>) => {
contextSize: 128000,
isOpenSource: false,
serverLocation: "Schweden",
description:
"Aktuelles Modell von OpenAI, datenschutzkonform gehostet von Microsoft Azure.",
},
{
identifier: "citylab-macstudio-llama-3.1",
Expand All @@ -31,6 +34,8 @@ export const getModels = (req: Request, res: Response<ModelResponse>) => {
contextSize: 128000,
isOpenSource: true,
serverLocation: "Berlin",
description:
"Open Source - Modell von Meta, datenschutzkonform gehostet im CityLAB Berlin.",
},
],
parameters: LLM_PARAMETERS,
Expand Down
1 change: 1 addition & 0 deletions src/types/model-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface Model {
contextSize: number;
isOpenSource: boolean;
serverLocation: string;
description: string;
}

export interface ModelResponse {
Expand Down

0 comments on commit 3ce3a25

Please sign in to comment.