-
Notifications
You must be signed in to change notification settings - Fork 5
[DRAFT] Dev/OpenAI #263
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
base: main
Are you sure you want to change the base?
[DRAFT] Dev/OpenAI #263
Conversation
ygefen
left a comment
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.
@dmjoy Your thoughts would be appreciated
dmjoy
left a comment
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.
Looking good so far, and good questions. Let me know if anything is still unclear. I'm assuming that the extra requirements needed for the openai dependency are fairly light? Assuming the answer is yes we can go with it for now, some part of me likes the idea of just using requests or some other generic HTTP request library to truly decouple, but that's probably not worth it.
|
|
||
| self.responses_kwargs = { | ||
| "model": self.model, | ||
| "reasoning": {"effort": "medium", "summary": "auto"}, |
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.
These might make more sense to go in the init args for the class, but fine to leave here for this first version.
Code & Config to utilize OpenAI API