Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/prandogabriel/talk-gcp-serverless-with-ai
- Owner: prandogabriel
- Created: 2024-08-26T23:32:15.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-05T11:28:14.000Z (2 months ago)
- Last Synced: 2024-09-06T06:29:26.412Z (2 months ago)
- Language: HTML
- Size: 9.35 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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
```