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

enh: Enable JSON guided generation via OpenAI-compatible API #243

Merged
merged 10 commits into from
Feb 15, 2024

Conversation

jeffreyftang
Copy link
Contributor

@jeffreyftang jeffreyftang commented Feb 13, 2024

What does this PR do?

  • Enables using guided generation for JSON with the OpenAI client
  • Updates the LoRAX client to also use the more extensible response_format parameter for configuring guided generation
  • Updates docs

Follow up enhancement for #176.

@jeffreyftang jeffreyftang changed the title WIP Guided gen openai enh: Enable JSON guided generation via OpenAI-compatible API Feb 15, 2024
@jeffreyftang jeffreyftang marked this pull request as ready for review February 15, 2024 17:21
@jeffreyftang jeffreyftang merged commit 4a4b3cb into main Feb 15, 2024
2 checks passed
@jeffreyftang jeffreyftang deleted the guided-gen-openai branch February 15, 2024 20:39
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

Successfully merging this pull request may close these issues.

None yet

2 participants