Create and deploy a simple WeatherChecker using the Truffle SDK
src/app/main.py
and replace its contents with:
"system_prompt"
key to the src/config/manifest.json
file. This allows you to provide specific instructions or context to the LLM about how your app should behave. This field is not generated by truffle init
but can be added manually.requests
is listed in src/config/requirements.txt
:
truffle build
bundles your code into a deployable .truffle
file.truffle upload
deploys it to your personal cloud instance, or your connected Truffle hardware.What’s the weather in New York?The Agent will invoke your
get_weather("New York")
tool and return something like:
New York: 🌤 80°F