-
Notifications
You must be signed in to change notification settings - Fork 315
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
[feat] add async guard support to langchain integration #1046
Comments
How does this fail currently? |
sys:1: RuntimeWarning: coroutine 'AsyncGuard.validate' was never awaited |
That makes sense, looks like we need overloads for Async in here: https://github.com/guardrails-ai/guardrails/blob/main/guardrails/integrations/langchain/guard_runnable.py |
is this on the roadmap? |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
unstale! back on the roadmap |
Description
currently can not use AsyncGuard with the langchain integration
Why is this needed
[If you have a concrete use case, add details here.]
Implementation details
That makes sense, looks like we need overloads for Async in here: https://github.com/guardrails-ai/guardrails/blob/main/guardrails/integrations/langchain/guard_runnable.py
Or probably a different AsyncGuardRunnable class
End result
should execute correctly
The text was updated successfully, but these errors were encountered: