Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cohere prompt driver won't return basic example #29

Closed
kyleroche opened this issue May 13, 2023 · 0 comments · Fixed by #81
Closed

cohere prompt driver won't return basic example #29

kyleroche opened this issue May 13, 2023 · 0 comments · Fixed by #81
Labels
bug Something isn't working

Comments

@kyleroche
Copy link
Member

using default example prompt from cohere generate api docs, getting empty output

agent = Agent(
    prompt_driver=CoherePromptDriver(
        api_key="key here"
    ),
    #rulesets=[ruleset],
    memory=Memory()
)

result = agent.run("one upon a time in a land called")
print(result.output.to_text())
@kyleroche kyleroche added the bug Something isn't working label May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant