-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix typo's within converter.py #645
base: main
Are you sure you want to change the base?
Conversation
Fiexed Type errors attemps > attempts
@@ -64,7 +64,7 @@ def _create_instructor(self): | |||
|
|||
inst = Instructor( | |||
llm=self.llm, | |||
max_attemps=self.max_attemps, | |||
max_attemps=self.max_attempts, |
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 think we should check the "parameter" of the Instructor class max_attemps
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.
could not find reference to max_attemps anywhere else apart from tools_usage.py which has now been updated an commited to this PR
Updated line 293 max_attemps > max_attempts
@@ -22,7 +22,7 @@ class Converter(BaseModel): | |||
llm: Any = Field(description="The language model to be used to convert the text.") | |||
model: Any = Field(description="The model to be used to convert the text.") | |||
instructions: str = Field(description="Conversion instructions to the LLM.") | |||
max_attemps: Optional[int] = Field( | |||
max_attempts: Optional[int] = Field( | |||
description="Max number of attemps to try to get the output formated.", |
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.
Same typo here, right!?
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.
Also formated
.
Fiexed Type errors
attemps > attempts