From fe14d8e96df621b83bfc46dbd41aeba0478b4ee0 Mon Sep 17 00:00:00 2001 From: Mollie Munoz Date: Tue, 19 Nov 2024 13:35:33 -0800 Subject: [PATCH] Produce outline in markdown only (#254) Attempt to address issue where outline is usually produced in markdown but other times not. User experience consistency. --- .../prospector-assistant/assistant/agents/document_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assistants/prospector-assistant/assistant/agents/document_agent.py b/assistants/prospector-assistant/assistant/agents/document_agent.py index 5d5abe14..7f0b0832 100644 --- a/assistants/prospector-assistant/assistant/agents/document_agent.py +++ b/assistants/prospector-assistant/assistant/agents/document_agent.py @@ -1244,7 +1244,7 @@ def _content_system_message(content: str) -> ChatCompletionSystemMessageParam: " consider the prior outline. The new outline should be a hierarchical structure with multiple levels of" " detail, and it should be clear and easy to understand. The outline should be generated in a way that is" " consistent with the document that will be generated from it. Do not include any explanation before or after" - " the outline, as the generated outline will be stored as its own document." + " the outline, as the generated outline will be stored as its own document. The generated outline should use Markdown." ) # ("You are an AI assistant that helps draft outlines for a future flushed-out document." # " You use information from a chat history between a user and an assistant, a prior version of a draft"