diff --git a/crates/docs/src/lib.rs b/crates/docs/src/lib.rs index f642c55b05..e9d70a46df 100644 --- a/crates/docs/src/lib.rs +++ b/crates/docs/src/lib.rs @@ -632,52 +632,6 @@ fn llm_prompt<'a, I: Iterator>( } } } - buf.push_str("## Instructions:\n\n"); - buf.push_str( - format!( - "You are an expert in the Roc programming library, `{}`.\n", - package_name - ) - .as_str(), - ); - buf.push_str( - format!( - "Your task is to answer questions **only based on the official documentation** of the `{}` Roc library.\n", - package_name - ) - .as_str(), - ); - buf.push_str("If the documentation does not contain relevant information to answer the question, explicitly state: "); - buf.push_str( - format!( - "**I do not know, as this is not covered in the official documentation of `{}`.**\n", - package_name - ) - .as_str(), - ); - - buf.push_str("## Example Responses:\n\n"); - - if !example_type_question_buf.is_empty() { - buf.push_str(example_type_question_buf.as_str()); - } - - if !example_description_question_buf.is_empty() { - buf.push_str(example_description_question_buf.as_str()); - } - - buf.push_str("**Gap in Documentation Question Example**\n\n"); - buf.push_str("**Question:**\n"); - buf.push_str("What's your favorite animal?\n\n"); - buf.push_str("**Response:**\n"); - buf.push_str( - format!( - "I do not know, as this is not covered in the official documentation of `{}`.\n\n", - package_name - ) - .as_str(), - ); - buf } diff --git a/crates/docs/src/static/index.html b/crates/docs/src/static/index.html index 75211f7a16..e043e6e02d 100644 --- a/crates/docs/src/static/index.html +++ b/crates/docs/src/static/index.html @@ -56,8 +56,8 @@
- - 🤖 LLM Prompt 🤖 + + LLM docs