You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This currently errors out during parsing of aligns
class Location(BaseModel):
"""A representation of a US city and state"""
city: str = Field(description="The city's proper name")
state: str = Field(description="The state's two-letter abbreviation (e.g. NY)")
@Monkey.patch
def construct_object_1(input: str) -> Location:
"""
Using the input, construct the output model in the type hint
"""
@Monkey.align
def align():
assert construct_object_1("The Windy City") == Location(city="Chicago", state="IL")
Reason is it is saved as this into the align dataset "{'args': ('The Windy City',), 'kwargs': {}, 'output': Location(city='Chicago', state='IL')}\r"
The text was updated successfully, but these errors were encountered:
This currently errors out during parsing of aligns
Reason is it is saved as this into the align dataset
"{'args': ('The Windy City',), 'kwargs': {}, 'output': Location(city='Chicago', state='IL')}\r"
The text was updated successfully, but these errors were encountered: