From cb630d42dd77630728e535edaa30e0ef55e1a1fa Mon Sep 17 00:00:00 2001 From: sandeshgorde Date: Thu, 9 Jul 2026 22:45:41 +0530 Subject: [PATCH] docs: add openai install note be LLM quickstart fixes #1898 --- quickstart_llm.mdx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/quickstart_llm.mdx b/quickstart_llm.mdx index 9a03bec..5a96fdb 100644 --- a/quickstart_llm.mdx +++ b/quickstart_llm.mdx @@ -82,7 +82,13 @@ We'll evaluate the answers for: Each evaluation is a `descriptor`. It adds a new score or label to each row in your dataset. -For LLM-as-a-judge, we'll use OpenAI GPT-4o mini. Set OpenAI key as an environment variable: +For LLM-as-a-judge, we'll use OpenAI GPT-4o mini. This requires the `openai` package, which is not installed by default: + +```python +!pip install openai +``` + +Set OpenAI key as an environment variable: ```python ## import os @@ -249,6 +255,4 @@ You can implement custom criteria using built-in LLM judge templates. ## What's next? -Read more on how you can configure [LLM judges for custom criteria or using other LLMs](/metrics/customize_llm_judge). - -We also have lots of other examples! [Explore tutorials](/metrics/introduction). \ No newline at end of file +Read more on how you can configure [LLM judges for custom criteria or using other LLMs](/metrics/customize_llm_judge). \ No newline at end of file