

During the preview period, developers can try the PaLM API at no cost. This extension uses other Firebase and Google Cloud Platform services, which have associated charges if you exceed the service’s no-cost tier:Īdditionally, this extension uses the PaLM API, which is currently in public preview. You will be charged a small amount (typically around $0.01/month) for the Firebase resources required by this extension (even if it is not used).
HELP SUMMARIZE PARAGRAPH INSTALL
To install an extension, your project must be on the Blaze (pay as you go) plan. Once you have access, please enable the Generative Language API in your Google Cloud Project before installing this extension.Įnsure you have a Cloud Firestore database and Cloud Storage bucket set up in your Firebase project, and enabled the Generative Language API in your Google Cloud Project before installing this extension. If you have not already done so, you will first need to apply for access to the PaLM API via this waitlist. A social media platform could use this extension to provide summaries of user-generated content, improving content discoverability and user engagement.Ĭhanging the state field of a completed document’s status from COMPLETED to anything else will retrigger the extension for that document.
HELP SUMMARIZE PARAGRAPH FULL
A news website could use this extension to summarize articles, helping readers decide whether they want to invest their time in reading the full article.An e-commerce platform could use this extension to automatically generate summaries of customer feedback, giving customers a quick overview of the feedback before they decide whether to read the full content.Here are some examples of how this extension can be used: This extension can be used for a variety of use cases, including: Write the summary back to the triggering document in the response field.Call the PaLM API to generate a summary of the document field.This extension will listen to the specified collection for new document writes and execute the following logic: Response field: The name of the field in the document to store the summary.Target summary length (number of sentences): The desired length of the summary in sentences.Document field to summarize: The name of the document field to summarize.

