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

Add stop sequence parameter for controlled generation #41

Open
Itinte opened this issue Jan 16, 2024 · 3 comments
Open

Add stop sequence parameter for controlled generation #41

Itinte opened this issue Jan 16, 2024 · 3 comments

Comments

@Itinte
Copy link

Itinte commented Jan 16, 2024

Description:

It would be valuable to include a stop sequence parameter in the API client to facilitate controlled generation termination.

Reference Implementation:
Referencing OpenAI's implementation, please check: OpenAI API Reference - Chat Create Stop

Use Case:
This feature becomes crucial when working with agents, allowing users to halt generation at precise steps

discord topic

@sbarman-mi9
Copy link

I second this. It's much needed.

@yquemener
Copy link

yquemener commented Feb 22, 2024

Adding to this. For now that limits my usage of Mistral API. I have tons of requests to do with very short yes/no answers. For now local hosting is my only solution sadly (and I can't try medium on my workload).

@failable
Copy link

failable commented Jul 8, 2024

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants