-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed as not planned
Labels
Description
Error:
openai.UnprocessableEntityError: Error code: 422 - {'detail': [{'loc': ['body', 'user'], 'msg': 'field required', 'type': 'value_error.missing'}
need to take this user from env and then send it to azure for bridgeIT:
response = client.chat.completions.create(
model="gpt-35-turbo", # model = "deployment_name".
messages=message_with_history,
user=f'{{"appkey": "{app_key}"}}'
)
Need User parameter in the API.
There's no way to pass the parameter.
Reactions are currently unavailable