diff --git a/docs/index.md b/docs/index.md index 927001c..0f42ac9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -52,10 +52,12 @@ First, import the required libraries and apply the patch function to the OpenAI ```python import openai +import instructor from pydantic import BaseModel -from instructor import patch -patch() +# This enables response_model keyword +# from openai.ChatCompletion.create +instructor.patch() ``` ### Step 2: Define the Pydantic Model @@ -262,4 +264,4 @@ To see more examples of how we can create interesting models check out some [exa ## License -This project is licensed under ther terms of the MIT License. \ No newline at end of file +This project is licensed under ther terms of the MIT License.