Skip to content

Commit

Permalink
Update instructor_ex.py - fix typo
Browse files Browse the repository at this point in the history
Fix minor typos in `instructor_ex.py` docstring
  • Loading branch information
CharlieJCJ authored Oct 22, 2024
1 parent da21bb8 commit 811c2a2
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 811c2a2

Please sign in to comment.