-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't workinginternalInternal core code stuffInternal core code stuff
Description
Reproduce:
import declarai
gpt_35 = declarai.openai(model="gpt-3.5-turbo")
default_ranking_criterion = "urgency"
@gpt_35.task
def rank_by(message: str, ranking_criterion: str = default_ranking_criterion) -> int:
"""
Rank the provided message by the given ranking criterion.
Ranks range from 1-5, with 5 being the highest.
:param message: The message to rank
:return: The rank from 1-5
"""
rank_by(message="The server is down!")
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginternalInternal core code stuffInternal core code stuff