Skip to content

Commit 977c301

Browse files
committed
added Google Gemini client, env file, added prompt example in notebook
Signed-off-by: Jules Damji <[email protected]>
1 parent 9d888e6 commit 977c301

File tree

5 files changed

+379
-7
lines changed

5 files changed

+379
-7
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
<img src=images/gen_ai_cookbook_img_1.png>
77

8-
Welcome to a mixture of Gen AI cookbook **how-to** recipes for Gen AI applications. These simple guides span across get-started examples on LLM prompting strategies, DSPy, building simple chatbots, retrieval generation augmentation (RAGs), LLM-based applications on OpenAI, Anthropic, or Anyscale Endpoints, etc.
8+
Welcome to a mixture of Gen AI cookbook **how-to** recipes for Gen AI applications. These simple guides span across get-started examples on LLM prompting strategies, DSPy, building simple chatbots, retrieval generation augmentation (RAGs), LLM-based applications on OpenAI, Anthropic, Gemini, or Anyscale Endpoints, etc.
99

10-
You'll find examples code and/or guides for common tasks using the OpenAI API, Anthropic, Pinecone, Anyscale Endpoints and [Ray framework](https://www.ray.io/).
10+
You'll find examples code and/or guides for common tasks using the OpenAI API, Anthropic, Google Gemini, Pinecone, Anyscale Endpoints and [Ray framework](https://www.ray.io/).
1111

1212
To try these examples, you'll need an [OpenAI](https://platform.openai.com/docs/introduction) account and an associated API key, [Anthropic](https://docs.anthropic.com/claude/docs/intro-to-claude), [Pinecone](https://www.pinecone.io/pricing/), or an [Anyscale Endpoint](https://www.anyscale.com/get-started) account and an associated key. Even better, install [OLlama](https://ollama.com/) on your laptop.
1313

Diff for: env/env_google_template

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export LLM_SERVICE_PROVIDER="google"
2+
GOOGLE_API_KEY="YOUR_API_KEY_TOKEN_HERE"
3+
export MODEL="gemini-1.5-flash""
4+
export GOOGLE_API_KEY="YOUR_API_KEY_TOKEN_HERE"
5+
export WEATHER_API_KEY="YOUR_API_KEY_TOKEN)_HERE"

0 commit comments

Comments
 (0)