-
Notifications
You must be signed in to change notification settings - Fork 31
genai-function-calling: add openai-agents python via OpenInference #55
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
Conversation
|
openinference is now sorted (stellar turnaround). leaving draft for the other topics. Thanks |
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
1936295 to
22d8d6b
Compare
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
|
added a test as this library changes frequently, but should make the same HTTP requests to openai and the versions endpoint. if something changes, this will detect it. |
| Args: | ||
| major_version: Major version to filter by (e.g. 7, 8). Defaults to latest | ||
| """ | ||
| async with AsyncClient() as client: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anuraaga fyi interesting quirk is that if sync VCR doesn't record it. when I set everything async, it does. I didn't get the the bottom of why, but in any case doesn't hurt to make things async since that's the underlying client anyway
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>


This adds an openai-agents python example via OpenInference.
Note: this is using a git ref for openai-agents as it might not be released by the RHUG tomorrow.