From 7d6ece2a31f15bcd2d2302b7aed2fd269fdd3b91 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 25 Aug 2024 18:03:46 -0700 Subject: [PATCH] Fix for broken markdown on openai-models page Refs #558 !stable-docs --- docs/openai-models.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/openai-models.md b/docs/openai-models.md index a5c642d9..9d9a8daa 100644 --- a/docs/openai-models.md +++ b/docs/openai-models.md @@ -28,7 +28,7 @@ from click.testing import CliRunner from llm.cli import cli result = CliRunner().invoke(cli, ["models", "list"]) models = [line for line in result.output.split("\n") if line.startswith("OpenAI ")] -cog.out("```\n{}```".format("\n".join(models))) +cog.out("```\n{}\n```".format("\n".join(models))) ]]] --> ``` OpenAI Chat: gpt-3.5-turbo (aliases: 3.5, chatgpt) @@ -41,7 +41,8 @@ OpenAI Chat: gpt-4-turbo-2024-04-09 OpenAI Chat: gpt-4-turbo (aliases: gpt-4-turbo-preview, 4-turbo, 4t) OpenAI Chat: gpt-4o (aliases: 4o) OpenAI Chat: gpt-4o-mini (aliases: 4o-mini) -OpenAI Completion: gpt-3.5-turbo-instruct (aliases: 3.5-instruct, chatgpt-instruct)``` +OpenAI Completion: gpt-3.5-turbo-instruct (aliases: 3.5-instruct, chatgpt-instruct) +``` See [the OpenAI models documentation](https://platform.openai.com/docs/models) for details of each of these.