diff options
author | Ty Dunn <ty@tydunn.com> | 2023-09-30 12:35:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-30 12:35:46 -0700 |
commit | cc396503cb0322dda2cf97a13737bb346ff8d8d7 (patch) | |
tree | f01c74b33ef831a022906abf9393353ff9fa871e /extension/react-app/src/util/modelData.ts | |
parent | 87e4a6289c3cbb54d4c227b90640ae77aa7cebc1 (diff) | |
download | sncontinue-cc396503cb0322dda2cf97a13737bb346ff8d8d7.tar.gz sncontinue-cc396503cb0322dda2cf97a13737bb346ff8d8d7.tar.bz2 sncontinue-cc396503cb0322dda2cf97a13737bb346ff8d8d7.zip |
adding support for the google palm api (#524)
* adding support for palm api
* docs: :bug: update modelData to new format
---------
Co-authored-by: Nate Sesti <sestinj@gmail.com>
Diffstat (limited to 'extension/react-app/src/util/modelData.ts')
-rw-r--r-- | extension/react-app/src/util/modelData.ts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extension/react-app/src/util/modelData.ts b/extension/react-app/src/util/modelData.ts index 615cbb79..91259446 100644 --- a/extension/react-app/src/util/modelData.ts +++ b/extension/react-app/src/util/modelData.ts @@ -387,6 +387,36 @@ After it's up and running, you can start using Continue.`, packages: [llama2FamilyPackage], collectInputFor: [contextLengthInput], }, + palm: { + title: "Google PaLM API", + class: "GooglePaLMAPI", + description: + "Try out the Google PaLM API, which is currently in public preview, using an API key from Google Makersuite", + longDescription: `To get started with Google Makersuite, obtain your API key from [here](https://developers.generativeai.google/products/makersuite) and paste it below. +> Note: Google's PaLM language models do not support streaming, so the response will appear all at once after a few seconds.`, + icon: "google-palm.png", + tags: [ModelProviderTag["Requires API Key"]], + collectInputFor: [ + { + inputType: CollectInputType.text, + key: "api_key", + label: "API Key", + placeholder: "Enter your MakerSpace API key", + required: true, + }, + ], + packages: [ + { + title: "chat-bison-001", + description: + "Google PaLM's chat-bison-001 model, fine-tuned for chatting about code", + params: { + model: "chat-bison-001", + context_length: 8000, + }, + }, + ], + }, hftgi: { title: "HuggingFace TGI", class: "HuggingFaceTGI", |