Skip to content

Implementing a basic AsyncGuard to logically separate out async calls from Guard() into a new client #767

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

Merged
merged 9 commits into from
May 17, 2024
2 changes: 2 additions & 0 deletions guardrails/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Set up __init__.py so that users can do from guardrails import Response, Schema, etc.

from guardrails.guard import Guard
from guardrails.async_guard import AsyncGuard
from guardrails.llm_providers import PromptCallableBase
from guardrails.logging_utils import configure_logging
from guardrails.prompt import Instructions, Prompt
Expand All @@ -10,6 +11,7 @@

__all__ = [
"Guard",
"AsyncGuard",
"PromptCallableBase",
"Rail",
"Validator",
Expand Down
Loading