Replies: 1 comment
-
@shhlife you can pass in import os
from griptape.drivers.prompt.griptape_cloud import GriptapeCloudPromptDriver
from griptape.rules import Rule
from griptape.structures import Agent
agent = Agent(
prompt_driver=GriptapeCloudPromptDriver(api_key=os.environ["GT_CLOUD_API_KEY"], extra_params={"seed": 42}),
rules=[
Rule(
"You will be provided with a product description and seed words, and your task is to generate product names.",
),
],
)
agent.run("Product description: A home milkshake maker. Seed words: fast, healthy, compact.") |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Giving the GriptapeCloudPromptDriver a try, I noticed that
seed
wasn't available, even though it's available for gpt-4o. Can we ensure all available parameters are available for the given models?Beta Was this translation helpful? Give feedback.
All reactions