Skip to content

An AI-powered search engine with a generative UI

chore: Add support for Google Generative AI API

Yoshiki Miura4cf7bf9f16de
diff --git a/.env.local.example b/.env.local.example
index 816934b0..3174839a 100644
--- a/.env.local.example
+++ b/.env.local.example
@@ -23,6 +23,10 @@ UPSTASH_REDIS_REST_TOKEN=[YOUR_UPSTASH_REDIS_REST_TOKEN]
# If not set, the default is gpt-4o.
# OPENAI_API_MODEL='gpt-4o'
+# If you want to use Google Generative AI instead of OpenAI, enable the following settings.
+# Google Generative AI API key retrieved here: https://aistudio.google.com/app/apikey
+# GOOGLE_GENERATIVE_AI_API_KEY=[YOUR_GOOGLE_GENERATIVE_AI_API_KEY]
+
# Only writers can set a specific model. It must be compatible with the OpenAI API.
# USE_SPECIFIC_API_FOR_WRITER=true
# SPECIFIC_API_BASE=
diff --git a/README.md b/README.md
index 3be42517..d8c609f4 100644
--- a/README.md
+++ b/README.md
@@ -15,14 +15,14 @@ Please note that there are differences between this repository and the official
- 🌐 [Deploy](#-deploy)
- βœ… [Verified models](#-verified-models)
-### πŸš— Roadmap [WIP]
+### πŸš— Roadmap
-- [x] Enable specifying the model to use (only writer agent)
+- [x] Enable specifying the model to use ([only writer agent](https://github.com/miurla/morphic/pull/58))
- [x] Implement search history functionality
- [x] Develop features for sharing results
- [x] Implement functionality to get answers from specified URL
- [x] Add video support for search functionality
-- [ ] Implement RAG support
+- [x] Support Google Generative AI Provider ([Note](https://github.com/miurla/morphic/issues/192))
## 🧱 Stack