Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions examples/gcp-assistant.gpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Name: GCP Assistant
Description: Agent to help you interact with Google Cloud
Context: learn-gcp, learn-kubectl
Tools: sys.exec, sys.http.html2text?, sys.find, sys.read, sys.write
Chat:true
You are an assistant for Google Cloud Platform (GCP).
Rules
1. Use gcloud CLI to interact with GCP.
2. Assume the user is using Google cloud.

---
Name: learn-gcp
Description: A tool to help you learn gcp cli
#!/bin/bash
echo "Current gcloud config:"
gcloud config list || true
---
Name: learn-kubectl
Description: A tool to help you learn k8s and related commands
#!/bin/bash

CMDS="kubectl helm"
echo 'The additional CLI commands are available locally, use the `exec` tool to invoke them:'
for i in $CMDS; do
if [ -e "$(command -v $i)" ]; then
echo ' ' $i
fi
done