diff --git a/week1/community-contributions/week1-day1-stackoverflow-to-tutorial-summarization.ipynb b/week1/community-contributions/week1-day1-stackoverflow-to-tutorial-summarization.ipynb index 882e967..f7ecf37 100644 --- a/week1/community-contributions/week1-day1-stackoverflow-to-tutorial-summarization.ipynb +++ b/week1/community-contributions/week1-day1-stackoverflow-to-tutorial-summarization.ipynb @@ -171,40 +171,18 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 2, "id": "268cb127-ec40-4016-9436-94a1ae10a1c6", "metadata": {}, "outputs": [], "source": [ "# Define our system prompt - you can experiment with this later, changing the last sentence to 'Respond in markdown in Spanish.\"\n", "\n", - "system_prompt = \"You are an assistant that analyzes the contents of a website \\\n", - "and provides a short summary, ignoring text that might be navigation related. \\\n", + "system_prompt = \"You are a technical writer that analyzes the contents of a stackoverflow website issue containing a question and answer \\\n", + "and provides a summary in the form of a technical tutorial , ignoring text that might be navigation related. \\\n", "Respond in markdown.\"" ] }, - { - "cell_type": "code", - "execution_count": 8, - "id": "3da6e0e9-e8fe-4e94-9de8-c4a031631f3b", - "metadata": {}, - "outputs": [], - "source": [ - "system_prompt = f\"\"\" \n", - "\n", - " You are looking at a website titled {website_content.title}\n", - "\n", - " Create a technical tutorial baswebsite_content on the following Stack Overflow content:\n", - " \n", - " {website_content.text}\n", - "\n", - "\n", - " The tutorial should include an introduction, problem statement, solution steps, and conclusion.\n", - " Tutrial should be in markdown format.\n", - " \"\"\"\n", - " " - ] - }, { "cell_type": "code", "execution_count": 9,