Skip to content

Commit

Permalink
Adds GPT4All as a local model option
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriyMulyar authored Aug 14, 2024
1 parent 33e6316 commit 2b92175
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/tasks/src/local-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,13 @@ export const LOCAL_APPS = {
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
deeplink: (model) => new URL(`https://models.invoke.ai/huggingface/${model.id}`),
},
gpt4all: {
prettyLabel: "GPT4All",
docsUrl: "https://nomic.ai/gpt4all",
mainTask: "text-generation",
displayOnModelPage: isGgufModel,
deeplink: (model) => new URL(`gpt4all://models/huggingface/${model.id}`),
},
} satisfies Record<string, LocalApp>;

export type LocalAppKey = keyof typeof LOCAL_APPS;

0 comments on commit 2b92175

Please sign in to comment.