Skip to content

Commit

Permalink
Merge pull request #328 from CharlieJCJ/patch-1
Browse files Browse the repository at this point in the history
Update `instructor_ex.py` - fix typo
  • Loading branch information
MadcowD authored Oct 24, 2024
2 parents 4cc62ec + 811c2a2 commit 7edb3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/providers/instructor_ex.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

class InstructorProvider(OpenAIProvider):
def translate_to_provider(self, *args, **kwargs):
""" This translates ell call param,eters to the provider call parameters. IN this case instructor is jsut an openai client.
""" This translates ell call parameters to the provider call parameters. In this case instructor is just an openai client,
so we can use the openai provider to do the translation. We just need to modify a few parameters because instructor doesn't support streaming."""
api_params= super().translate_to_provider(*args, **kwargs)
# Streaming is not allowed by instructor.
Expand Down

0 comments on commit 7edb3c5

Please sign in to comment.