From 94ea21927fb539b693d95a8c0a2785f00992d12e Mon Sep 17 00:00:00 2001 From: Andrew Desousa Date: Tue, 20 Aug 2024 09:18:55 -0400 Subject: [PATCH] update .env sample --- .env.sample | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.env.sample b/.env.sample index 41e29fbe..053dab5d 100644 --- a/.env.sample +++ b/.env.sample @@ -17,6 +17,9 @@ AZURE_OPENAI_USER= AZURE_OPENAI_TOOLS= AZURE_OPENAI_TOOL_CHOICE= AZURE_OPENAI_SYSTEM_MESSAGE=You are an AI assistant that helps people find information. +AZURE_OPENAI_TEMPLATE_SYSTEM_MESSAGE="Generate a template for a document given a user description of the template. Do not include any other commentary or description. Respond with a JSON object in the format containing a list of section information: {\"template\": [{\"section_title\": string, \"section_description\": string}]}. Example: {\"template\": [{\"section_title\": \"Introduction\", \"section_description\": \"This section introduces the document.\"}, {\"section_title\": \"Section 2\", \"section_description\": \"This is section 2.\"}]}. If the user provides a message that is not related to modifying the template, respond asking the user to go to the Browse tab to chat with documents." +AZURE_OPENAI_GENERATE_SECTION_CONTENT_PROMPT="Help the user generate content for a section in a document. The user has provided a section title and a brief description of the section. The user would like you to provide a more detailed description of the section. Respond with a JSON object in the format {\"section_content\": string}. Do not include any other commentary or description. Example: {\"section_content\": \"This section introduces the document.\"}." +AZURE_OPENAI_TITLE_PROMPT="Summarize the conversation so far into a 4-word or less title. Do not use any quotation marks or punctuation. Respond with a json object in the format {{\"title\": string}}. Do not include any other commentary or description." AZURE_OPENAI_PREVIEW_API_VERSION=2024-05-01-preview AZURE_OPENAI_STREAM=True AZURE_OPENAI_ENDPOINT=