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

feat: implements on topic guardrail #144

Closed
wants to merge 1 commit into from
Closed

Conversation

ErezSha
Copy link

@ErezSha ErezSha commented Jul 4, 2024

implements an on_topic guardrail for the graph

implements an on_topic guardrail for the graph
@ErezSha ErezSha force-pushed the feat/on_topic_guardrail branch from 4463553 to 4234183 Compare July 4, 2024 12:02
@asaf
Copy link
Contributor

asaf commented Jul 5, 2024

@ErezSha Is this another LLM call and going to increase latency? we'r already at > 20s

@ErezSha
Copy link
Author

ErezSha commented Jul 5, 2024

That's the only way to do it reliably. It calls gpt-4o, so it's faster.
Also, it's happening asynchronously, in parallel, with the other call entry point makes, so it's doesn't increase latency.

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.

2 participants