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
In the gpt 4 vision example, This.
When I change the order of the inputs of Literal class from ["escalate_to_agent", "replace_order", "refund_order"] to ["escalate_to_agent", "refund_order", "replace_order"] keeping the other code exactly same. I start getting the error
Traceback (most recent call last):
File "/home/yakul/ai-dialog-box/vision.py", line 153, in
print(delivery_exception_support_handler("good_package").action)
File "/home/yakul/ai-dialog-box/vision.py", line 143, in delivery_exception_support_handler
for tool in function_calls:
File "/home/yakul/.local/lib/python3.10/site-packages/instructor/dsl/parallel.py", line 47, in from_response
yield self.registry[name].model_validate_json(
KeyError: 'escalate_to_agent'
for the a package image that is in good condition
Is there any obvious reason for this that I am missing. I am a beginner and any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
In the gpt 4 vision example, This.
When I change the order of the inputs of Literal class from ["escalate_to_agent", "replace_order", "refund_order"] to ["escalate_to_agent", "refund_order", "replace_order"] keeping the other code exactly same. I start getting the error
Traceback (most recent call last):
File "/home/yakul/ai-dialog-box/vision.py", line 153, in
print(delivery_exception_support_handler("good_package").action)
File "/home/yakul/ai-dialog-box/vision.py", line 143, in delivery_exception_support_handler
for tool in function_calls:
File "/home/yakul/.local/lib/python3.10/site-packages/instructor/dsl/parallel.py", line 47, in from_response
yield self.registry[name].model_validate_json(
KeyError: 'escalate_to_agent'
for the a package image that is in good condition
Is there any obvious reason for this that I am missing. I am a beginner and any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: