Coder Social home page Coder Social logo

anupamjain16 / genai-apptemplates-googlecloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rominirani/genai-apptemplates-googlecloud

0.0 0.0 0.0 22.74 MB

Sample Applications to kickstart Generative AI Application Development on Google Cloud.

License: Apache License 2.0

JavaScript 1.28% Python 77.66% HTML 18.81% Dockerfile 2.24%

genai-apptemplates-googlecloud's Introduction

Sample Applications to accelerate your Gen AI Applications on Google Cloud

Looking to build Gen AI applications that integrate with Vertex AI PaLM Foundational models? Would you like to use utilize standard frameworks like Python Flask, Streamlit, Gradio to host these applications on Google Cloud? You have come to the right place.

The Sample Applications listed are provided as application templates that you can use. The key goal of these applications is to get you started quickly and help you understand how you can integrate the Vertex PaLM API and the necessary commands to deploy these applications to Google Cloud.

You can go through the various applications and pick an application or two that interests you. Click on any of the applications to see detailed documentation, sample template and instructions to deploy on Google Cloud.

Environment Setup

We provide instructions for setting up your environment in Cloud Shell. Before you run any of the sample applications, ensure that you have followed the instructions in SETUP.md.

Sample Applications

Requirement Application Name Technologies Used
Develop a chat application using Python Flask framework and Vertex AI PaLM API model. chat-flask-cloudrun Cloud Run, Python Flask
Develop a chat application using Gradio framework and Vertex AI PaLM API model. chat-gradio Cloud Run, Gradio, Python
Develop a chat application using Streamlit framework and Vertex AI PaLM API model. chat-streamlit Cloud Run, Streamlit, Python
Provide an API for the Vertex AI PaLM Code Model for your client applications. code-predict-cloudfunction Cloud Functions v2, Python
Provide an API for the Vertex AI PaLM Text Model for your client applications. text-predict-cloudfunction Cloud Functions v2, Python
Develop an Event-Driven application that processes uploaded files and summarizes their content. If you are looking for a detailed summarization solution with reference architecture, refer to our Jump Start Solution - Generative AI Document Summarization. summarization-gcs-cloudfunction Cloud Functions v2, Cloud Storage, Python
Develop a Slack Slash Command that helps summarize text for the user. summarization-slack Cloud Functions v2, Python
Develop a Apps Script function to summarize text inside a Google Doc. summarization-appsscript Cloud Functions v2, Python, Apps Script
Develop a Chrome Extension that works with PaLM API. wordlookup-chromeextension Cloud Functions v2, Python, HTML, CSS, JavaScript

(Optional) Using the Custom Samples via Cloud Code for VS Code plugin

If you would prefer not to use Cloud Shell and would like to utilize a Developer IDE like VS Code, we are provided support for importing and running/deploying these applications within your IDE environment.

Cloud Code for VS Code provides IDE support for the full development cycle of Kubernetes and Cloud Run applications, from creating a cluster to running your finished application. We are providing the entire list of applications in the form of custom applications that you can import directly into VS Code in which you have configured Cloud Code.

Assuming that you have Visual Studio Code and the Cloud Code plugin setup, click on the Cloud Code link in the status bar.

  • Click on New Application
  • Select Custom Application
  • When asked for the Git Repository URL, enter the URL of this repository: https://github.com/rominirani/genai-apptemplates-googlecloud
  • You will shown all the projects. Select one of your choice.
  • Complete the rest of the steps to import the projects into Visual Studio Code.

Check the screencast below:

genai-apptemplates-googlecloud's People

Contributors

rominirani avatar palladius avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.