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

Feature/issue 451 default config #538

Merged
merged 6 commits into from
Jul 5, 2024

Conversation

Pouyanpi
Copy link
Collaborator

@Pouyanpi Pouyanpi commented Jun 4, 2024

Summary

Implemented support for a default configuration in the Guardrails server, enabling automatic fallback to a predefined config when no config_id is specified in API request. It resolves #451.

Changes

  • Default Configuration Support: Added the capability to use the --default-config-id flag to set a default configuration.
  • Documentation and Testing: Updated documentation and added tests to cover the new default_config_id functionality.

@Pouyanpi Pouyanpi requested a review from drazvan June 4, 2024 14:21
Copy link
Collaborator

@drazvan drazvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍.

@drazvan drazvan merged commit 9974d06 into develop Jul 5, 2024
3 checks passed
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.

Use default config_id for completions endpoint
2 participants