We will create a pydantic object that can be casted as a json schema, used for function calling in OpenAI.

The pydantic object we create do not do anything. We just use it to create json schema.

For more details, refer Function Calling > OpenAISchema Powered by Pydantic section