-
Notifications
You must be signed in to change notification settings - Fork 20
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
Feature/3 provider openai #13
Conversation
go.sum
Outdated
@@ -0,0 +1,2 @@ | |||
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= |
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.
Do we want to install it temporarily until we have #11 done?
For that, you need to do go get ...
again and make sure go.mod is updated as well
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.
I removed the dependency as it wasn't being used.
FunctionCall: ConfigItem{ | ||
Param: "function_call", | ||
}, | ||
MaxTokens: NumericConfigItem{ |
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.
Would be good to investigate if there any Pydantic-like validation in Golang, so these basic validations are done for us out-of-the-box.
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.
I'll explore this
@@ -0,0 +1,119 @@ | |||
package openai | |||
|
|||
type ProviderConfig struct { |
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.
Wondering what part of these wide variety of configs should be passed in realtime and what would be set up in the service config
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.
Moved this convo to Discord
open api chat endpoint schema & general api schema