Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prandogabriel/talk-gcp-serverless-with-ai

Repo com código de exemplo utilizando serverless e IA na GCP com cloud run functions
https://github.com/prandogabriel/talk-gcp-serverless-with-ai

Last synced: 25 days ago
JSON representation

Repo com código de exemplo utilizando serverless e IA na GCP com cloud run functions

Awesome Lists containing this project

README

        

#

```bash
go mod tidy
make run-local
curl localhost:8080
```

```bash
pack build \
--builder gcr.io/buildpacks/builder:v1 \
--env GOOGLE_FUNCTION_SIGNATURE_TYPE=http \
--env GOOGLE_FUNCTION_TARGET=HelloAI \
my-first-function
```

```bash
gcloud functions deploy $FUNCTION_NAME \
--gen2 \
--project $YOUR_PROJECT_ID \
--runtime=go121 \
--region=us-east1 \
--source=. \
--entry-point=HelloAI \
--trigger-http \
--allow-unauthenticated
```