Skip to content

Mregojos/GCP-LLM-Deployment

Repository files navigation

Generative AI (Multimodal Model) Deployment

Overview

  • This project demonstrates how to build, deploy, and test web apps with Generative AI (Multimodal Model).

Objective

  • To develop web apps and cli with Generative AI (multimodal model)
  • To evaluate the capabilities of the new multimodal model
  • To integrate a database for storing prompts and output history
  • To deploy the web app using Google Cloud services

Multimodal

  • What is Generative AI (Multimodal Model)?
    • Generative AI (Multimodal Model) is capable of understanding and generating text, code, images, videos, and more.

Tech Stack

  • Google Cloud, Vertex AI Models, Python, Streamlit, PostgreSQL, Psycopg

Prerequisite

  • Google Cloud Account
  • Google Cloud Owner Role

Setup / Getting Started

For Multimodal Agent / Chatbot (One-Turn / Multi-Turn)

# Use Cloud Shell, Compute Engine Instance, or Vertex AI Workbench, or Local IDE
# Make sure to authenticate gcloud command

# Clone the repository
git clone <REPO NAME>

# Set the environment variables; Change the variables according to your needs
source app-env.sh

# Deploy the app using Google Cloud Services
sh app-infra-automation.sh

# For development purposes
sh app-dev.sh

# To test the database connection and app availability
make run_test

# Cleanup
sh app-cleanup.sh
sh app-dev-cleanup.sh

---
# Alternatively, use makefile
# Set the environment variables
source app-env.sh

# Deploy the app using Google Cloud Services
make infra_setup

# For development purposes
make run_dev

# To test the database connection and app availability
make run_test

# Cleanup
make cleanup
make run_dev_cleanup

For AI-Powered Cloud Toolkit and Generative AI (Multimodal Model) in Terminal (CLI)

# AI-Powered Cloud Toolkit 
sh app-toolkit.sh 
# Cleanup
sh app-toolkit-cleanup.sh

# Generative AI (Multimodal Model) in Terminal (CLI)
cd app-cli
# README.md
# Cleanup
sh app-cli-cleanup.sh

Screenshot (Multimodal Agent / Chatbot)

Screenshot


Resources


Disclaimer

  • This project is for demonstration purposes only.
  • The models in the project are works in progress and may have biases and errors.
  • The author of the project is not responsible for any damages and losses resulting from the use of this project.
  • This project is not endorsed or affiliated with Google Cloud Platform.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published