-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Refactor LLM Types #383
Refactor LLM Types #383
Conversation
🦋 Changeset detectedLatest commit: 247a844 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
lfg lfg lfg lfg 🧹 great cleanup
@@ -39,7 +35,7 @@ export class AnthropicClient extends LLMClient { | |||
this.clientOptions = clientOptions; | |||
} | |||
|
|||
async createChatCompletion<T = AnthropicTransformedResponse>( | |||
async createChatCompletion<T = LLMResponse>( |
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.
finally 🙏🙏🙏🙏🙏
why
We want to reduce dependency on OpenAI types as we continue to add more models
what changed
Added unifying types for LLM inputs and outputs
test plan
Existing evals