Opper AI
Setting Up An LLM Access Platform With $10 Credits Per Month
Last updated
Setting Up An LLM Access Platform With $10 Credits Per Month
Last updated
pt secret set opper-api-key YOUR_OPPER_API_KEYdef bake_response(messages):
response, _ = opper.call(
name="generate_response",
instructions="Generate a helpful, friendly but brief response to the user's message in the conversation.",
input={"messages": messages},
output_type=str,
)
return response