From 2294589f7fd3a69034915f097a6f1740dbb5c7de Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 26 Sep 2023 12:47:16 -0700 Subject: [PATCH] docs --- docs/my-website/docs/providers/palm.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/my-website/docs/providers/palm.md b/docs/my-website/docs/providers/palm.md index 2287d40d366..8519863f086 100644 --- a/docs/my-website/docs/providers/palm.md +++ b/docs/my-website/docs/providers/palm.md @@ -2,10 +2,7 @@ https://developers.generativeai.google/products/palm ## Pre-requisites -* `pip install google-cloud-aiplatform` -* Authentication: - * run `gcloud auth application-default login` See [Google Cloud Docs](https://cloud.google.com/docs/authentication/external/set-up-adc) - * Alternatively you can set `application_default_credentials.json` +* `pip install -q google-generativeai` ## Sample Usage ```python @@ -36,6 +33,6 @@ for chunk in response: ``` ## Chat Models -| Model Name | Function Call | -|------------------|--------------------------------------| -| chat-bison | `completion('palm/chat-bison', messages)` | \ No newline at end of file +| Model Name | Function Call | Required OS Variables | +|------------------|--------------------------------------|-------------------------| +| chat-bison | `completion('palm/chat-bison', messages)` | `os.environ['PALM_API_KEY']` |