The notebook for the first lab is not working with error

Hi!

Whenever i run the notebook for the overview of llm vulnerabilities i get the following error:

BadRequestError: Error code: 400 - {'error': {'message': "Unsupported value: 'temperature' does not support 0.1 with this model. Only the default (1) value is supported.", 'type': 'invalid_request_error', 'param': 'temperature', 'code': 'unsupported_value'}}
2 Likes

Hi! Thanks for reporting!
I’ve got this in Lesson 1: Overview of LLM Vulnerabilities

Let me check it with the team and fix it!

Just for consideration, this course was released in April, 2024 using OPENAI_MODEL = “gpt-3.5-turbo” and up to date this model might not be compatible anymore with those temperature values. We’re evaluating the best gpt model that might be the best replacement for the notebooks for correct functioning.

I’ll keep you updated!

Lesly - DLAI

Any updates on this?

1 Like

let me double check. thanks for the message!