Skip to content

Commit

Permalink
chore(*): update changelogs (#367)
Browse files Browse the repository at this point in the history
* feat(firestore-genai-chatbot): switch to string param for model

* feat(*): update changelogs, add publish scripts
  • Loading branch information
cabljac committed Feb 12, 2024
1 parent 4095be7 commit a64c0a9
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 6 deletions.
4 changes: 4 additions & 0 deletions firestore-genai-chatbot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
## Version 0.0.6

- Make model a string param, to allow for future changes to model names.

- Add maxOutputTokens parameter

- Update documentation

- Add safety threshold params

## Version 0.0.5

- Add Vertex AI provider
Expand Down
2 changes: 1 addition & 1 deletion firestore-genai-chatbot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ This extension uses other Firebase and Google Cloud Platform services, which hav

* Google AI API Key: If you have selected Google AI as your provider, then this parameteris required. If you have instead selected Vertex AI, then this parameter is not required, and application default credentials will be used.

* Generative model: Which genai model do you want to use? For Google AI the list of supported models is [here](https://ai.google.dev/models/gemini), and this parameter should be set to the model name, the second segment of the model code (for example models/gemini-pro should be chosen as gemini-pro). For Vertex AI, there is a list of models [here](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models).
* Generative model: Which genai model do you want to use? For Google AI the list of supported models is [here](https://ai.google.dev/models/gemini), and this parameter should be set to the model name, the second segment of the model code (for example models/gemini-pro should be chosen as gemini-pro). For Vertex AI, there is a list of models [here](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models), currently only the Gemini family of models listed there is supported.

* Collection Path: Path to the Firestore collection which will represent a chat with the generative model.

Expand Down
3 changes: 2 additions & 1 deletion firestore-genai-chatbot/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ params:
should be set to the model name, the second segment of the model code (for
example models/gemini-pro should be chosen as gemini-pro). For Vertex AI,
there is a list of models
[here](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models).
[here](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models),
currently only the Gemini family of models listed there is supported.
type: string
required: true
default: gemini-pro
Expand Down
3 changes: 2 additions & 1 deletion firestore-genai-chatbot/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"build": "tsc -p tsconfig.build.json",
"build:watch": "tsc -p tsconfig.build.json --watch",
"generate-readme": "firebase ext:info .. --markdown > ../README.md",
"test": "jest --runInBand"
"test": "jest --runInBand",
"publish-from-main": "firebase ext:dev:upload googlecloud/firestore-genai-chatbot --repo=https://github.com/googlecloudplatform/firebase-extensions --root=firestore-genai-chatbot --ref=main --project pub-ext-gcloud"
},
"main": "lib/index.js",
"dependencies": {
Expand Down
4 changes: 4 additions & 0 deletions firestore-multimodal-genai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
## Version 0.0.4

- Make model a string param, to allow for future changes to model names.

- Update documentation

- Add safety threshold params

## Version 0.0.3

- Add Vertex AI provider
Expand Down
2 changes: 1 addition & 1 deletion firestore-multimodal-genai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ This extension uses other Firebase and Google Cloud Platform services, which hav

* Gemini API Provider: This extension makes use of the Gemini family of generative models. For Google AI you will require an API key, whereas Vertex AI will authenticate using application default credentials. For more information see the [docs](https://firebase.google.com/docs/admin/setup#initialize-sdk).

* Generative model: Which genai model do you want to use? For Google AI the list of supported models is [here](https://ai.google.dev/models/gemini), and this parameter should be set to the model name, the second segment of the model code (for example models/gemini-pro should be chosen as gemini-pro). For Vertex AI, there is a list of models [here](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models).
* Generative model: Which genai model do you want to use? For Google AI the list of supported models is [here](https://ai.google.dev/models/gemini), and this parameter should be set to the model name, the second segment of the model code (for example models/gemini-pro should be chosen as gemini-pro). For Vertex AI, there is a list of models [here](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models), currently only the Gemini family of models listed there is supported.

* Google AI API Key: If you have selected Google AI as your provider, then this parameteris required. If you have instead selected Vertex AI, then this parameter is not required, and application default credentials will be used.

Expand Down
3 changes: 2 additions & 1 deletion firestore-multimodal-genai/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ params:
should be set to the model name, the second segment of the model code (for
example models/gemini-pro should be chosen as gemini-pro). For Vertex AI,
there is a list of models
[here](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models).
[here](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models),
currently only the Gemini family of models listed there is supported.
type: string
required: true
default: gemini-pro
Expand Down
3 changes: 2 additions & 1 deletion firestore-multimodal-genai/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"build": "tsc -p tsconfig.build.json",
"build:watch": "tsc -p tsconfig.build.json --watch",
"generate-readme": "firebase ext:info .. --markdown > ../README.md",
"test": "jest --runInBand"
"test": "jest --runInBand",
"publish-from-main": "firebase ext:dev:upload googlecloud/firestore-multimodal-genai --repo=https://github.com/googlecloudplatform/firebase-extensions --root=firestore-multimodal-genai --ref=main --project pub-ext-gcloud"
},
"main": "lib/index.js",
"dependencies": {
Expand Down

0 comments on commit a64c0a9

Please sign in to comment.