From cc396503cb0322dda2cf97a13737bb346ff8d8d7 Mon Sep 17 00:00:00 2001
From: Ty Dunn <ty@tydunn.com>
Date: Sat, 30 Sep 2023 12:35:46 -0700
Subject: 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>
---
 extension/react-app/src/components/ModelSelect.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'extension/react-app/src/components/ModelSelect.tsx')

diff --git a/extension/react-app/src/components/ModelSelect.tsx b/extension/react-app/src/components/ModelSelect.tsx
index 9dd3f489..6856a2cf 100644
--- a/extension/react-app/src/components/ModelSelect.tsx
+++ b/extension/react-app/src/components/ModelSelect.tsx
@@ -68,6 +68,14 @@ const MODEL_INFO: { title: string; class: string; args: any }[] = [
       hf_token: "<HUGGING_FACE_TOKEN>",
     },
   },
+  {
+    title: "Google PaLM API",
+    class: "GooglePaLMAPI",
+    args: {
+      model: "chat-bison-001",
+      api_key: "<MAKERSUITE_API_KEY>",
+    },
+  },
   {
     title: "LM Studio",
     class: "GGML",
-- 
cgit v1.2.3-70-g09d2