Skip to content

Allow String prompt in ChatClient #1287

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

Closed
wants to merge 1 commit into from

Conversation

ThomasVitale
Copy link
Contributor

Allow simple prompts as String when using the ChatClient.

var response = chatClient.prompt("What did Gandalf say to the Balrog?")
                         .call()
                         .content();

Fixes gh-1286

@tzolov
Copy link
Contributor

tzolov commented Sep 23, 2024

Rebased, squashed and merged at acb31e7

@tzolov tzolov closed this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ChatClient] Allow simple String prompts for convenient onboarding
3 participants