diff --git a/.virtual_documents/week1/day1.ipynb b/.virtual_documents/week1/day1.ipynb new file mode 100644 index 00000000..32d8870c --- /dev/null +++ b/.virtual_documents/week1/day1.ipynb @@ -0,0 +1,204 @@ + + + +# imports + +import os +import requests +from dotenv import load_dotenv +from bs4 import BeautifulSoup +from IPython.display import Markdown, display +from openai import OpenAI + +# If you get an error running this cell, then please head over to the troubleshooting notebook! + + + + + +# Load environment variables in a file called .env + +load_dotenv() +api_key = os.getenv('OPENAI_API_KEY') + +# Check the key + +if not api_key: + print("No API key was found - please head over to the troubleshooting notebook in this folder to identify & fix!") +elif not api_key.startswith("sk-proj-"): + print("An API key was found, but it doesn't start sk-proj-; please check you're using the right key - see troubleshooting notebook") +elif api_key.strip() != api_key: + print("An API key was found, but it looks like it might have space or tab characters at the start or end - please remove them - see troubleshooting notebook") +else: + print("API key found and looks good so far!") + + + +openai = OpenAI() + +# If this doesn't work, try Kernel menu >> Restart Kernel and Clear Outputs Of All Cells, then run the cells from the top of this notebook down. +# If it STILL doesn't work (horrors!) then please see the troubleshooting notebook, or try the below line instead: +# openai = OpenAI(api_key="your-key-here-starting-sk-proj-") + + + + + +# To give you a preview -- calling OpenAI with these messages is this easy: + +message = "Hello, GPT! This is my first ever message to you! Hi!" +response = openai.chat.completions.create(model="gpt-4o-mini", messages=[{"role":"user", "content":message}]) +print(response.choices[0].message.content) + + + + + +# A class to represent a Webpage +# If you're not familiar with Classes, check out the "Intermediate Python" notebook + +class Website: + + def __init__(self, url): + """ + Create this Website object from the given url using the BeautifulSoup library + """ + self.url = url + response = requests.get(url) + soup = BeautifulSoup(response.content, 'html.parser') + self.title = soup.title.string if soup.title else "No title found" + for irrelevant in soup.body(["script", "style", "img", "input"]): + irrelevant.decompose() + self.text = soup.body.get_text(separator="\n", strip=True) + + +# Let's try one out. Change the website and add print statements to follow along. + +ed = Website("https://edwarddonner.com") +print(ed.title) +print(ed.text) + + + + + +# Define our system prompt - you can experiment with this later, changing the last sentence to 'Respond in markdown in Spanish." + +system_prompt = "You are an assistant that analyzes the contents of a website \ +and provides a short summary, ignoring text that might be navigation related. \ +Respond in markdown." + + +# A function that writes a User Prompt that asks for summaries of websites: + +def user_prompt_for(website): + user_prompt = f"You are looking at a website titled {website.title}" + user_prompt += "\nThe contents of this website is as follows; \ +please provide a short summary of this website in markdown. \ +If it includes news or announcements, then summarize these too.\n\n" + user_prompt += website.text + return user_prompt + + +print(user_prompt_for(ed)) + + + + + +messages = [ + {"role": "system", "content": "You are a snarky assistant"}, + {"role": "user", "content": "What is 2 + 2?"} +] + + +# To give you a preview -- calling OpenAI with system and user messages: + +response = openai.chat.completions.create(model="gpt-4o-mini", messages=messages) +print(response.choices[0].message.content) + + + + + +# See how this function creates exactly the format above + +def messages_for(website): + return [ + {"role": "system", "content": system_prompt}, + {"role": "user", "content": user_prompt_for(website)} + ] + + +# Try this out, and then try for a few more websites + +messages_for(ed) + + + + + +# And now: call the OpenAI API. You will get very familiar with this! + +def summarize(url): + website = Website(url) + response = openai.chat.completions.create( + model = "gpt-4o-mini", + messages = messages_for(website) + ) + return response.choices[0].message.content + + +summarize("https://edwarddonner.com") + + +# A function to display this nicely in the Jupyter output, using markdown + +def display_summary(url): + summary = summarize(url) + display(Markdown(summary)) + + +display_summary("https://edwarddonner.com") + + + + + +display_summary("https://cnn.com") + + +display_summary("https://anthropic.com") + + + + + +# Step 1: Create your prompts + +system_prompt = "something here" +user_prompt = """ + Lots of text + Can be pasted here +""" + +# Step 2: Make the messages list + +messages = [] # fill this in + +# Step 3: Call OpenAI + +response = + +# Step 4: print the result + +print( + + + + + + + + + diff --git a/.virtual_documents/week1/week1 EXERCISE.ipynb b/.virtual_documents/week1/week1 EXERCISE.ipynb new file mode 100644 index 00000000..9f1bb07d --- /dev/null +++ b/.virtual_documents/week1/week1 EXERCISE.ipynb @@ -0,0 +1,133 @@ + + + +# imports +import os +import requests +import json +from typing import List +from dotenv import load_dotenv +from bs4 import BeautifulSoup +from IPython.display import Markdown, display, update_display +from openai import OpenAI + + +# constants + +MODEL_GPT = 'gpt-4o-mini' +MODEL_LLAMA = 'llama3.2' + + +# set up environment +load_dotenv() +api_key = os.getenv('OPENAI_API_KEY') + +if api_key and api_key.startswith('sk-proj-') and len(api_key)>10: + print("API key looks good so far") +else: + print("There might be a problem with your API key? Please visit the troubleshooting notebook!") + + +# A class to represent a Webpage + +class Website: + """ + A utility class to represent a Website that we have scraped, now with links + """ + + def __init__(self, url): + self.url = url + response = requests.get(url) + self.body = response.content + soup = BeautifulSoup(self.body, 'html.parser') + self.title = soup.title.string if soup.title else "No title found" + if soup.body: + for irrelevant in soup.body(["script", "style", "img", "input"]): + irrelevant.decompose() + self.text = soup.body.get_text(separator="\n", strip=True) + else: + self.text = "" + links = [link.get('href') for link in soup.find_all('a')] + self.links = [link for link in links if link] + + def get_contents(self): + return f"Webpage Title:\n{self.title}\nWebpage Contents:\n{self.text}\n\n" + + +dr = Website("https://www.drbruceforciea.com") +print(dr.get_contents()) +print(dr.links) + + +link_system_prompt = "You are provided with a list of links found on a webpage. \ +You are able to decide which of the links would be most relevant to learn anatomy and physiology, \ +such as links to an Anatomy or Physiology page, Learing Page, Book Page.\n" +link_system_prompt += "You should respond in JSON as in this example:" +link_system_prompt += """ +{ + "links": [ + {"type": "anatomy and physiology page", "url": "https://full.url/goes/here/anatomy-and-physiology"}, + {"type": "learning page": "url": "https://another.full.url/learning"} + ] +} +""" + + +def get_links_user_prompt(website): + user_prompt = f"Here is the list of links on the website of {website.url} - " + user_prompt += "please decide which of these are relevant web links to learn anatomy and physiology, respond with the full https URL in JSON format. \ +Do not include Terms of Service, Privacy, email links.\n" + user_prompt += "Links (some might be relative links):\n" + user_prompt += "\n".join(website.links) + return user_prompt + + +print(get_links_user_prompt(dr)) + + +def get_links(url): + website = Website(url) + response = openai.chat.completions.create( + model=MODEL, + messages=[ + {"role": "system", "content": link_system_prompt}, + {"role": "user", "content": get_links_user_prompt(website)} + ], + response_format={"type": "json_object"} + ) + result = response.choices[0].message.content + return json.loads(result) + + +# Give a medicine related website link. + +nationalcancerinstitute = Website("https://training.seer.cancer.gov/modules_reg_surv.html") +nationalcancerinstitute.links + + +get_links("https://training.seer.cancer.gov/modules_reg_surv.html") + + +def get_all_details(url): + result = "Landing page:\n" + result += Website(url).get_contents() + links = get_links(url) + print("Found links:", links) + for link in links["links"]: + result += f"\n\n{link['type']}\n" + result += Website(link["url"]).get_contents() + return result + + +# here is the question; type over this to ask something new + +question = """ +Please explain what this code does and why: +yield from {book.get("author") for book in books if book.get("author")} +""" + + +# Get gpt-4o-mini to answer, with streaming + + +# Get Llama 3.2 to answer diff --git a/week1/Guide to Jupyter.ipynb b/week1/Guide to Jupyter.ipynb index 0f0ddf2c..57f4d849 100644 --- a/week1/Guide to Jupyter.ipynb +++ b/week1/Guide to Jupyter.ipynb @@ -32,10 +32,21 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "33d37cd8-55c9-4e03-868c-34aa9cab2c80", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "4" + ] + }, + "execution_count": 1, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "# Click anywhere in this cell and press Shift + Return\n", "\n", @@ -54,7 +65,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "585eb9c1-85ee-4c27-8dc2-b4d8d022eda0", "metadata": {}, "outputs": [], @@ -66,10 +77,21 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "07792faa-761d-46cb-b9b7-2bbf70bb1628", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "'bananas'" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "# The result of the last statement is shown after you run it\n", "\n", @@ -78,10 +100,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "a067d2b1-53d5-4aeb-8a3c-574d39ff654a", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "My favorite fruit is bananas\n" + ] + } + ], "source": [ "# Use the variable\n", "\n", @@ -90,7 +120,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 6, "id": "4c5a4e60-b7f4-4953-9e80-6d84ba4664ad", "metadata": {}, "outputs": [], @@ -116,10 +146,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "id": "8e5ec81d-7c5b-4025-bd2e-468d67b581b6", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "My favorite fruit is apples\n" + ] + } + ], "source": [ "# Then run this cell twice, and see if you understand what's going on\n", "\n", @@ -144,10 +182,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 9, "id": "84b1e410-5eda-4e2c-97ce-4eebcff816c5", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "My favorite fruit is apples\n" + ] + } + ], "source": [ "print(f\"My favorite fruit is {favorite_fruit}\")" ] @@ -245,10 +291,21 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 10, "id": "82042fc5-a907-4381-a4b8-eb9386df19cd", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Guide to Jupyter.ipynb day2 EXERCISE.ipynb troubleshooting.ipynb\n", + "Intermediate Python.ipynb day5.ipynb week1 EXERCISE.ipynb\n", + "\u001b[34mcommunity-contributions\u001b[m\u001b[m diagnostics.py\n", + "day1.ipynb \u001b[34msolutions\u001b[m\u001b[m\n" + ] + } + ], "source": [ "# list the current directory\n", "\n", @@ -257,10 +314,40 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 11, "id": "4fc3e3da-8a55-40cc-9706-48bf12a0e20e", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "PING cnn.com (151.101.195.5): 56 data bytes\n", + "64 bytes from 151.101.195.5: icmp_seq=0 ttl=58 time=9.569 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=1 ttl=58 time=15.249 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=2 ttl=58 time=17.790 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=3 ttl=58 time=14.748 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=4 ttl=58 time=17.198 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=5 ttl=58 time=16.242 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=6 ttl=58 time=14.943 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=7 ttl=58 time=16.258 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=8 ttl=58 time=13.901 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=9 ttl=58 time=12.729 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=10 ttl=58 time=17.548 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=11 ttl=58 time=32.210 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=12 ttl=58 time=14.898 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=13 ttl=58 time=12.431 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=14 ttl=58 time=16.906 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=15 ttl=58 time=15.539 ms\n", + "64 bytes from 151.101.195.5: icmp_seq=16 ttl=58 time=15.169 ms\n", + "^C\n", + "\n", + "--- cnn.com ping statistics ---\n", + "17 packets transmitted, 17 packets received, 0.0% packet loss\n", + "round-trip min/avg/max/stddev = 9.569/16.078/32.210/4.506 ms\n" + ] + } + ], "source": [ "# ping cnn.com - press the stop button in the toolbar when you're bored\n", "\n", @@ -295,7 +382,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "id": "2646a4e5-3c23-4aee-a34d-d623815187d2", "metadata": {}, "outputs": [], @@ -313,10 +400,19 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 13, "id": "6e96be3d-fa82-42a3-a8aa-b81dd20563a5", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "\n", + "00%|███████████████████████████████████████| 1000/1000 [00:12<00:00, 81.81it/s]" + ] + } + ], "source": [ "# And now, with a nice little progress bar:\n", "\n", @@ -331,10 +427,27 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 14, "id": "63c788dd-4618-4bb4-a5ce-204411a38ade", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "# This is a big heading!\n", + "\n", + "- And this is a bullet-point\n", + "- So is this\n", + "- Me, too!" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# On a different topic, here's a useful way to print output in markdown\n", "\n", diff --git a/week1/day1.ipynb b/week1/day1.ipynb index 0756a2f3..c2325154 100644 --- a/week1/day1.ipynb +++ b/week1/day1.ipynb @@ -69,7 +69,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "4e2a9393-7767-488e-a8bf-27c12dca35bd", "metadata": {}, "outputs": [], @@ -108,10 +108,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "7b87cadb-d513-4303-baee-a37b6f938e4d", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "API key found and looks good so far!\n" + ] + } + ], "source": [ "# Load environment variables in a file called .env\n", "\n", @@ -132,7 +140,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "019974d9-f3ad-4a8a-b5f9-0a3719aea2d3", "metadata": {}, "outputs": [], @@ -154,10 +162,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "id": "a58394bf-1e45-46af-9bfd-01e24da6f49a", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Hello! Welcome! I'm glad to be chatting with you. How can I assist you today?\n" + ] + } + ], "source": [ "# To give you a preview -- calling OpenAI with these messages is this easy:\n", "\n", @@ -176,7 +192,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 6, "id": "c5e793b2-6775-426a-a139-4848291d0463", "metadata": {}, "outputs": [], @@ -206,10 +222,63 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "id": "2ef960cf-6dc2-4cda-afb3-b38be12f4c97", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Home - Edward Donner\n", + "Home\n", + "Outsmart\n", + "An arena that pits LLMs against each other in a battle of diplomacy and deviousness\n", + "About\n", + "Posts\n", + "Well, hi there.\n", + "I’m Ed. I like writing code and experimenting with LLMs, and hopefully you’re here because you do too. I also enjoy DJing (but I’m badly out of practice), amateur electronic music production (\n", + "very\n", + "amateur) and losing myself in\n", + "Hacker News\n", + ", nodding my head sagely to things I only half understand.\n", + "I’m the co-founder and CTO of\n", + "Nebula.io\n", + ". We’re applying AI to a field where it can make a massive, positive impact: helping people discover their potential and pursue their reason for being. Recruiters use our product today to source, understand, engage and manage talent. I’m previously the founder and CEO of AI startup untapt,\n", + "acquired in 2021\n", + ".\n", + "We work with groundbreaking, proprietary LLMs verticalized for talent, we’ve\n", + "patented\n", + "our matching model, and our award-winning platform has happy customers and tons of press coverage.\n", + "Connect\n", + "with me for more!\n", + "November 13, 2024\n", + "Mastering AI and LLM Engineering – Resources\n", + "October 16, 2024\n", + "From Software Engineer to AI Data Scientist – resources\n", + "August 6, 2024\n", + "Outsmart LLM Arena – a battle of diplomacy and deviousness\n", + "June 26, 2024\n", + "Choosing the Right LLM: Toolkit and Resources\n", + "Navigation\n", + "Home\n", + "Outsmart\n", + "An arena that pits LLMs against each other in a battle of diplomacy and deviousness\n", + "About\n", + "Posts\n", + "Get in touch\n", + "ed [at] edwarddonner [dot] com\n", + "www.edwarddonner.com\n", + "Follow me\n", + "LinkedIn\n", + "Twitter\n", + "Facebook\n", + "Subscribe to newsletter\n", + "Type your email…\n", + "Subscribe\n" + ] + } + ], "source": [ "# Let's try one out. Change the website and add print statements to follow along.\n", "\n", @@ -238,7 +307,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "id": "abdb8417-c5dc-44bc-9bee-2e059d162699", "metadata": {}, "outputs": [], @@ -252,7 +321,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 9, "id": "f0275b1b-7cfe-4f9d-abfa-7650d378da0c", "metadata": {}, "outputs": [], @@ -270,10 +339,65 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 10, "id": "26448ec4-5c00-4204-baec-7df91d11ff2e", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "You are looking at a website titled Home - Edward Donner\n", + "The contents of this website is as follows; please provide a short summary of this website in markdown. If it includes news or announcements, then summarize these too.\n", + "\n", + "Home\n", + "Outsmart\n", + "An arena that pits LLMs against each other in a battle of diplomacy and deviousness\n", + "About\n", + "Posts\n", + "Well, hi there.\n", + "I’m Ed. I like writing code and experimenting with LLMs, and hopefully you’re here because you do too. I also enjoy DJing (but I’m badly out of practice), amateur electronic music production (\n", + "very\n", + "amateur) and losing myself in\n", + "Hacker News\n", + ", nodding my head sagely to things I only half understand.\n", + "I’m the co-founder and CTO of\n", + "Nebula.io\n", + ". We’re applying AI to a field where it can make a massive, positive impact: helping people discover their potential and pursue their reason for being. Recruiters use our product today to source, understand, engage and manage talent. I’m previously the founder and CEO of AI startup untapt,\n", + "acquired in 2021\n", + ".\n", + "We work with groundbreaking, proprietary LLMs verticalized for talent, we’ve\n", + "patented\n", + "our matching model, and our award-winning platform has happy customers and tons of press coverage.\n", + "Connect\n", + "with me for more!\n", + "November 13, 2024\n", + "Mastering AI and LLM Engineering – Resources\n", + "October 16, 2024\n", + "From Software Engineer to AI Data Scientist – resources\n", + "August 6, 2024\n", + "Outsmart LLM Arena – a battle of diplomacy and deviousness\n", + "June 26, 2024\n", + "Choosing the Right LLM: Toolkit and Resources\n", + "Navigation\n", + "Home\n", + "Outsmart\n", + "An arena that pits LLMs against each other in a battle of diplomacy and deviousness\n", + "About\n", + "Posts\n", + "Get in touch\n", + "ed [at] edwarddonner [dot] com\n", + "www.edwarddonner.com\n", + "Follow me\n", + "LinkedIn\n", + "Twitter\n", + "Facebook\n", + "Subscribe to newsletter\n", + "Type your email…\n", + "Subscribe\n" + ] + } + ], "source": [ "print(user_prompt_for(ed))" ] @@ -299,7 +423,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 11, "id": "f25dcd35-0cd0-4235-9f64-ac37ed9eaaa5", "metadata": {}, "outputs": [], @@ -312,10 +436,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "id": "21ed95c5-7001-47de-a36d-1d6673b403ce", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Oh, a real brain teaser! The answer is 4. But if you’re looking for something more challenging, I’m all ears!\n" + ] + } + ], "source": [ "# To give you a preview -- calling OpenAI with system and user messages:\n", "\n", @@ -333,7 +465,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 13, "id": "0134dfa4-8299-48b5-b444-f2a8c3403c88", "metadata": {}, "outputs": [], @@ -349,10 +481,24 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 14, "id": "36478464-39ee-485c-9f3f-6a4e458dbc9c", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "[{'role': 'system',\n", + " 'content': 'You are an assistant that analyzes the contents of a website and provides a short summary, ignoring text that might be navigation related. Respond in markdown.'},\n", + " {'role': 'user',\n", + " 'content': 'You are looking at a website titled Home - Edward Donner\\nThe contents of this website is as follows; please provide a short summary of this website in markdown. If it includes news or announcements, then summarize these too.\\n\\nHome\\nOutsmart\\nAn arena that pits LLMs against each other in a battle of diplomacy and deviousness\\nAbout\\nPosts\\nWell, hi there.\\nI’m Ed. I like writing code and experimenting with LLMs, and hopefully you’re here because you do too. I also enjoy DJing (but I’m badly out of practice), amateur electronic music production (\\nvery\\namateur) and losing myself in\\nHacker News\\n, nodding my head sagely to things I only half understand.\\nI’m the co-founder and CTO of\\nNebula.io\\n. We’re applying AI to a field where it can make a massive, positive impact: helping people discover their potential and pursue their reason for being. Recruiters use our product today to source, understand, engage and manage talent. I’m previously the founder and CEO of AI startup untapt,\\nacquired in 2021\\n.\\nWe work with groundbreaking, proprietary LLMs verticalized for talent, we’ve\\npatented\\nour matching model, and our award-winning platform has happy customers and tons of press coverage.\\nConnect\\nwith me for more!\\nNovember 13, 2024\\nMastering AI and LLM Engineering – Resources\\nOctober 16, 2024\\nFrom Software Engineer to AI Data Scientist – resources\\nAugust 6, 2024\\nOutsmart LLM Arena – a battle of diplomacy and deviousness\\nJune 26, 2024\\nChoosing the Right LLM: Toolkit and Resources\\nNavigation\\nHome\\nOutsmart\\nAn arena that pits LLMs against each other in a battle of diplomacy and deviousness\\nAbout\\nPosts\\nGet in touch\\ned [at] edwarddonner [dot] com\\nwww.edwarddonner.com\\nFollow me\\nLinkedIn\\nTwitter\\nFacebook\\nSubscribe to newsletter\\nType your email…\\nSubscribe'}]" + ] + }, + "execution_count": 14, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "# Try this out, and then try for a few more websites\n", "\n", @@ -369,7 +515,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 16, "id": "905b9919-aba7-45b5-ae65-81b3d1d78e34", "metadata": {}, "outputs": [], @@ -387,17 +533,28 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 17, "id": "05e38d41-dfa4-4b20-9c96-c46ea75d9fb5", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "'# Summary of Edward Donner\\'s Website\\n\\nEdward Donner\\'s website features content focused on his interests in coding, experimenting with large language models (LLMs), and his professional work in AI. As the co-founder and CTO of Nebula.io, he emphasizes the positive impact of AI in helping individuals discover their potential and improve talent management. He previously founded and led an AI startup, untapt, which was acquired in 2021.\\n\\n## Recent News and Announcements\\n\\n- **November 13, 2024**: Shared resources for mastering AI and LLM engineering.\\n- **October 16, 2024**: Provided resources for transitioning from a software engineer to an AI data scientist.\\n- **August 6, 2024**: Announced the \"Outsmart LLM Arena,\" an initiative to engage LLMs in a competitive format.\\n- **June 26, 2024**: Offered a toolkit and resources for selecting the right LLM. \\n\\nThe website invites visitors to connect with Edward Donner for further engagement.'" + ] + }, + "execution_count": 17, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "summarize(\"https://edwarddonner.com\")" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 18, "id": "3d926d59-450e-4609-92ba-2d6f244f1342", "metadata": {}, "outputs": [], @@ -411,10 +568,38 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 19, "id": "3018853a-445f-41ff-9560-d925d1774b2f", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "# Summary of Edward Donner's Website\n", + "\n", + "The website is a personal platform belonging to Edward Donner, a co-founder and CTO of Nebula.io, a company focused on utilizing AI to assist individuals in discovering their potential and managing talent. Edward expresses his interests in coding, experimenting with large language models (LLMs), and DJing, along with occasional contributions to Hacker News.\n", + "\n", + "## Key Features:\n", + "- **Outsmart**: A unique arena designed to challenge LLMs in a competition of diplomacy and strategy.\n", + "- **About**: Edward shares his background in tech and his experiences, including his previous venture, untapt, which was acquired in 2021.\n", + "- **Posts**: The blog section features various resources and announcements related to AI and LLMs.\n", + "\n", + "## Recent Announcements:\n", + "1. **November 13, 2024**: Post on \"Mastering AI and LLM Engineering – Resources\".\n", + "2. **October 16, 2024**: Article titled \"From Software Engineer to AI Data Scientist – resources\".\n", + "3. **August 6, 2024**: Introduction of \"Outsmart LLM Arena – a battle of diplomacy and deviousness\".\n", + "4. **June 26, 2024**: Guide on \"Choosing the Right LLM: Toolkit and Resources\". \n", + "\n", + "Overall, the website serves as a hub for Edward's thoughts and contributions in the field of AI and LLMs, offering resources for those interested in these topics." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "display_summary(\"https://edwarddonner.com\")" ] @@ -437,20 +622,73 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 20, "id": "45d83403-a24c-44b5-84ac-961449b4008f", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "## Summary of CNN\n", + "\n", + "CNN is an extensive news platform offering breaking news, video content, and in-depth analysis across a variety of categories such as US and world news, politics, business, health, entertainment, sports, and lifestyle topics. \n", + "\n", + "### Key News Highlights\n", + "- **Ukraine-Russia War:** Continuous updates and analyses concerning the conflict.\n", + "- **Israel-Hamas War:** Ongoing coverage on developments related to the conflict.\n", + "- **US Politics:** Coverage includes the actions of former President Trump in relation to immigration and election matters, and discussions surrounding the current political landscape.\n", + "- **Global Events:** Notable stories include the aftermath of the Syrian civil war and the implications of the regime change in Syria.\n", + "\n", + "### Noteworthy Headlines\n", + "- **Strikes in Damascus:** Reports indicate strikes heard as rebel forces gain control in Syria.\n", + "- **Juan Soto's Contract:** Sports news highlights the record-breaking contract signed by baseball player Juan Soto.\n", + "- **Health Insurance CEO's Death:** Coverage includes public reactions to the death of a prominent health insurance CEO.\n", + "- **Natural Disasters:** Reports about extreme weather conditions affecting various regions, particularly in Southern California.\n", + "\n", + "CNN also emphasizes reader engagement, providing options for feedback on its advertisements and service quality, showcasing its commitment to user experience. The platform offers a wide array of resources including live updates, videos, and podcasts, making it a comprehensive source for current events." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "display_summary(\"https://cnn.com\")" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 21, "id": "75e9fd40-b354-4341-991e-863ef2e59db7", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "# Summary of Anthropic Website\n", + "\n", + "Anthropic is an AI research company focused on developing reliable and safe AI systems. The site showcases the company's commitment to building AI models that align with human intentions and values. Key features of the website include:\n", + "\n", + "- **Mission and Values**: Anthropic emphasizes its dedication to research that prioritizes safety and alignment in artificial intelligence development.\n", + "- **AI Models**: The company highlights its work on advanced AI models, detailing their capabilities and the ethical considerations involved in their deployment.\n", + "- **Research Publications**: Anthropic shares insights from its research efforts, offering access to various papers and findings relating to AI safety and alignment methodologies.\n", + "\n", + "### News and Announcements\n", + "- The website may feature recent developments or updates in AI research, partnerships, or new model releases. Specific announcements may include ongoing initiatives or collaborations in the AI safety field, as well as insights into future projects aimed at enhancing AI's alignment with human values.\n", + "\n", + "For specific news items and detailed announcements, further exploration of the website is suggested." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "display_summary(\"https://anthropic.com\")" ] @@ -564,7 +802,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.11" + "version": "3.12.7" } }, "nbformat": 4, diff --git a/week1/day2 EXERCISE.ipynb b/week1/day2 EXERCISE.ipynb index 45044018..9dff406d 100644 --- a/week1/day2 EXERCISE.ipynb +++ b/week1/day2 EXERCISE.ipynb @@ -68,7 +68,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "4e2a9393-7767-488e-a8bf-27c12dca35bd", "metadata": {}, "outputs": [], @@ -82,7 +82,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "29ddd15d-a3c5-4f4e-a678-873f56162724", "metadata": {}, "outputs": [], @@ -96,7 +96,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "dac0a679-599c-441f-9bf2-ddc73d35b940", "metadata": {}, "outputs": [], @@ -110,7 +110,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "7bb9c624-14f0-4945-a719-8ddb64f66f47", "metadata": {}, "outputs": [], @@ -124,10 +124,39 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "id": "42b9f644-522d-4e05-a691-56e7658c0ea9", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Generative AI has numerous business applications across various industries, including:\n", + "\n", + "1. **Content Creation**: AI-powered tools can generate high-quality content such as articles, blog posts, social media posts, and product descriptions, saving time and resources for writers and marketers.\n", + "2. **Visual Content Generation**: Generative AI can create images, videos, and 3D models, revolutionizing the way businesses produce visual content for marketing, advertising, and branding purposes.\n", + "3. **Chatbots and Virtual Assistants**: AI-powered chatbots can interact with customers, provide customer support, and answer frequently asked questions, improving customer experience and reducing support costs.\n", + "4. **Product Design and Development**: Generative AI can help designers and engineers create new product designs, prototypes, and models, streamlining the design process and reducing costs.\n", + "5. **Marketing Automation**: AI-powered tools can analyze customer data, behavior, and preferences to generate targeted marketing campaigns, personalized emails, and offers, increasing campaign effectiveness and ROI.\n", + "6. **Predictive Analytics**: Generative AI can analyze historical data, identify patterns, and make predictions about future market trends, helping businesses anticipate and prepare for changes in the market.\n", + "7. **Financial Modeling and Analysis**: AI-powered tools can generate financial models, forecasts, and scenarios, enabling businesses to optimize investment strategies, predict revenue growth, and mitigate risks.\n", + "8. **Data Analysis and Insights**: Generative AI can analyze large datasets, identify insights, and provide recommendations, helping businesses make data-driven decisions and drive business outcomes.\n", + "9. **Cybersecurity**: AI-powered tools can detect anomalies, predict threats, and generate security alerts, enhancing the effectiveness of cybersecurity measures and protecting against cyber-attacks.\n", + "10. **Supply Chain Optimization**: Generative AI can analyze supply chain data, identify bottlenecks, and optimize logistics and inventory management, reducing costs, improving efficiency, and increasing customer satisfaction.\n", + "\n", + "Some specific industries where Generative AI has already shown promise include:\n", + "\n", + "* E-commerce (product recommendations, personalized content)\n", + "* Advertising (ad creative generation, targeting optimization)\n", + "* Healthcare (medical imaging analysis, disease diagnosis)\n", + "* Education (personalized learning plans, adaptive assessments)\n", + "* Finance (risk analysis, portfolio optimization)\n", + "\n", + "These are just a few examples of the many business applications of Generative AI. As the technology continues to evolve, we can expect to see even more innovative uses across various industries and domains.\n" + ] + } + ], "source": [ "response = requests.post(OLLAMA_API, json=payload, headers=HEADERS)\n", "print(response.json()['message']['content'])" @@ -147,10 +176,39 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 6, "id": "7745b9c4-57dc-4867-9180-61fa5db55eb8", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Generative AI has numerous business applications across various industries. Here are some examples:\n", + "\n", + "1. **Content Creation**: Generative AI can be used to create personalized content, such as articles, social media posts, and product descriptions. This can help businesses automate their content creation process and reduce the cost of creating high-quality content.\n", + "2. **Product Design**: Generative AI can be used to design new products, such as furniture, clothing, and electronics. This can help businesses create innovative products with unique designs that appeal to customers.\n", + "3. **Marketing Automation**: Generative AI can be used to automate marketing campaigns, such as email marketing and social media advertising. This can help businesses personalize their marketing messages and improve the effectiveness of their campaigns.\n", + "4. **Customer Service**: Generative AI can be used to create chatbots that provide customer support and answer common questions. This can help businesses improve their customer service experience and reduce the cost of providing support.\n", + "5. **Predictive Maintenance**: Generative AI can be used to analyze data from sensors and machines to predict when maintenance is needed. This can help businesses reduce downtime, improve equipment efficiency, and extend equipment lifespan.\n", + "6. **Recommendation Systems**: Generative AI can be used to create personalized product recommendations based on customer behavior and preferences. This can help businesses increase sales and improve customer satisfaction.\n", + "7. **Data Analysis**: Generative AI can be used to analyze large datasets and identify patterns and trends that may not be visible to human analysts. This can help businesses make data-driven decisions and improve their operations.\n", + "8. **Financial Modeling**: Generative AI can be used to create financial models that simulate different scenarios and predict outcomes. This can help businesses make informed investment decisions and reduce the risk of losses.\n", + "9. **Supply Chain Optimization**: Generative AI can be used to optimize supply chain logistics, such as predicting demand, managing inventory, and optimizing shipping routes. This can help businesses improve their supply chain efficiency and reduce costs.\n", + "10. **Cybersecurity**: Generative AI can be used to detect and respond to cyber threats in real-time. This can help businesses protect their data and systems from attacks.\n", + "\n", + "Some examples of companies that are using generative AI include:\n", + "\n", + "* **Netflix**: Using generative AI to create personalized movie recommendations\n", + "* **Amazon**: Using generative AI to personalize product recommendations and improve customer service\n", + "* **Google**: Using generative AI to improve search results and provide more accurate information\n", + "* **BMW**: Using generative AI to design new car models and optimize production processes\n", + "* **Airbnb**: Using generative AI to create personalized travel experiences for customers\n", + "\n", + "These are just a few examples of the many business applications of generative AI. As the technology continues to evolve, we can expect to see even more innovative uses in various industries.\n" + ] + } + ], "source": [ "import ollama\n", "\n", @@ -168,10 +226,37 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "id": "23057e00-b6fc-4678-93a9-6b31cb704bff", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Generative AI has numerous business applications across various industries, including:\n", + "\n", + "1. **Content Creation**: Generative AI can be used to generate high-quality content such as images, videos, articles, and social media posts automatically.\n", + "2. **Personalization**: Generative AI can be used to create personalized experiences for customers by generating customized products or services based on their preferences, behavior, and demographics.\n", + "3. **Marketing Automation**: Generative AI can automate marketing tasks such as lead generation, email campaigns, and ad creative optimization.\n", + "4. **Product Design**: Generative AI can be used to generate designs for new products, packaging, and branding materials in various industries like fashion, furniture, and consumer goods.\n", + "5. **Sales Predictive Analytics**: Generative AI can analyze historical sales data and generate predictive models to forecast demand, identify potential customers, and optimize sales strategies.\n", + "6. **Finance and Banking**: Generative AI can be used for portfolio optimization, risk analysis, and credit scoring.\n", + "7. **Healthcare**: Generative AI can be used to identify patterns in patient data, diagnose diseases more accurately, and generate personalized treatment plans.\n", + "8. **Education**: Generative AI can create personalized learning materials, adaptive curricula, and virtual teaching assistants.\n", + "9. **Supply Chain Optimization**: Generative AI can optimize logistics and supply chain management by analyzing traffic patterns, predicting demand, and identifying opportunities for cost savings.\n", + "10. **Customer Service Chatbots**: Generative AI can generate conversational flows, respond to customer inquiries, and provide basic support.\n", + "\n", + "Some specific examples of business applications include:\n", + "\n", + "* **Google's Imagining Assistant**: uses Generative AI to create customized search results and suggestions based on a user's context.\n", + "* **Facebook's Custom Content Creation Tool**: uses Generative AI to create personalized news articles and social media posts based on a user's interests.\n", + "* **IBM Watson**: uses Generative AI to analyze vast amounts of customer data, identify patterns, and generate predictive models.\n", + "\n", + "These are just a few examples of the many business applications of Generative AI. As the technology continues to evolve, we can expect to see even more innovative solutions across various industries.\n" + ] + } + ], "source": [ "# There's actually an alternative approach that some people might prefer\n", "# You can use the OpenAI client python library to call Ollama:\n", diff --git a/week1/day5.ipynb b/week1/day5.ipynb index 8ddd23a5..4dd70ca2 100644 --- a/week1/day5.ipynb +++ b/week1/day5.ipynb @@ -22,7 +22,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "d5b08506-dc8b-4443-9201-5f1848161363", "metadata": {}, "outputs": [], @@ -42,10 +42,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "fc5d8880-f2ee-4c06-af16-ecbc0262af61", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "API key looks good so far\n" + ] + } + ], "source": [ "# Initialize and constants\n", "\n", @@ -63,7 +71,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "106dd65e-90af-4ca8-86b6-23a41840645b", "metadata": {}, "outputs": [], @@ -101,13 +109,77 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "id": "e30d8128-933b-44cc-81c8-ab4c9d86589a", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Webpage Title:\n", + "Home - Edward Donner\n", + "Webpage Contents:\n", + "Home\n", + "Outsmart\n", + "An arena that pits LLMs against each other in a battle of diplomacy and deviousness\n", + "About\n", + "Posts\n", + "Well, hi there.\n", + "I’m Ed. I like writing code and experimenting with LLMs, and hopefully you’re here because you do too. I also enjoy DJing (but I’m badly out of practice), amateur electronic music production (\n", + "very\n", + "amateur) and losing myself in\n", + "Hacker News\n", + ", nodding my head sagely to things I only half understand.\n", + "I’m the co-founder and CTO of\n", + "Nebula.io\n", + ". We’re applying AI to a field where it can make a massive, positive impact: helping people discover their potential and pursue their reason for being. Recruiters use our product today to source, understand, engage and manage talent. I’m previously the founder and CEO of AI startup untapt,\n", + "acquired in 2021\n", + ".\n", + "We work with groundbreaking, proprietary LLMs verticalized for talent, we’ve\n", + "patented\n", + "our matching model, and our award-winning platform has happy customers and tons of press coverage.\n", + "Connect\n", + "with me for more!\n", + "November 13, 2024\n", + "Mastering AI and LLM Engineering – Resources\n", + "October 16, 2024\n", + "From Software Engineer to AI Data Scientist – resources\n", + "August 6, 2024\n", + "Outsmart LLM Arena – a battle of diplomacy and deviousness\n", + "June 26, 2024\n", + "Choosing the Right LLM: Toolkit and Resources\n", + "Navigation\n", + "Home\n", + "Outsmart\n", + "An arena that pits LLMs against each other in a battle of diplomacy and deviousness\n", + "About\n", + "Posts\n", + "Get in touch\n", + "ed [at] edwarddonner [dot] com\n", + "www.edwarddonner.com\n", + "Follow me\n", + "LinkedIn\n", + "Twitter\n", + "Facebook\n", + "Subscribe to newsletter\n", + "Type your email…\n", + "Subscribe\n", + "\n", + "\n", + "['https://edwarddonner.com/', 'https://edwarddonner.com/outsmart/', 'https://edwarddonner.com/about-me-and-about-nebula/', 'https://edwarddonner.com/posts/', 'https://edwarddonner.com/', 'https://news.ycombinator.com', 'https://nebula.io/?utm_source=ed&utm_medium=referral', 'https://www.prnewswire.com/news-releases/wynden-stark-group-acquires-nyc-venture-backed-tech-startup-untapt-301269512.html', 'https://patents.google.com/patent/US20210049536A1/', 'https://www.linkedin.com/in/eddonner/', 'https://edwarddonner.com/2024/11/13/llm-engineering-resources/', 'https://edwarddonner.com/2024/11/13/llm-engineering-resources/', 'https://edwarddonner.com/2024/10/16/from-software-engineer-to-ai-data-scientist-resources/', 'https://edwarddonner.com/2024/10/16/from-software-engineer-to-ai-data-scientist-resources/', 'https://edwarddonner.com/2024/08/06/outsmart/', 'https://edwarddonner.com/2024/08/06/outsmart/', 'https://edwarddonner.com/2024/06/26/choosing-the-right-llm-resources/', 'https://edwarddonner.com/2024/06/26/choosing-the-right-llm-resources/', 'https://edwarddonner.com/', 'https://edwarddonner.com/outsmart/', 'https://edwarddonner.com/about-me-and-about-nebula/', 'https://edwarddonner.com/posts/', 'mailto:hello@mygroovydomain.com', 'https://www.linkedin.com/in/eddonner/', 'https://twitter.com/edwarddonner', 'https://www.facebook.com/edward.donner.52']\n" + ] + } + ], "source": [ + "# The result for my linkedin page is empty, server side rendering ? javascirpt ? security ? No links?\n", + "# Potential solution is being talked in the previous lecture\n", + "# yifan = Website(\"https://www.linkedin.com/in/yifan-wei-a1576882\")\n", + "# yifan.links\n", + "\n", "ed = Website(\"https://edwarddonner.com\")\n", - "ed.links" + "print(ed.get_contents())\n", + "print(ed.links)" ] }, { @@ -128,7 +200,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 6, "id": "6957b079-0d96-45f7-a26a-3487510e9b35", "metadata": {}, "outputs": [], @@ -149,17 +221,33 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "id": "b97e4068-97ed-4120-beae-c42105e4d59a", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "You are provided with a list of links found on a webpage. You are able to decide which of the links would be most relevant to include in a brochure about the company, such as links to an About page, or a Company page, or Careers/Jobs pages.\n", + "You should respond in JSON as in this example:\n", + "{\n", + " \"links\": [\n", + " {\"type\": \"about page\", \"url\": \"https://full.url/goes/here/about\"},\n", + " {\"type\": \"careers page\": \"url\": \"https://another.full.url/careers\"}\n", + " ]\n", + "}\n", + "\n" + ] + } + ], "source": [ "print(link_system_prompt)" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "id": "8e1f601b-2eaf-499d-b6b8-c99050c9d6b3", "metadata": {}, "outputs": [], @@ -175,17 +263,52 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 9, "id": "6bcbfa78-6395-4685-b92c-22d592050fd7", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Here is the list of links on the website of https://edwarddonner.com - please decide which of these are relevant web links for a brochure about the company, respond with the full https URL in JSON format. Do not include Terms of Service, Privacy, email links.\n", + "Links (some might be relative links):\n", + "https://edwarddonner.com/\n", + "https://edwarddonner.com/outsmart/\n", + "https://edwarddonner.com/about-me-and-about-nebula/\n", + "https://edwarddonner.com/posts/\n", + "https://edwarddonner.com/\n", + "https://news.ycombinator.com\n", + "https://nebula.io/?utm_source=ed&utm_medium=referral\n", + "https://www.prnewswire.com/news-releases/wynden-stark-group-acquires-nyc-venture-backed-tech-startup-untapt-301269512.html\n", + "https://patents.google.com/patent/US20210049536A1/\n", + "https://www.linkedin.com/in/eddonner/\n", + "https://edwarddonner.com/2024/11/13/llm-engineering-resources/\n", + "https://edwarddonner.com/2024/11/13/llm-engineering-resources/\n", + "https://edwarddonner.com/2024/10/16/from-software-engineer-to-ai-data-scientist-resources/\n", + "https://edwarddonner.com/2024/10/16/from-software-engineer-to-ai-data-scientist-resources/\n", + "https://edwarddonner.com/2024/08/06/outsmart/\n", + "https://edwarddonner.com/2024/08/06/outsmart/\n", + "https://edwarddonner.com/2024/06/26/choosing-the-right-llm-resources/\n", + "https://edwarddonner.com/2024/06/26/choosing-the-right-llm-resources/\n", + "https://edwarddonner.com/\n", + "https://edwarddonner.com/outsmart/\n", + "https://edwarddonner.com/about-me-and-about-nebula/\n", + "https://edwarddonner.com/posts/\n", + "mailto:hello@mygroovydomain.com\n", + "https://www.linkedin.com/in/eddonner/\n", + "https://twitter.com/edwarddonner\n", + "https://www.facebook.com/edward.donner.52\n" + ] + } + ], "source": [ "print(get_links_user_prompt(ed))" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 10, "id": "a29aca19-ca13-471c-a4b4-5abbfa813f69", "metadata": {}, "outputs": [], @@ -206,10 +329,100 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 11, "id": "74a827a0-2782-4ae5-b210-4a242a8b4cc2", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "['/',\n", + " '/models',\n", + " '/datasets',\n", + " '/spaces',\n", + " '/posts',\n", + " '/docs',\n", + " '/enterprise',\n", + " '/pricing',\n", + " '/login',\n", + " '/join',\n", + " '/meta-llama/Llama-3.3-70B-Instruct',\n", + " '/Datou1111/shou_xin',\n", + " '/tencent/HunyuanVideo',\n", + " '/black-forest-labs/FLUX.1-dev',\n", + " '/CohereForAI/c4ai-command-r7b-12-2024',\n", + " '/models',\n", + " '/spaces/JeffreyXiang/TRELLIS',\n", + " '/spaces/multimodalart/flux-style-shaping',\n", + " '/spaces/Kwai-Kolors/Kolors-Virtual-Try-On',\n", + " '/spaces/lllyasviel/iclight-v2',\n", + " '/spaces/ginipick/FLUXllama',\n", + " '/spaces',\n", + " '/datasets/HuggingFaceFW/fineweb-2',\n", + " '/datasets/fka/awesome-chatgpt-prompts',\n", + " '/datasets/CohereForAI/Global-MMLU',\n", + " '/datasets/O1-OPEN/OpenO1-SFT',\n", + " '/datasets/aiqtech/kolaw',\n", + " '/datasets',\n", + " '/join',\n", + " '/pricing#endpoints',\n", + " '/pricing#spaces',\n", + " '/pricing',\n", + " '/enterprise',\n", + " '/enterprise',\n", + " '/enterprise',\n", + " '/enterprise',\n", + " '/enterprise',\n", + " '/enterprise',\n", + " '/enterprise',\n", + " '/allenai',\n", + " '/facebook',\n", + " '/amazon',\n", + " '/google',\n", + " '/Intel',\n", + " '/microsoft',\n", + " '/grammarly',\n", + " '/Writer',\n", + " '/docs/transformers',\n", + " '/docs/diffusers',\n", + " '/docs/safetensors',\n", + " '/docs/huggingface_hub',\n", + " '/docs/tokenizers',\n", + " '/docs/peft',\n", + " '/docs/transformers.js',\n", + " '/docs/timm',\n", + " '/docs/trl',\n", + " '/docs/datasets',\n", + " '/docs/text-generation-inference',\n", + " '/docs/accelerate',\n", + " '/models',\n", + " '/datasets',\n", + " '/spaces',\n", + " '/tasks',\n", + " 'https://ui.endpoints.huggingface.co',\n", + " '/chat',\n", + " '/huggingface',\n", + " '/brand',\n", + " '/terms-of-service',\n", + " '/privacy',\n", + " 'https://apply.workable.com/huggingface/',\n", + " 'mailto:press@huggingface.co',\n", + " '/learn',\n", + " '/docs',\n", + " '/blog',\n", + " 'https://discuss.huggingface.co',\n", + " 'https://status.huggingface.co/',\n", + " 'https://github.com/huggingface',\n", + " 'https://twitter.com/huggingface',\n", + " 'https://www.linkedin.com/company/huggingface/',\n", + " '/join/discord']" + ] + }, + "execution_count": 11, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "# Anthropic has made their site harder to scrape, so I'm using HuggingFace..\n", "\n", @@ -219,10 +432,31 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "id": "d3d583e2-dcc4-40cc-9b28-1e8dbf402924", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "{'links': [{'type': 'about page', 'url': 'https://huggingface.co'},\n", + " {'type': 'enterprise page', 'url': 'https://huggingface.co/enterprise'},\n", + " {'type': 'pricing page', 'url': 'https://huggingface.co/pricing'},\n", + " {'type': 'careers page', 'url': 'https://apply.workable.com/huggingface/'},\n", + " {'type': 'join page', 'url': 'https://huggingface.co/join'},\n", + " {'type': 'blog page', 'url': 'https://huggingface.co/blog'},\n", + " {'type': 'community discussion', 'url': 'https://discuss.huggingface.co'},\n", + " {'type': 'GitHub page', 'url': 'https://github.com/huggingface'},\n", + " {'type': 'Twitter page', 'url': 'https://twitter.com/huggingface'},\n", + " {'type': 'LinkedIn page',\n", + " 'url': 'https://www.linkedin.com/company/huggingface/'}]}" + ] + }, + "execution_count": 12, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "get_links(\"https://huggingface.co\")" ] @@ -239,7 +473,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 13, "id": "85a5b6e2-e7ef-44a9-bc7f-59ede71037b5", "metadata": {}, "outputs": [], @@ -257,23 +491,1942 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 14, "id": "5099bd14-076d-4745-baf3-dac08d8e5ab2", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'about page', 'url': 'https://huggingface.co/huggingface'}, {'type': 'careers page', 'url': 'https://apply.workable.com/huggingface/'}, {'type': 'enterprise page', 'url': 'https://huggingface.co/enterprise'}, {'type': 'pricing page', 'url': 'https://huggingface.co/pricing'}, {'type': 'blog page', 'url': 'https://huggingface.co/blog'}, {'type': 'documentation page', 'url': 'https://huggingface.co/docs'}]}\n", + "Landing page:\n", + "Webpage Title:\n", + "Hugging Face – The AI community building the future.\n", + "Webpage Contents:\n", + "Hugging Face\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Posts\n", + "Docs\n", + "Enterprise\n", + "Pricing\n", + "Log In\n", + "Sign Up\n", + "The AI community building the future.\n", + "The platform where the machine learning community collaborates on models, datasets, and applications.\n", + "Trending on\n", + "this week\n", + "Models\n", + "meta-llama/Llama-3.3-70B-Instruct\n", + "Updated\n", + "5 days ago\n", + "•\n", + "147k\n", + "•\n", + "1.03k\n", + "Datou1111/shou_xin\n", + "Updated\n", + "7 days ago\n", + "•\n", + "15.3k\n", + "•\n", + "411\n", + "tencent/HunyuanVideo\n", + "Updated\n", + "8 days ago\n", + "•\n", + "4.39k\n", + "•\n", + "1.04k\n", + "black-forest-labs/FLUX.1-dev\n", + "Updated\n", + "Aug 16\n", + "•\n", + "1.36M\n", + "•\n", + "7.28k\n", + "CohereForAI/c4ai-command-r7b-12-2024\n", + "Updated\n", + "1 day ago\n", + "•\n", + "1.2k\n", + "•\n", + "185\n", + "Browse 400k+ models\n", + "Spaces\n", + "Running\n", + "on\n", + "Zero\n", + "1.35k\n", + "🏢\n", + "TRELLIS\n", + "Scalable and Versatile 3D Generation from images\n", + "Running\n", + "on\n", + "L40S\n", + "296\n", + "🚀\n", + "Flux Style Shaping\n", + "Optical illusions and style transfer with FLUX\n", + "Running\n", + "on\n", + "CPU Upgrade\n", + "5.98k\n", + "👕\n", + "Kolors Virtual Try-On\n", + "Running\n", + "on\n", + "Zero\n", + "841\n", + "📈\n", + "IC Light V2\n", + "Running\n", + "on\n", + "Zero\n", + "319\n", + "🦀🏆\n", + "FLUXllama\n", + "FLUX 4-bit Quantization(just 8GB VRAM)\n", + "Browse 150k+ applications\n", + "Datasets\n", + "HuggingFaceFW/fineweb-2\n", + "Updated\n", + "7 days ago\n", + "•\n", + "42.5k\n", + "•\n", + "302\n", + "fka/awesome-chatgpt-prompts\n", + "Updated\n", + "Sep 3\n", + "•\n", + "7k\n", + "•\n", + "6.53k\n", + "CohereForAI/Global-MMLU\n", + "Updated\n", + "3 days ago\n", + "•\n", + "6.77k\n", + "•\n", + "88\n", + "O1-OPEN/OpenO1-SFT\n", + "Updated\n", + "24 days ago\n", + "•\n", + "1.44k\n", + "•\n", + "185\n", + "aiqtech/kolaw\n", + "Updated\n", + "Apr 26\n", + "•\n", + "102\n", + "•\n", + "42\n", + "Browse 100k+ datasets\n", + "The Home of Machine Learning\n", + "Create, discover and collaborate on ML better.\n", + "The collaboration platform\n", + "Host and collaborate on unlimited public models, datasets and applications.\n", + "Move faster\n", + "With the HF Open source stack.\n", + "Explore all modalities\n", + "Text, image, video, audio or even 3D.\n", + "Build your portfolio\n", + "Share your work with the world and build your ML profile.\n", + "Sign Up\n", + "Accelerate your ML\n", + "We provide paid Compute and Enterprise solutions.\n", + "Compute\n", + "Deploy on optimized\n", + "Inference Endpoints\n", + "or update your\n", + "Spaces applications\n", + "to a GPU in a few clicks.\n", + "View pricing\n", + "Starting at $0.60/hour for GPU\n", + "Enterprise\n", + "Give your team the most advanced platform to build AI with enterprise-grade security, access controls and\n", + "\t\t\tdedicated support.\n", + "Getting started\n", + "Starting at $20/user/month\n", + "Single Sign-On\n", + "Regions\n", + "Priority Support\n", + "Audit Logs\n", + "Resource Groups\n", + "Private Datasets Viewer\n", + "More than 50,000 organizations are using Hugging Face\n", + "Ai2\n", + "Enterprise\n", + "non-profit\n", + "•\n", + "366 models\n", + "•\n", + "1.72k followers\n", + "AI at Meta\n", + "Enterprise\n", + "company\n", + "•\n", + "2.05k models\n", + "•\n", + "3.76k followers\n", + "Amazon Web Services\n", + "company\n", + "•\n", + "21 models\n", + "•\n", + "2.42k followers\n", + "Google\n", + "company\n", + "•\n", + "911 models\n", + "•\n", + "5.5k followers\n", + "Intel\n", + "company\n", + "•\n", + "217 models\n", + "•\n", + "2.05k followers\n", + "Microsoft\n", + "company\n", + "•\n", + "352 models\n", + "•\n", + "6.13k followers\n", + "Grammarly\n", + "company\n", + "•\n", + "10 models\n", + "•\n", + "98 followers\n", + "Writer\n", + "Enterprise\n", + "company\n", + "•\n", + "16 models\n", + "•\n", + "180 followers\n", + "Our Open Source\n", + "We are building the foundation of ML tooling with the community.\n", + "Transformers\n", + "136,317\n", + "State-of-the-art ML for Pytorch, TensorFlow, and JAX.\n", + "Diffusers\n", + "26,646\n", + "State-of-the-art diffusion models for image and audio generation in PyTorch.\n", + "Safetensors\n", + "2,954\n", + "Simple, safe way to store and distribute neural networks weights safely and quickly.\n", + "Hub Python Library\n", + "2,165\n", + "Client library for the HF Hub: manage repositories from your Python runtime.\n", + "Tokenizers\n", + "9,153\n", + "Fast tokenizers, optimized for both research and production.\n", + "PEFT\n", + "16,713\n", + "Parameter efficient finetuning methods for large models.\n", + "Transformers.js\n", + "12,349\n", + "State-of-the-art Machine Learning for the web. Run Transformers directly in your browser, with no need for a server.\n", + "timm\n", + "32,608\n", + "State-of-the-art computer vision models, layers, optimizers, training/evaluation, and utilities.\n", + "TRL\n", + "10,312\n", + "Train transformer language models with reinforcement learning.\n", + "Datasets\n", + "19,354\n", + "Access and share datasets for computer vision, audio, and NLP tasks.\n", + "Text Generation Inference\n", + "9,451\n", + "Toolkit to serve Large Language Models.\n", + "Accelerate\n", + "8,054\n", + "Easily train and use PyTorch models with multi-GPU, TPU, mixed-precision.\n", + "Website\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Tasks\n", + "Inference Endpoints\n", + "HuggingChat\n", + "Company\n", + "About\n", + "Brand assets\n", + "Terms of service\n", + "Privacy\n", + "Jobs\n", + "Press\n", + "Resources\n", + "Learn\n", + "Documentation\n", + "Blog\n", + "Forum\n", + "Service Status\n", + "Social\n", + "GitHub\n", + "Twitter\n", + "LinkedIn\n", + "Discord\n", + "\n", + "\n", + "\n", + "about page\n", + "Webpage Title:\n", + "huggingface (Hugging Face)\n", + "Webpage Contents:\n", + "Hugging Face\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Posts\n", + "Docs\n", + "Enterprise\n", + "Pricing\n", + "Log In\n", + "Sign Up\n", + "Hugging Face\n", + "Enterprise\n", + "company\n", + "Verified\n", + "https://huggingface.co\n", + "huggingface\n", + "huggingface\n", + "Follow\n", + "7,721\n", + "AI & ML interests\n", + "The AI community building the future.\n", + "Team members\n", + "224\n", + "+190\n", + "+177\n", + "+156\n", + "+146\n", + "+126\n", + "Organization Card\n", + "Community\n", + "About org cards\n", + "👋 Hi!\n", + "We are on a mission to democratize\n", + "good\n", + "machine learning, one commit at a time.\n", + "If that sounds like something you should be doing, why don't you\n", + "join us\n", + "!\n", + "For press enquiries, you can\n", + "✉️ contact our team here\n", + ".\n", + "Collections\n", + "1\n", + "DistilBERT release\n", + "Original DistilBERT model, checkpoints obtained from using teacher-student learning from the original BERT checkpoints.\n", + "distilbert/distilbert-base-cased\n", + "Fill-Mask\n", + "•\n", + "Updated\n", + "May 6\n", + "•\n", + "388k\n", + "•\n", + "35\n", + "distilbert/distilbert-base-uncased\n", + "Fill-Mask\n", + "•\n", + "Updated\n", + "May 6\n", + "•\n", + "15M\n", + "•\n", + "571\n", + "distilbert/distilbert-base-multilingual-cased\n", + "Fill-Mask\n", + "•\n", + "Updated\n", + "May 6\n", + "•\n", + "500k\n", + "•\n", + "147\n", + "distilbert/distilbert-base-uncased-finetuned-sst-2-english\n", + "Text Classification\n", + "•\n", + "Updated\n", + "Dec 19, 2023\n", + "•\n", + "7.37M\n", + "•\n", + "•\n", + "642\n", + "spaces\n", + "23\n", + "Sort: \n", + "\t\tRecently updated\n", + "pinned\n", + "Running\n", + "21\n", + "📈\n", + "Number Tokenization Blog\n", + "Running\n", + "313\n", + "😻\n", + "Open Source Ai Year In Review 2024\n", + "What happened in open-source AI this year, and what’s next?\n", + "Running\n", + "194\n", + "⚡\n", + "paper-central\n", + "Running\n", + "42\n", + "🔋\n", + "Inference Playground\n", + "Running\n", + "on\n", + "TPU v5e\n", + "5\n", + "💬\n", + "Keras Chatbot Battle\n", + "Running\n", + "101\n", + "⚡\n", + "Modelcard Creator\n", + "Expand 23\n", + "\t\t\t\t\t\t\tspaces\n", + "models\n", + "16\n", + "Sort: \n", + "\t\tRecently updated\n", + "huggingface/timesfm-tourism-monthly\n", + "Updated\n", + "6 days ago\n", + "•\n", + "24\n", + "huggingface/CodeBERTa-language-id\n", + "Text Classification\n", + "•\n", + "Updated\n", + "Mar 29\n", + "•\n", + "498\n", + "•\n", + "54\n", + "huggingface/falcon-40b-gptq\n", + "Text Generation\n", + "•\n", + "Updated\n", + "Jun 14, 2023\n", + "•\n", + "12\n", + "•\n", + "12\n", + "huggingface/autoformer-tourism-monthly\n", + "Updated\n", + "May 24, 2023\n", + "•\n", + "1.79k\n", + "•\n", + "9\n", + "huggingface/distilbert-base-uncased-finetuned-mnli\n", + "Text Classification\n", + "•\n", + "Updated\n", + "Mar 22, 2023\n", + "•\n", + "1.7k\n", + "•\n", + "2\n", + "huggingface/informer-tourism-monthly\n", + "Updated\n", + "Feb 24, 2023\n", + "•\n", + "1.26k\n", + "•\n", + "5\n", + "huggingface/time-series-transformer-tourism-monthly\n", + "Updated\n", + "Feb 23, 2023\n", + "•\n", + "2.22k\n", + "•\n", + "18\n", + "huggingface/the-no-branch-repo\n", + "Text-to-Image\n", + "•\n", + "Updated\n", + "Feb 10, 2023\n", + "•\n", + "6\n", + "•\n", + "3\n", + "huggingface/CodeBERTa-small-v1\n", + "Fill-Mask\n", + "•\n", + "Updated\n", + "Jun 27, 2022\n", + "•\n", + "38.7k\n", + "•\n", + "71\n", + "huggingface/test-model-repo\n", + "Updated\n", + "Nov 19, 2021\n", + "•\n", + "1\n", + "Expand 16\n", + "\t\t\t\t\t\t\tmodels\n", + "datasets\n", + "31\n", + "Sort: \n", + "\t\tRecently updated\n", + "huggingface/community-science-paper-v2\n", + "Viewer\n", + "•\n", + "Updated\n", + "11 minutes ago\n", + "•\n", + "4.93k\n", + "•\n", + "338\n", + "•\n", + "6\n", + "huggingface/paper-central-data\n", + "Viewer\n", + "•\n", + "Updated\n", + "2 days ago\n", + "•\n", + "113k\n", + "•\n", + "487\n", + "•\n", + "7\n", + "huggingface/documentation-images\n", + "Viewer\n", + "•\n", + "Updated\n", + "2 days ago\n", + "•\n", + "44\n", + "•\n", + "2.48M\n", + "•\n", + "42\n", + "huggingface/transformers-metadata\n", + "Viewer\n", + "•\n", + "Updated\n", + "2 days ago\n", + "•\n", + "1.51k\n", + "•\n", + "643\n", + "•\n", + "13\n", + "huggingface/policy-docs\n", + "Updated\n", + "3 days ago\n", + "•\n", + "905\n", + "•\n", + "6\n", + "huggingface/diffusers-metadata\n", + "Viewer\n", + "•\n", + "Updated\n", + "5 days ago\n", + "•\n", + "56\n", + "•\n", + "441\n", + "•\n", + "4\n", + "huggingface/my-distiset-3f5a230e\n", + "Updated\n", + "24 days ago\n", + "•\n", + "16\n", + "huggingface/cookbook-images\n", + "Viewer\n", + "•\n", + "Updated\n", + "Nov 14\n", + "•\n", + "1\n", + "•\n", + "44.9k\n", + "•\n", + "6\n", + "huggingface/vllm-metadata\n", + "Updated\n", + "Oct 8\n", + "•\n", + "10\n", + "huggingface/paper-central-data-2\n", + "Viewer\n", + "•\n", + "Updated\n", + "Oct 4\n", + "•\n", + "58.3k\n", + "•\n", + "69\n", + "•\n", + "2\n", + "Expand 31\n", + "\t\t\t\t\t\t\tdatasets\n", + "Company\n", + "© Hugging Face\n", + "TOS\n", + "Privacy\n", + "About\n", + "Jobs\n", + "Website\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Pricing\n", + "Docs\n", + "\n", + "\n", + "\n", + "careers page\n", + "Webpage Title:\n", + "Hugging Face - Current Openings\n", + "Webpage Contents:\n", + "\n", + "\n", + "\n", + "\n", + "enterprise page\n", + "Webpage Title:\n", + "Enterprise Hub - Hugging Face\n", + "Webpage Contents:\n", + "Hugging Face\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Posts\n", + "Docs\n", + "Enterprise\n", + "Pricing\n", + "Log In\n", + "Sign Up\n", + "Enterprise Hub\n", + "Enterprise-ready version of the world’s leading AI platform\n", + "Subscribe to\n", + "Enterprise Hub\n", + "for $20/user/month with your Hub organization\n", + "Give your organization the most advanced platform to build AI with enterprise-grade security, access controls,\n", + "\t\t\tdedicated support and more.\n", + "Single Sign-On\n", + "Connect securely to your identity provider with SSO integration.\n", + "Regions\n", + "Select, manage, and audit the location of your repository data.\n", + "Audit Logs\n", + "Stay in control with comprehensive logs that report on actions taken.\n", + "Resource Groups\n", + "Accurately manage access to repositories with granular access control.\n", + "Token Management\n", + "Centralized token control and custom approval policies for organization access.\n", + "Analytics\n", + "Track and analyze repository usage data in a single dashboard.\n", + "Advanced Compute Options\n", + "Increase scalability and performance with more compute options like ZeroGPU for Spaces.\n", + "Private Datasets Viewer\n", + "Enable the Dataset Viewer on your private datasets for easier collaboration.\n", + "Advanced security\n", + "Configure organization-wide security policies and default repository visibility.\n", + "Billing\n", + "Control your budget effectively with managed billing and yearly commit options.\n", + "Priority Support\n", + "Maximize your platform usage with priority support from the Hugging Face team.\n", + "Join the most forward-thinking AI organizations\n", + "Everything you already know and love about Hugging Face in Enterprise mode.\n", + "Subscribe to\n", + "Enterprise Hub\n", + "or\n", + "Talk to sales\n", + "AI at Meta\n", + "Enterprise\n", + "company\n", + "•\n", + "2.05k models\n", + "•\n", + "3.76k followers\n", + "Nerdy Face\n", + "Enterprise\n", + "company\n", + "•\n", + "1 model\n", + "•\n", + "234 followers\n", + "ServiceNow-AI\n", + "Enterprise\n", + "company\n", + "•\n", + "109 followers\n", + "Deutsche Telekom AG\n", + "Enterprise\n", + "company\n", + "•\n", + "7 models\n", + "•\n", + "112 followers\n", + "Chegg Inc\n", + "Enterprise\n", + "company\n", + "•\n", + "77 followers\n", + "Lightricks\n", + "Enterprise\n", + "company\n", + "•\n", + "3 models\n", + "•\n", + "368 followers\n", + "Aledade Inc\n", + "Enterprise\n", + "company\n", + "•\n", + "53 followers\n", + "Virtusa Corporation\n", + "Enterprise\n", + "company\n", + "•\n", + "48 followers\n", + "HiddenLayer\n", + "Enterprise\n", + "company\n", + "•\n", + "49 followers\n", + "Ekimetrics\n", + "Enterprise\n", + "company\n", + "•\n", + "47 followers\n", + "Johnson & Johnson\n", + "Enterprise\n", + "company\n", + "•\n", + "36 followers\n", + "Vectara\n", + "Enterprise\n", + "company\n", + "•\n", + "1 model\n", + "•\n", + "54 followers\n", + "HOVER External\n", + "Enterprise\n", + "company\n", + "•\n", + "26 followers\n", + "Qualcomm\n", + "Enterprise\n", + "company\n", + "•\n", + "153 models\n", + "•\n", + "353 followers\n", + "Meta Llama\n", + "Enterprise\n", + "company\n", + "•\n", + "57 models\n", + "•\n", + "13.4k followers\n", + "Orange\n", + "Enterprise\n", + "company\n", + "•\n", + "4 models\n", + "•\n", + "148 followers\n", + "Writer\n", + "Enterprise\n", + "company\n", + "•\n", + "16 models\n", + "•\n", + "180 followers\n", + "Toyota Research Institute\n", + "Enterprise\n", + "company\n", + "•\n", + "8 models\n", + "•\n", + "91 followers\n", + "H2O.ai\n", + "Enterprise\n", + "company\n", + "•\n", + "71 models\n", + "•\n", + "360 followers\n", + "Mistral AI_\n", + "Enterprise\n", + "company\n", + "•\n", + "21 models\n", + "•\n", + "3.4k followers\n", + "IBM Granite\n", + "Enterprise\n", + "company\n", + "•\n", + "56 models\n", + "•\n", + "609 followers\n", + "Liberty Mutual\n", + "Enterprise\n", + "company\n", + "•\n", + "41 followers\n", + "Arcee AI\n", + "Enterprise\n", + "company\n", + "•\n", + "130 models\n", + "•\n", + "264 followers\n", + "Gretel.ai\n", + "Enterprise\n", + "company\n", + "•\n", + "8 models\n", + "•\n", + "72 followers\n", + "Gsk-tech\n", + "Enterprise\n", + "company\n", + "•\n", + "33 followers\n", + "BCG X\n", + "Enterprise\n", + "company\n", + "•\n", + "29 followers\n", + "StepStone Online Recruiting\n", + "Enterprise\n", + "company\n", + "•\n", + "32 followers\n", + "Prezi\n", + "Enterprise\n", + "company\n", + "•\n", + "30 followers\n", + "Shopify\n", + "Enterprise\n", + "company\n", + "•\n", + "371 followers\n", + "Together\n", + "Enterprise\n", + "company\n", + "•\n", + "27 models\n", + "•\n", + "462 followers\n", + "Bloomberg\n", + "Enterprise\n", + "company\n", + "•\n", + "2 models\n", + "•\n", + "133 followers\n", + "Fidelity Investments\n", + "Enterprise\n", + "company\n", + "•\n", + "114 followers\n", + "Jusbrasil\n", + "Enterprise\n", + "company\n", + "•\n", + "77 followers\n", + "Technology Innovation Institute\n", + "Enterprise\n", + "company\n", + "•\n", + "25 models\n", + "•\n", + "981 followers\n", + "Stability AI\n", + "Enterprise\n", + "company\n", + "•\n", + "95 models\n", + "•\n", + "8.67k followers\n", + "Nutanix\n", + "Enterprise\n", + "company\n", + "•\n", + "245 models\n", + "•\n", + "38 followers\n", + "Kakao Corp.\n", + "Enterprise\n", + "company\n", + "•\n", + "41 followers\n", + "creditkarma\n", + "Enterprise\n", + "company\n", + "•\n", + "32 followers\n", + "Mercedes-Benz AG\n", + "Enterprise\n", + "company\n", + "•\n", + "80 followers\n", + "Widn AI\n", + "Enterprise\n", + "company\n", + "•\n", + "27 followers\n", + "Liquid AI\n", + "Enterprise\n", + "company\n", + "•\n", + "85 followers\n", + "BRIA AI\n", + "Enterprise\n", + "company\n", + "•\n", + "28 models\n", + "•\n", + "980 followers\n", + "Compliance & Certifications\n", + "GDPR Compliant\n", + "SOC 2 Type 2\n", + "Website\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Tasks\n", + "Inference Endpoints\n", + "HuggingChat\n", + "Company\n", + "About\n", + "Brand assets\n", + "Terms of service\n", + "Privacy\n", + "Jobs\n", + "Press\n", + "Resources\n", + "Learn\n", + "Documentation\n", + "Blog\n", + "Forum\n", + "Service Status\n", + "Social\n", + "GitHub\n", + "Twitter\n", + "LinkedIn\n", + "Discord\n", + "\n", + "\n", + "\n", + "pricing page\n", + "Webpage Title:\n", + "Hugging Face – Pricing\n", + "Webpage Contents:\n", + "Hugging Face\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Posts\n", + "Docs\n", + "Enterprise\n", + "Pricing\n", + "Log In\n", + "Sign Up\n", + "Pricing\n", + "Leveling up AI collaboration and compute.\n", + "Users and organizations already use the Hub as a collaboration platform,\n", + "we’re making it easy to seamlessly and scalably launch ML compute directly from the Hub.\n", + "HF Hub\n", + "Collaborate on Machine Learning\n", + "Host unlimited public models, datasets\n", + "Create unlimited orgs with no member limits\n", + "Access the latest ML tools and open source\n", + "Community support\n", + "Forever\n", + "Free\n", + "PRO\n", + "Pro Account\n", + "Unlock advanced HF features\n", + "ZeroGPU and Dev Mode for Spaces\n", + "Higher rate limits for serverless inference\n", + "Get early access to upcoming features\n", + "Show your support with a Pro badge\n", + "Subscribe for\n", + "$9\n", + "/month\n", + "Enterprise Hub\n", + "Accelerate your AI roadmap\n", + "SSO and SAML support\n", + "Select data location with Storage Regions\n", + "Precise actions reviews with Audit logs\n", + "Granular access control with Resource groups\n", + "Centralized token control and approval\n", + "Dataset Viewer for private datasets\n", + "Advanced compute options for Spaces\n", + "Deploy Inference on your own Infra\n", + "Managed billing with yearly commits\n", + "Priority support\n", + "Starting at\n", + "$20\n", + "per user per month\n", + "Spaces Hardware\n", + "Upgrade your Space compute\n", + "Free CPUs\n", + "Build more advanced Spaces\n", + "7 optimized hardware available\n", + "From CPU to GPU to Accelerators\n", + "Starting at\n", + "$0\n", + "/hour\n", + "Inference Endpoints\n", + "Deploy models on fully managed infrastructure\n", + "Deploy dedicated Endpoints in seconds\n", + "Keep your costs low\n", + "Fully-managed autoscaling\n", + "Enterprise security\n", + "Starting at\n", + "$0.032\n", + "/hour\n", + "Need support to accelerate AI in your organization? View our\n", + "Expert Support\n", + ".\n", + "Hugging Face Hub\n", + "free\n", + "The HF Hub is the central place to explore, experiment, collaborate and build technology with Machine\n", + "\t\t\t\t\tLearning.\n", + "Join the open source Machine Learning movement!\n", + "→\n", + "Sign Up\n", + "Create with ML\n", + "Packed with ML features, like model eval, dataset viewer and much more.\n", + "Collaborate\n", + "Git based and designed for collaboration at its core.\n", + "Play and learn\n", + "Learn by experimenting and sharing with our awesome community.\n", + "Build your ML portfolio\n", + "Share your work with the world and build your own ML profile.\n", + "Spaces Hardware\n", + "Starting at $0\n", + "Spaces are one of the most popular ways to share ML applications and demos with the world.\n", + "Upgrade your Spaces with our selection of custom on-demand hardware:\n", + "→\n", + "Get started with Spaces\n", + "Name\n", + "CPU\n", + "Memory\n", + "Accelerator\n", + "VRAM\n", + "Hourly price\n", + "CPU Basic\n", + "2 vCPU\n", + "16 GB\n", + "-\n", + "-\n", + "FREE\n", + "CPU Upgrade\n", + "8 vCPU\n", + "32 GB\n", + "-\n", + "-\n", + "$0.03\n", + "Nvidia T4 - small\n", + "4 vCPU\n", + "15 GB\n", + "Nvidia T4\n", + "16 GB\n", + "$0.40\n", + "Nvidia T4 - medium\n", + "8 vCPU\n", + "30 GB\n", + "Nvidia T4\n", + "16 GB\n", + "$0.60\n", + "1x Nvidia L4\n", + "8 vCPU\n", + "30 GB\n", + "Nvidia L4\n", + "24 GB\n", + "$0.80\n", + "4x Nvidia L4\n", + "48 vCPU\n", + "186 GB\n", + "Nvidia L4\n", + "96 GB\n", + "$3.80\n", + "1x Nvidia L40S\n", + "8 vCPU\n", + "62 GB\n", + "Nvidia L4\n", + "48 GB\n", + "$1.80\n", + "4x Nvidia L40S\n", + "48 vCPU\n", + "382 GB\n", + "Nvidia L4\n", + "192 GB\n", + "$8.30\n", + "8x Nvidia L40S\n", + "192 vCPU\n", + "1534 GB\n", + "Nvidia L4\n", + "384 GB\n", + "$23.50\n", + "Nvidia A10G - small\n", + "4 vCPU\n", + "15 GB\n", + "Nvidia A10G\n", + "24 GB\n", + "$1.00\n", + "Nvidia A10G - large\n", + "12 vCPU\n", + "46 GB\n", + "Nvidia A10G\n", + "24 GB\n", + "$1.50\n", + "2x Nvidia A10G - large\n", + "24 vCPU\n", + "92 GB\n", + "Nvidia A10G\n", + "48 GB\n", + "$3.00\n", + "4x Nvidia A10G - large\n", + "48 vCPU\n", + "184 GB\n", + "Nvidia A10G\n", + "96 GB\n", + "$5.00\n", + "Nvidia A100 - large\n", + "12 vCPU\n", + "142 GB\n", + "Nvidia A100\n", + "80 GB\n", + "$4.00\n", + "TPU v5e 1x1\n", + "22 vCPU\n", + "44 GB\n", + "Google TPU v5e\n", + "16 GB\n", + "$1.20\n", + "TPU v5e 2x2\n", + "110 vCPU\n", + "186 GB\n", + "Google TPU v5e\n", + "64 GB\n", + "$4.75\n", + "TPU v5e 2x4\n", + "220 vCPU\n", + "380 GB\n", + "Google TPU v5e\n", + "128 GB\n", + "$9.50\n", + "Custom\n", + "on demand\n", + "on demand\n", + "on demand\n", + "on demand\n", + "on demand\n", + "Spaces Persistent Storage\n", + "All Spaces get ephemeral storage for free but you can upgrade and add persistent storage at any time.\n", + "Name\n", + "Storage\n", + "Monthly price\n", + "Small\n", + "20 GB\n", + "$5\n", + "Medium\n", + "150 GB\n", + "$25\n", + "Large\n", + "1 TB\n", + "$100\n", + "Building something cool as a side project? We also offer community GPU grants.\n", + "Inference Endpoints\n", + "Starting at $0.033/hour\n", + "Inference Endpoints (dedicated) offers a secure production solution to easily deploy any ML model on dedicated\n", + "\t\t\t\t\tand autoscaling infrastructure, right from the HF Hub.\n", + "→\n", + "Learn more\n", + "CPU\n", + "instances\n", + "Provider\n", + "Architecture\n", + "vCPUs\n", + "Memory\n", + "Hourly rate\n", + "aws\n", + "Intel Sapphire Rapids\n", + "1\n", + "2GB\n", + "$0.03\n", + "2\n", + "4GB\n", + "$0.07\n", + "4\n", + "8GB\n", + "$0.13\n", + "8\n", + "16GB\n", + "$0.27\n", + "azure\n", + "Intel Xeon\n", + "1\n", + "2GB\n", + "$0.06\n", + "2\n", + "4GB\n", + "$0.12\n", + "4\n", + "8GB\n", + "$0.24\n", + "8\n", + "16GB\n", + "$0.48\n", + "gcp\n", + "Intel Sapphire Rapids\n", + "1\n", + "2GB\n", + "$0.05\n", + "2\n", + "4GB\n", + "$0.10\n", + "4\n", + "8GB\n", + "$0.20\n", + "8\n", + "16GB\n", + "$0.40\n", + "Accelerator\n", + "instances\n", + "Provider\n", + "Architecture\n", + "Topology\n", + "Accelerator Memory\n", + "Hourly rate\n", + "aws\n", + "Inf2\n", + "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNeuron\n", + "x1\n", + "14.5GB\n", + "$0.75\n", + "x12\n", + "760GB\n", + "$12.00\n", + "gcp\n", + "TPU\n", + "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tv5e\n", + "1x1\n", + "16GB\n", + "$1.20\n", + "2x2\n", + "64GB\n", + "$4.75\n", + "2x4\n", + "128GB\n", + "$9.50\n", + "GPU\n", + "instances\n", + "Provider\n", + "Architecture\n", + "GPUs\n", + "GPU Memory\n", + "Hourly rate\n", + "aws\n", + "NVIDIA T4\n", + "1\n", + "14GB\n", + "$0.50\n", + "4\n", + "56GB\n", + "$3.00\n", + "aws\n", + "NVIDIA L4\n", + "1\n", + "24GB\n", + "$0.80\n", + "4\n", + "96GB\n", + "$3.80\n", + "aws\n", + "NVIDIA L40S\n", + "1\n", + "48GB\n", + "$1.80\n", + "4\n", + "192GB\n", + "$8.30\n", + "8\n", + "384GB\n", + "$23.50\n", + "aws\n", + "NVIDIA A10G\n", + "1\n", + "24GB\n", + "$1.00\n", + "4\n", + "96GB\n", + "$5.00\n", + "aws\n", + "NVIDIA A100\n", + "1\n", + "80GB\n", + "$4.00\n", + "2\n", + "160GB\n", + "$8.00\n", + "4\n", + "320GB\n", + "$16.00\n", + "8\n", + "640GB\n", + "$32.00\n", + "gcp\n", + "NVIDIA T4\n", + "1\n", + "16GB\n", + "$0.50\n", + "gcp\n", + "NVIDIA L4\n", + "1\n", + "24GB\n", + "$0.70\n", + "4\n", + "96GB\n", + "$3.80\n", + "gcp\n", + "NVIDIA A100\n", + "1\n", + "80GB\n", + "$3.60\n", + "2\n", + "160GB\n", + "$7.20\n", + "4\n", + "320GB\n", + "$14.40\n", + "8\n", + "640GB\n", + "$28.80\n", + "gcp\n", + "NVIDIA H100\n", + "1\n", + "80GB\n", + "$10.00\n", + "2\n", + "160GB\n", + "$20.00\n", + "4\n", + "320GB\n", + "$40.00\n", + "8\n", + "640GB\n", + "$80.00\n", + "Pro Account\n", + "PRO\n", + "A monthly subscription to access powerful features.\n", + "→\n", + "Get Pro\n", + "($9/month)\n", + "ZeroGPU\n", + ": Get 5x usage quota and highest GPU queue priority\n", + "Spaces Hosting\n", + ": Create ZeroGPU Spaces with A100 hardware\n", + "Spaces Dev Mode\n", + ": Fast iterations via SSH/VS Code for Spaces\n", + "Dataset Viewer\n", + ": Activate it on private datasets\n", + "Inference API\n", + ": Get x20 higher rate limits on Serverless API\n", + "Blog Articles\n", + ": Publish articles to the Hugging Face blog\n", + "Social Posts\n", + ": Share short updates with the community\n", + "Features Preview\n", + ": Get early access to upcoming\n", + "\t\t\t\t\t\t\t\t\t\tfeatures\n", + "PRO\n", + "Badge\n", + ":\n", + "\t\t\t\t\t\t\t\t\t\tShow your support on your profile\n", + "Website\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Tasks\n", + "Inference Endpoints\n", + "HuggingChat\n", + "Company\n", + "About\n", + "Brand assets\n", + "Terms of service\n", + "Privacy\n", + "Jobs\n", + "Press\n", + "Resources\n", + "Learn\n", + "Documentation\n", + "Blog\n", + "Forum\n", + "Service Status\n", + "Social\n", + "GitHub\n", + "Twitter\n", + "LinkedIn\n", + "Discord\n", + "\n", + "\n", + "\n", + "blog page\n", + "Webpage Title:\n", + "Hugging Face – Blog\n", + "Webpage Contents:\n", + "Hugging Face\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Posts\n", + "Docs\n", + "Enterprise\n", + "Pricing\n", + "Log In\n", + "Sign Up\n", + "Blog, Articles, and discussions\n", + "New Article\n", + "Everything\n", + "community\n", + "guide\n", + "open source collab\n", + "partnerships\n", + "research\n", + "NLP\n", + "Audio\n", + "CV\n", + "RL\n", + "ethics\n", + "Diffusion\n", + "Game Development\n", + "RLHF\n", + "Leaderboard\n", + "Case Studies\n", + "LeMaterial: an open source initiative to accelerate materials discovery and research\n", + "By\n", + "AlexDuvalinho\n", + "December 10, 2024\n", + "guest\n", + "•\n", + "26\n", + "Community Articles\n", + "view all\n", + "Tutorial: Quantizing Llama 3+ Models for Efficient Deployment\n", + "By\n", + "theeseus-ai\n", + "•\n", + "14 minutes ago\n", + "•\n", + "1\n", + "AI Paradigms Explained: Instruct Models vs. Chat Models 🚀\n", + "By\n", + "theeseus-ai\n", + "•\n", + "20 minutes ago\n", + "How to Expand Your AI Music Generations of 30 Seconds to Several Minutes\n", + "By\n", + "theeseus-ai\n", + "•\n", + "2 days ago\n", + "•\n", + "1\n", + "🇪🇺✍️ EU AI Act: Systemic Risks in the First CoP Draft Comments ✍️🇪🇺\n", + "By\n", + "yjernite\n", + "•\n", + "3 days ago\n", + "•\n", + "6\n", + "The Intersection of CTMU and QCI: Implementing Emergent Intelligence\n", + "By\n", + "dimentox\n", + "•\n", + "3 days ago\n", + "Building an AI-powered search engine from scratch\n", + "By\n", + "as-cle-bert\n", + "•\n", + "4 days ago\n", + "•\n", + "5\n", + "**Build Your Own AI Server at Home: A Cost-Effective Guide Using Pre-Owned Components**\n", + "By\n", + "theeseus-ai\n", + "•\n", + "4 days ago\n", + "•\n", + "1\n", + "MotionLCM-V2: Improved Compression Rate for Multi-Latent-Token Diffusion\n", + "By\n", + "wxDai\n", + "•\n", + "4 days ago\n", + "•\n", + "10\n", + "RLHF 101: A Technical Dive into RLHF\n", + "By\n", + "GitBag\n", + "•\n", + "5 days ago\n", + "•\n", + "1\n", + "[Talk Arena](https://talkarena.org)\n", + "By\n", + "WillHeld\n", + "•\n", + "5 days ago\n", + "Multimodal RAG with Colpali, Milvus and VLMs\n", + "By\n", + "saumitras\n", + "•\n", + "5 days ago\n", + "In Honour of This Year's NeurIPs Test of Time Paper Awardees\n", + "By\n", + "Jaward\n", + "•\n", + "6 days ago\n", + "•\n", + "1\n", + "Power steering: Squeeze massive power from small LLMs\n", + "By\n", + "ucheog\n", + "•\n", + "6 days ago\n", + "•\n", + "4\n", + "Exploring the Power of KaibanJS v0.11.0 🚀\n", + "By\n", + "darielnoel\n", + "•\n", + "6 days ago\n", + "•\n", + "1\n", + "**Building a Custom Retrieval System with Motoko and Node.js**\n", + "By\n", + "theeseus-ai\n", + "•\n", + "6 days ago\n", + "Finding Moroccan Arabic (Darija) in Fineweb 2\n", + "By\n", + "omarkamali\n", + "•\n", + "7 days ago\n", + "•\n", + "18\n", + "Running Your Custom LoRA Fine-Tuned MusicGen Large Locally\n", + "By\n", + "theeseus-ai\n", + "•\n", + "9 days ago\n", + "•\n", + "1\n", + "Building a Local Vector Database Index with Annoy and Sentence Transformers\n", + "By\n", + "theeseus-ai\n", + "•\n", + "10 days ago\n", + "•\n", + "2\n", + "Practical Consciousness Theory for AI System Design\n", + "By\n", + "KnutJaegersberg\n", + "•\n", + "10 days ago\n", + "•\n", + "3\n", + "Releasing QwQ-LongCoT-130K\n", + "By\n", + "amphora\n", + "•\n", + "10 days ago\n", + "•\n", + "6\n", + "Hugging Face models in Amazon Bedrock\n", + "By\n", + "pagezyhf\n", + "December 9, 2024\n", + "•\n", + "5\n", + "Hugging Face Community Releases an Open Preference Dataset for Text-to-Image Generation\n", + "By\n", + "davidberenstein1957\n", + "December 9, 2024\n", + "•\n", + "45\n", + "Welcome PaliGemma 2 – New vision language models by Google\n", + "By\n", + "merve\n", + "December 5, 2024\n", + "•\n", + "105\n", + "“How good are LLMs at fixing their mistakes? A chatbot arena experiment with Keras and TPUs\n", + "By\n", + "martin-gorner\n", + "December 5, 2024\n", + "•\n", + "12\n", + "Rethinking LLM Evaluation with 3C3H: AraGen Benchmark and Leaderboard\n", + "By\n", + "alielfilali01\n", + "December 4, 2024\n", + "guest\n", + "•\n", + "24\n", + "Investing in Performance: Fine-tune small models with LLM insights - a CFM case study\n", + "By\n", + "oahouzi\n", + "December 3, 2024\n", + "•\n", + "24\n", + "Rearchitecting Hugging Face Uploads and Downloads\n", + "By\n", + "port8080\n", + "November 26, 2024\n", + "•\n", + "37\n", + "SmolVLM - small yet mighty Vision Language Model\n", + "By\n", + "andito\n", + "November 26, 2024\n", + "•\n", + "135\n", + "You could have designed state of the art positional encoding\n", + "By\n", + "FL33TW00D-HF\n", + "November 25, 2024\n", + "•\n", + "76\n", + "Letting Large Models Debate: The First Multilingual LLM Debate Competition\n", + "By\n", + "xuanricheng\n", + "November 20, 2024\n", + "guest\n", + "•\n", + "26\n", + "From Files to Chunks: Improving Hugging Face Storage Efficiency\n", + "By\n", + "jsulz\n", + "November 20, 2024\n", + "•\n", + "42\n", + "Faster Text Generation with Self-Speculative Decoding\n", + "By\n", + "ariG23498\n", + "November 20, 2024\n", + "•\n", + "43\n", + "Introduction to the Open Leaderboard for Japanese LLMs\n", + "By\n", + "akimfromparis\n", + "November 20, 2024\n", + "guest\n", + "•\n", + "26\n", + "Judge Arena: Benchmarking LLMs as Evaluators\n", + "By\n", + "kaikaidai\n", + "November 19, 2024\n", + "guest\n", + "•\n", + "47\n", + "Previous\n", + "1\n", + "2\n", + "3\n", + "...\n", + "36\n", + "Next\n", + "Community Articles\n", + "view all\n", + "Tutorial: Quantizing Llama 3+ Models for Efficient Deployment\n", + "By\n", + "theeseus-ai\n", + "•\n", + "14 minutes ago\n", + "•\n", + "1\n", + "AI Paradigms Explained: Instruct Models vs. Chat Models 🚀\n", + "By\n", + "theeseus-ai\n", + "•\n", + "20 minutes ago\n", + "How to Expand Your AI Music Generations of 30 Seconds to Several Minutes\n", + "By\n", + "theeseus-ai\n", + "•\n", + "2 days ago\n", + "•\n", + "1\n", + "🇪🇺✍️ EU AI Act: Systemic Risks in the First CoP Draft Comments ✍️🇪🇺\n", + "By\n", + "yjernite\n", + "•\n", + "3 days ago\n", + "•\n", + "6\n", + "The Intersection of CTMU and QCI: Implementing Emergent Intelligence\n", + "By\n", + "dimentox\n", + "•\n", + "3 days ago\n", + "Building an AI-powered search engine from scratch\n", + "By\n", + "as-cle-bert\n", + "•\n", + "4 days ago\n", + "•\n", + "5\n", + "**Build Your Own AI Server at Home: A Cost-Effective Guide Using Pre-Owned Components**\n", + "By\n", + "theeseus-ai\n", + "•\n", + "4 days ago\n", + "•\n", + "1\n", + "MotionLCM-V2: Improved Compression Rate for Multi-Latent-Token Diffusion\n", + "By\n", + "wxDai\n", + "•\n", + "4 days ago\n", + "•\n", + "10\n", + "RLHF 101: A Technical Dive into RLHF\n", + "By\n", + "GitBag\n", + "•\n", + "5 days ago\n", + "•\n", + "1\n", + "[Talk Arena](https://talkarena.org)\n", + "By\n", + "WillHeld\n", + "•\n", + "5 days ago\n", + "Multimodal RAG with Colpali, Milvus and VLMs\n", + "By\n", + "saumitras\n", + "•\n", + "5 days ago\n", + "In Honour of This Year's NeurIPs Test of Time Paper Awardees\n", + "By\n", + "Jaward\n", + "•\n", + "6 days ago\n", + "•\n", + "1\n", + "Power steering: Squeeze massive power from small LLMs\n", + "By\n", + "ucheog\n", + "•\n", + "6 days ago\n", + "•\n", + "4\n", + "Exploring the Power of KaibanJS v0.11.0 🚀\n", + "By\n", + "darielnoel\n", + "•\n", + "6 days ago\n", + "•\n", + "1\n", + "**Building a Custom Retrieval System with Motoko and Node.js**\n", + "By\n", + "theeseus-ai\n", + "•\n", + "6 days ago\n", + "Finding Moroccan Arabic (Darija) in Fineweb 2\n", + "By\n", + "omarkamali\n", + "•\n", + "7 days ago\n", + "•\n", + "18\n", + "Running Your Custom LoRA Fine-Tuned MusicGen Large Locally\n", + "By\n", + "theeseus-ai\n", + "•\n", + "9 days ago\n", + "•\n", + "1\n", + "Building a Local Vector Database Index with Annoy and Sentence Transformers\n", + "By\n", + "theeseus-ai\n", + "•\n", + "10 days ago\n", + "•\n", + "2\n", + "Practical Consciousness Theory for AI System Design\n", + "By\n", + "KnutJaegersberg\n", + "•\n", + "10 days ago\n", + "•\n", + "3\n", + "Releasing QwQ-LongCoT-130K\n", + "By\n", + "amphora\n", + "•\n", + "10 days ago\n", + "•\n", + "6\n", + "Company\n", + "© Hugging Face\n", + "TOS\n", + "Privacy\n", + "About\n", + "Jobs\n", + "Website\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Pricing\n", + "Docs\n", + "\n", + "\n", + "\n", + "documentation page\n", + "Webpage Title:\n", + "Hugging Face - Documentation\n", + "Webpage Contents:\n", + "Hugging Face\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Posts\n", + "Docs\n", + "Enterprise\n", + "Pricing\n", + "Log In\n", + "Sign Up\n", + "Documentations\n", + "Hub\n", + "Host Git-based models, datasets and Spaces on the Hugging Face Hub.\n", + "Transformers\n", + "State-of-the-art ML for Pytorch, TensorFlow, and JAX.\n", + "Diffusers\n", + "State-of-the-art diffusion models for image and audio generation in PyTorch.\n", + "Datasets\n", + "Access and share datasets for computer vision, audio, and NLP tasks.\n", + "Gradio\n", + "Build machine learning demos and other web apps, in just a few lines of Python.\n", + "Hub Python Library\n", + "Client library for the HF Hub: manage repositories from your Python runtime.\n", + "Huggingface.js\n", + "A collection of JS libraries to interact with Hugging Face, with TS types included.\n", + "Transformers.js\n", + "State-of-the-art Machine Learning for the web. Run Transformers directly in your browser, with no need for a server.\n", + "Inference API (serverless)\n", + "Experiment with over 200k models easily using the serverless tier of Inference Endpoints.\n", + "Inference Endpoints (dedicated)\n", + "Easily deploy models to production on dedicated, fully managed infrastructure.\n", + "PEFT\n", + "Parameter efficient finetuning methods for large models.\n", + "Accelerate\n", + "Easily train and use PyTorch models with multi-GPU, TPU, mixed-precision.\n", + "Optimum\n", + "Fast training and inference of HF Transformers with easy to use hardware optimization tools.\n", + "AWS Trainium & Inferentia\n", + "Train and Deploy Transformers & Diffusers with AWS Trainium and AWS Inferentia via Optimum.\n", + "Tokenizers\n", + "Fast tokenizers, optimized for both research and production.\n", + "Evaluate\n", + "Evaluate and report model performance easier and more standardized.\n", + "Tasks\n", + "All things about ML tasks: demos, use cases, models, datasets, and more!\n", + "Dataset viewer\n", + "API to access the contents, metadata and basic statistics of all Hugging Face Hub datasets.\n", + "TRL\n", + "Train transformer language models with reinforcement learning.\n", + "Amazon SageMaker\n", + "Train and Deploy Transformer models with Amazon SageMaker and Hugging Face DLCs.\n", + "timm\n", + "State-of-the-art computer vision models, layers, optimizers, training/evaluation, and utilities.\n", + "Safetensors\n", + "Simple, safe way to store and distribute neural networks weights safely and quickly.\n", + "Text Generation Inference\n", + "Toolkit to serve Large Language Models.\n", + "AutoTrain\n", + "AutoTrain API and UI.\n", + "Text Embeddings Inference\n", + "Toolkit to serve Text Embedding Models.\n", + "Competitions\n", + "Create your own competitions on Hugging Face.\n", + "Bitsandbytes\n", + "Toolkit to optimize and quantize models.\n", + "Sentence Transformers\n", + "Multilingual Sentence & Image Embeddings\n", + "Google Cloud\n", + "Train and Deploy Transformer models with Hugging Face DLCs on Google Cloud.\n", + "Google TPUs\n", + "Deploy models on Google TPUs via Optimum.\n", + "Chat UI\n", + "Open source chat frontend, powers the HuggingChat app.\n", + "Leaderboards\n", + "Create your own Leaderboards on Hugging Face.\n", + "Lighteval\n", + "Your all-in-one toolkit for evaluating LLMs across multiple backends.\n", + "Argilla\n", + "Collaboration tool for AI engineers and domain experts who need to build high quality datasets.\n", + "Distilabel\n", + "The framework for synthetic data generation and AI feedback.\n", + "Hugging Face Generative AI Services (HUGS)\n", + "Optimized, zero-configuration inference microservices designed to simplify and accelerate the development of AI applications with open models\n", + "Community\n", + "Blog\n", + "Learn\n", + "Discord\n", + "Forum\n", + "Github\n", + "Company\n", + "© Hugging Face\n", + "TOS\n", + "Privacy\n", + "About\n", + "Jobs\n", + "Website\n", + "Models\n", + "Datasets\n", + "Spaces\n", + "Pricing\n", + "Docs\n", + "\n", + "\n" + ] + } + ], "source": [ "print(get_all_details(\"https://huggingface.co\"))" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 15, "id": "9b863a55-f86c-4e3f-8a79-94e24c1a8cf2", "metadata": {}, "outputs": [], "source": [ "system_prompt = \"You are an assistant that analyzes the contents of several relevant pages from a company website \\\n", - "and creates a short brochure about the company for prospective customers, investors and recruits. Respond in markdown.\\\n", + "and creates a short humorous, entertaining, jokey brochure about the company for prospective customers, investors and recruits. Respond in markdown.\\\n", "Include details of company culture, customers and careers/jobs if you have the information.\"\n", "\n", "# Or uncomment the lines below for a more humorous brochure - this demonstrates how easy it is to incorporate 'tone':\n", @@ -285,7 +2438,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 16, "id": "6ab83d92-d36b-4ce0-8bcc-5bb4c2f8ff23", "metadata": {}, "outputs": [], @@ -300,17 +2453,35 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 17, "id": "cd909e0b-1312-4ce2-a553-821e795d7572", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'about page', 'url': 'https://huggingface.co'}, {'type': 'careers page', 'url': 'https://apply.workable.com/huggingface/'}, {'type': 'enterprise page', 'url': 'https://huggingface.co/enterprise'}, {'type': 'pricing page', 'url': 'https://huggingface.co/pricing'}, {'type': 'blog page', 'url': 'https://huggingface.co/blog'}, {'type': 'community page', 'url': 'https://discuss.huggingface.co'}, {'type': 'GitHub page', 'url': 'https://github.com/huggingface'}, {'type': 'Twitter page', 'url': 'https://twitter.com/huggingface'}, {'type': 'LinkedIn page', 'url': 'https://www.linkedin.com/company/huggingface/'}]}\n" + ] + }, + { + "data": { + "text/plain": [ + "'You are looking at a company called: HuggingFace\\nHere are the contents of its landing page and other relevant pages; use this information to build a short brochure of the company in markdown.\\nLanding page:\\nWebpage Title:\\nHugging Face – The AI community building the future.\\nWebpage Contents:\\nHugging Face\\nModels\\nDatasets\\nSpaces\\nPosts\\nDocs\\nEnterprise\\nPricing\\nLog In\\nSign Up\\nThe AI community building the future.\\nThe platform where the machine learning community collaborates on models, datasets, and applications.\\nTrending on\\nthis week\\nModels\\nmeta-llama/Llama-3.3-70B-Instruct\\nUpdated\\n5 days ago\\n•\\n147k\\n•\\n1.03k\\nDatou1111/shou_xin\\nUpdated\\n7 days ago\\n•\\n15.3k\\n•\\n411\\ntencent/HunyuanVideo\\nUpdated\\n8 days ago\\n•\\n4.39k\\n•\\n1.04k\\nblack-forest-labs/FLUX.1-dev\\nUpdated\\nAug 16\\n•\\n1.36M\\n•\\n7.28k\\nCohereForAI/c4ai-command-r7b-12-2024\\nUpdated\\n1 day ago\\n•\\n1.2k\\n•\\n185\\nBrowse 400k+ models\\nSpaces\\nRunning\\non\\nZero\\n1.35k\\n🏢\\nTRELLIS\\nScalable and Versatile 3D Generation from images\\nRunning\\non\\nL40S\\n296\\n🚀\\nFlux Style Shaping\\nOptical illusions and style transfer with FLUX\\nRunning\\non\\nCPU Upgrade\\n5.98k\\n👕\\nKolors Virtual Try-On\\nRunning\\non\\nZero\\n841\\n📈\\nIC Light V2\\nRunning\\non\\nZero\\n319\\n🦀🏆\\nFLUXllama\\nFLUX 4-bit Quantization(just 8GB VRAM)\\nBrowse 150k+ applications\\nDatasets\\nHuggingFaceFW/fineweb-2\\nUpdated\\n7 days ago\\n•\\n42.5k\\n•\\n302\\nfka/awesome-chatgpt-prompts\\nUpdated\\nSep 3\\n•\\n7k\\n•\\n6.53k\\nCohereForAI/Global-MMLU\\nUpdated\\n3 days ago\\n•\\n6.77k\\n•\\n88\\nO1-OPEN/OpenO1-SFT\\nUpdated\\n24 days ago\\n•\\n1.44k\\n•\\n185\\naiqtech/kolaw\\nUpdated\\nApr 26\\n•\\n102\\n•\\n42\\nBrowse 100k+ datasets\\nThe Home of Machine Learning\\nCreate, discover and collaborate on ML better.\\nThe collaboration platform\\nHost and collaborate on unlimited public models, datasets and applications.\\nMove faster\\nWith the HF Open source stack.\\nExplore all modalities\\nText, image, video, audio or even 3D.\\nBuild your portfolio\\nShare your work with the world and build your ML profile.\\nSign Up\\nAccelerate your ML\\nWe provide paid Compute and Enterprise solutions.\\nCompute\\nDeploy on optimized\\nInference Endpoints\\nor update your\\nSpaces applications\\nto a GPU in a few clicks.\\nView pricing\\nStarting at $0.60/hour for GPU\\nEnterprise\\nGive your team the most advanced platform to build AI with enterprise-grade security, access controls and\\n\\t\\t\\tdedicated support.\\nGetting started\\nStarting at $20/user/month\\nSingle Sign-On\\nRegions\\nPriority Support\\nAudit Logs\\nResource Groups\\nPrivate Datasets Viewer\\nMore than 50,000 organizations are using Hugging Face\\nAi2\\nEnterprise\\nnon-profit\\n•\\n366 models\\n•\\n1.72k followers\\nAI at Meta\\nEnterprise\\ncompany\\n•\\n2.05k models\\n•\\n3.76k followers\\nAmazon Web Services\\ncompany\\n•\\n21 models\\n•\\n2.42k followers\\nGoogle\\ncompany\\n•\\n911 models\\n•\\n5.5k followers\\nIntel\\ncompany\\n•\\n217 models\\n•\\n2.05k followers\\nMicrosoft\\ncompany\\n•\\n352 models\\n•\\n6.13k followers\\nGrammarly\\ncompany\\n•\\n10 models\\n•\\n98 followers\\nWriter\\nEnterprise\\ncompany\\n•\\n16 models\\n•\\n180 followers\\nOur Open Source\\nWe are building the foundation of ML tooling with the community.\\nTransformers\\n136,317\\nState-of-the-art ML for Pytorch, TensorFlow, and JAX.\\nDiffusers\\n26,646\\nState-of-the-art diffusion models for image and audio generation in PyTorch.\\nSafetensors\\n2,954\\nSimple, safe way to store and distribute neural networks weights safely and quickly.\\nHub Python Library\\n2,165\\nClient library for the HF Hub: manage repositories from your Python runtime.\\nTokenizers\\n9,153\\nFast tokenizers, optimized for both research and production.\\nPEFT\\n16,713\\nParameter efficient finetuning methods for large models.\\nTransformers.js\\n12,349\\nState-of-the-art Machine Learning for the web. Run Transformers directly in your browser, with no need for a server.\\ntimm\\n32,608\\nState-of-the-art computer vision models, layers, optimizers, training/evaluation, and utilities.\\nTRL\\n10,312\\nTrain transformer language models with reinforcement learning.\\nDatasets\\n19,354\\nAccess and share datasets for computer vision, audio, and NLP tasks.\\nText Generation Inference\\n9,451\\nToolkit to serve Large Language Models.\\nAccelerate\\n8,054\\nEasily train and use PyTorch models with multi-GPU, TPU, mixed-precision.\\nWebsite\\nModels\\nDatasets\\nSpaces\\nTasks\\nInference Endpoints\\nHuggingChat\\nCompany\\nAbout\\nBrand assets\\nTerms of service\\nPrivacy\\nJobs\\nPress\\nResources\\nLearn\\nDocumentation\\nBlog\\nForum\\nService Status\\nSocial\\nGitHub\\nTwitter\\nLinkedIn\\nDiscord\\n\\n\\n\\nabout page\\nWebpage Title:\\nHugging Face – The AI community building the future.\\nWebpage Contents:\\nHugging Face\\nModels\\nDatasets\\nSpaces\\nPosts\\nDocs\\nEnterprise\\nPricing\\nLog In\\nSign Up\\nThe AI community building the future.\\nThe platform where the machine learning community collaborates on models, datasets, and applications.\\nTrending on\\nthis week\\nModels\\nmeta-llama/Llama-3.3-70B-Instruct\\nUpdated\\n5 days ago\\n•\\n147k\\n•\\n1.03k\\nDatou1111/shou_xin\\nUpdated\\n7 days ago\\n•\\n15.3k\\n•\\n411\\ntencent/HunyuanVideo\\nUpdated\\n8 days ago\\n•\\n4.39k\\n•\\n1.04k\\nblack-forest-labs/FLUX.1-dev\\nUpdated\\nAug 16\\n•\\n1.36M\\n•\\n7.28k\\nCohereForAI/c4ai-command-r7b-12-2024\\nUpdated\\n1 day ago\\n•\\n1.2k\\n•\\n185\\nBrowse 400k+ models\\nSpaces\\nRunning\\non\\nZero\\n1.35k\\n🏢\\nTRELLIS\\nScalable and Versatile 3D Generat'" + ] + }, + "execution_count": 17, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "get_brochure_user_prompt(\"HuggingFace\", \"https://huggingface.co\")" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 18, "id": "e44de579-4a1a-4e6a-a510-20ea3e4b8d46", "metadata": {}, "outputs": [], @@ -329,10 +2500,81 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 19, "id": "e093444a-9407-42ae-924a-145730591a39", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'about page', 'url': 'https://huggingface.com'}, {'type': 'careers page', 'url': 'https://apply.workable.com/huggingface/'}, {'type': 'company page', 'url': 'https://huggingface.com/enterprise'}, {'type': 'company page', 'url': 'https://huggingface.com/pricing'}, {'type': 'blog', 'url': 'https://huggingface.com/blog'}, {'type': 'community page', 'url': 'https://discuss.huggingface.co'}, {'type': 'GitHub page', 'url': 'https://github.com/huggingface'}, {'type': 'Twitter page', 'url': 'https://twitter.com/huggingface'}, {'type': 'LinkedIn page', 'url': 'https://www.linkedin.com/company/huggingface/'}]}\n" + ] + }, + { + "data": { + "text/markdown": [ + "# 🤗 Hugging Face: The AI Community Building the Future! 🤖\n", + "\n", + "---\n", + "\n", + "**Welcome to Hugging Face**, where you can have a machine learning experience that’s as warm and snuggly as a cozy blanket… but with a whole lot more code! \n", + "\n", + "### Who Are We?\n", + "We are a community of brilliant minds and curious data enthusiasts determined to take machine learning from \"meh\" to \"WOW!\" Think of us as the social club for AI nerds, where everyone leaves smarter than when they came (and some also leave with questionable puns).\n", + "\n", + "### What Do We Offer?\n", + "- **Models, Models, Models!** \n", + " Browse through over **400k+ models**! Whether you want to fine-tune your own or borrow the brilliant minds of others, we've got the options! From the latest and greatest like _Llama-3.3-70B-Instruct_ to the under-appreciated gems (hey, every model deserves a little love).\n", + "\n", + "- **Datasets Galore!** \n", + " Love data? We've got **100k+ datasets**! From images of cats in spacesuits to audio of squirrels trying to read Shakespeare, we have it all! Just remember, if it squeaks or chirps, you might want to check it twice before using it for your model. \n", + "\n", + "- **Spaces for Creativity** \n", + " Our **Spaces** allow you to run applications that are as wild and creative as your imagination. Create optical illusions or even try-on virtual clothes! Who knew AI could help with your wardrobe choices? \n", + "\n", + "---\n", + "\n", + "### Join Us!\n", + "At **Hugging Face**, we believe in collaboration and innovation. Our culture can best be described as:\n", + "- **As Fun as a Data Party**: We work hard but know how to giggle over some neural network mishaps.\n", + "- **Open as an Open Source Project**: If you bring the code, we’ll bring the snacks (virtual or otherwise).\n", + "- **Supportive Like a Great Friend**: Whether you’re a seasoned ML pro or just curious about AI, we all lift each other up. Think of us as a friend who always carves out time to help you debug your life.\n", + "\n", + "---\n", + "\n", + "### Who Loves Us?\n", + "More than **50,000 organizations** love using Hugging Face, including giants like Google, Microsoft, and even Grammarly (because who doesn’t need an AI wingman?). They trust us to keep their AI dreams alive. They might not hug back, but they sure appreciate a good model!\n", + "\n", + "---\n", + "\n", + "### Careers at Hugging Face:\n", + "Are you looking for a career that combines your love for AI with a community that celebrates your inner geek? **Join us!**\n", + "- **Job Perks**: Flexible hours, remote work, and an office pet (currently unsure if it's a cat, dog, or sentient code).\n", + "- **Opportunity for Growth**: You’ll learn faster than a toddler on a sugar rush!\n", + "- **Be Part of Something Bigger**: Help us build out the next big thing in AI… or at least make those awkward Zoom meetings a little less awkward!\n", + "\n", + "---\n", + "\n", + "So, whether you're an **investor** looking for the next big opportunity, a **customer** seeking cutting-edge AI solutions, or a **recruit** ready to join the most fun-loving AI gang around, come discover the joy of Hugging Face!\n", + "\n", + "### Connect with Us\n", + "- 🌐 Website: [huggingface.co](https://huggingface.co)\n", + "- 🐦 Twitter: [@HuggingFace](https://twitter.com/huggingface)\n", + "- 👾 Discord: Join our friendly AI playground!\n", + "\n", + "---\n", + "\n", + "🤗 **Hugging Face** - Where AI Meets Cuddly Innovation!" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "create_brochure(\"HuggingFace\", \"https://huggingface.com\")" ] @@ -350,7 +2592,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 20, "id": "51db0e49-f261-4137-aabe-92dd601f7725", "metadata": {}, "outputs": [], @@ -375,24 +2617,136 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 21, "id": "56bf0ae3-ee9d-4a72-9cd6-edcac67ceb6d", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'about page', 'url': 'https://huggingface.co'}, {'type': 'careers page', 'url': 'https://apply.workable.com/huggingface/'}, {'type': 'company page', 'url': 'https://huggingface.co/brand'}, {'type': 'blog page', 'url': 'https://huggingface.co/blog'}, {'type': 'jobs page', 'url': 'https://huggingface.co/join'}]}\n" + ] + }, + { + "data": { + "text/markdown": [ + "\n", + "# Welcome to Hugging Face!\n", + "### - The AI Community Building the Future (and Maybe Your Next AI Mood Ring)\n", + "\n", + "---\n", + "\n", + "## Who Are We?\n", + "At Hugging Face, we’re not just a bunch of data nerds holed up in a room with some magical algorithms (well, okay, maybe a little). We’re a vibrant **community** of AI enthusiasts dedicated to building the future, one dataset at a time while trying to figure out how to program humility into machines!\n", + "\n", + "### What Do We Do?\n", + "- **Models**: Whether it's Llama-3.3-70B-Instruct (yep, that’s a mouthful) or a plethora of innovative applications, we’re making machine learning as accessible as trying to explain how you lost three hours to cat videos on the internet.\n", + " \n", + "- **Datasets**: With over **100k datasets**, we’ve got more info than a squirrel at a nut factory. Perfect for all your data-hoarding needs!\n", + "\n", + "- **Spaces**: Why do all the fun stuff on your own? Use our **Spaces** to show off your 3D generation skills, or engage in that optical illusion project you’ve got bubbling in the back of your mind. \n", + "\n", + "---\n", + "\n", + "## Who's Using Us?\n", + "Join **50,000+ organizations** who have already discovered that building AI doesn't have to be an existential crisis. Major players like **Google**, **Microsoft**, and even **Grammarly** are part of our family. Yes, English is hard; that’s why they need us!\n", + "\n", + "---\n", + "\n", + "## Join the Culture!\n", + "At Hugging Face, we pride ourselves on a **collaborative culture** that embraces laughter, creativity, and the occasional debate over whether a hot dog is a sandwich. \n", + "\n", + "### Career Opportunities\n", + "Looking for a career where you can hug trees and code? We have positions ranging from **ML engineers** to **data wranglers**. We don't require you to know everything—just a passion for AI and a confidently apologetic expression when you break something! \n", + "\n", + "**Perks include:**\n", + "- A supportive environment that feels like family… minus the awkward Thanksgiving dinner conversations.\n", + "- Work-from-happy-places policies (aka our flexible work arrangements).\n", + "\n", + "---\n", + "\n", + "## How to Get Involved\n", + "- Sign up! Create and share your work on a platform with **400k+ models** (and counting)! \n", + "- Check out our *Enterprise Solutions* that are so advanced even your grandma might be interested (just kidding, but you get the point).\n", + "\n", + "---\n", + "\n", + "### Ready to Create?\n", + "Come on over, and let’s make some magic! Whether you're an AI wizard or just looking for a way to impress your relatives at the next family gathering, Hugging Face is here to turn your dreams into datasets—one hug at a time!\n", + "\n", + "**So… What are you waiting for?** \n", + "*Sign up today!* \n", + "\n", + "\n", + "---\n", + "\n" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "stream_brochure(\"HuggingFace\", \"https://huggingface.co\")" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 22, "id": "fdb3f8d8-a3eb-41c8-b1aa-9f60686a653b", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'about page', 'url': 'https://www.nvidia.com/en-us/about-nvidia/'}, {'type': 'careers page', 'url': 'https://www.nvidia.com/en-us/about-nvidia/careers/'}, {'type': 'investor relations', 'url': 'https://investor.nvidia.com/home/default.aspx'}, {'type': 'company history', 'url': 'https://images.nvidia.com/pdf/NVIDIA-Story.pdf'}, {'type': 'executive insights', 'url': 'https://www.nvidia.com/en-us/executive-insights/'}]}\n" + ] + }, + { + "ename": "ChunkedEncodingError", + "evalue": "('Connection broken: IncompleteRead(170 bytes read, 18664049 more expected)', IncompleteRead(170 bytes read, 18664049 more expected))", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mIncompleteRead\u001b[0m Traceback (most recent call last)", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/urllib3/response.py:748\u001b[0m, in \u001b[0;36mHTTPResponse._error_catcher\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 747\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 748\u001b[0m \u001b[38;5;28;01myield\u001b[39;00m\n\u001b[1;32m 750\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m SocketTimeout \u001b[38;5;28;01mas\u001b[39;00m e:\n\u001b[1;32m 751\u001b[0m \u001b[38;5;66;03m# FIXME: Ideally we'd like to include the url in the ReadTimeoutError but\u001b[39;00m\n\u001b[1;32m 752\u001b[0m \u001b[38;5;66;03m# there is yet no clean way to get at it from this context.\u001b[39;00m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/urllib3/response.py:894\u001b[0m, in \u001b[0;36mHTTPResponse._raw_read\u001b[0;34m(self, amt, read1)\u001b[0m\n\u001b[1;32m 884\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m (\n\u001b[1;32m 885\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39menforce_content_length\n\u001b[1;32m 886\u001b[0m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mlength_remaining \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 892\u001b[0m \u001b[38;5;66;03m# raised during streaming, so all calls with incorrect\u001b[39;00m\n\u001b[1;32m 893\u001b[0m \u001b[38;5;66;03m# Content-Length are caught.\u001b[39;00m\n\u001b[0;32m--> 894\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m IncompleteRead(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_fp_bytes_read, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mlength_remaining)\n\u001b[1;32m 895\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m read1 \u001b[38;5;129;01mand\u001b[39;00m (\n\u001b[1;32m 896\u001b[0m (amt \u001b[38;5;241m!=\u001b[39m \u001b[38;5;241m0\u001b[39m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m data) \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mlength_remaining \u001b[38;5;241m==\u001b[39m \u001b[38;5;28mlen\u001b[39m(data)\n\u001b[1;32m 897\u001b[0m ):\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 900\u001b[0m \u001b[38;5;66;03m# `http.client.HTTPResponse`, so we close it here.\u001b[39;00m\n\u001b[1;32m 901\u001b[0m \u001b[38;5;66;03m# See https://github.com/python/cpython/issues/113199\u001b[39;00m\n", + "\u001b[0;31mIncompleteRead\u001b[0m: IncompleteRead(170 bytes read, 18664049 more expected)", + "\nThe above exception was the direct cause of the following exception:\n", + "\u001b[0;31mProtocolError\u001b[0m Traceback (most recent call last)", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/requests/models.py:820\u001b[0m, in \u001b[0;36mResponse.iter_content..generate\u001b[0;34m()\u001b[0m\n\u001b[1;32m 819\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 820\u001b[0m \u001b[38;5;28;01myield from\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mraw\u001b[38;5;241m.\u001b[39mstream(chunk_size, decode_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mTrue\u001b[39;00m)\n\u001b[1;32m 821\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m ProtocolError \u001b[38;5;28;01mas\u001b[39;00m e:\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/urllib3/response.py:1060\u001b[0m, in \u001b[0;36mHTTPResponse.stream\u001b[0;34m(self, amt, decode_content)\u001b[0m\n\u001b[1;32m 1059\u001b[0m \u001b[38;5;28;01mwhile\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m is_fp_closed(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_fp) \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mlen\u001b[39m(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_decoded_buffer) \u001b[38;5;241m>\u001b[39m \u001b[38;5;241m0\u001b[39m:\n\u001b[0;32m-> 1060\u001b[0m data \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mread\u001b[49m\u001b[43m(\u001b[49m\u001b[43mamt\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mamt\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdecode_content\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdecode_content\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1062\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m data:\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/urllib3/response.py:977\u001b[0m, in \u001b[0;36mHTTPResponse.read\u001b[0;34m(self, amt, decode_content, cache_content)\u001b[0m\n\u001b[1;32m 973\u001b[0m \u001b[38;5;28;01mwhile\u001b[39;00m \u001b[38;5;28mlen\u001b[39m(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_decoded_buffer) \u001b[38;5;241m<\u001b[39m amt \u001b[38;5;129;01mand\u001b[39;00m data:\n\u001b[1;32m 974\u001b[0m \u001b[38;5;66;03m# TODO make sure to initially read enough data to get past the headers\u001b[39;00m\n\u001b[1;32m 975\u001b[0m \u001b[38;5;66;03m# For example, the GZ file header takes 10 bytes, we don't want to read\u001b[39;00m\n\u001b[1;32m 976\u001b[0m \u001b[38;5;66;03m# it one byte at a time\u001b[39;00m\n\u001b[0;32m--> 977\u001b[0m data \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_raw_read\u001b[49m\u001b[43m(\u001b[49m\u001b[43mamt\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 978\u001b[0m decoded_data \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_decode(data, decode_content, flush_decoder)\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/urllib3/response.py:872\u001b[0m, in \u001b[0;36mHTTPResponse._raw_read\u001b[0;34m(self, amt, read1)\u001b[0m\n\u001b[1;32m 870\u001b[0m fp_closed \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mgetattr\u001b[39m(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_fp, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mclosed\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;28;01mFalse\u001b[39;00m)\n\u001b[0;32m--> 872\u001b[0m \u001b[43m\u001b[49m\u001b[38;5;28;43;01mwith\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_error_catcher\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[1;32m 873\u001b[0m \u001b[43m \u001b[49m\u001b[43mdata\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_fp_read\u001b[49m\u001b[43m(\u001b[49m\u001b[43mamt\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mread1\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mread1\u001b[49m\u001b[43m)\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43;01mif\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;129;43;01mnot\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mfp_closed\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43;01melse\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;124;43mb\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/contextlib.py:158\u001b[0m, in \u001b[0;36m_GeneratorContextManager.__exit__\u001b[0;34m(self, typ, value, traceback)\u001b[0m\n\u001b[1;32m 157\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 158\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mgen\u001b[38;5;241m.\u001b[39mthrow(typ, value, traceback)\n\u001b[1;32m 159\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mStopIteration\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n\u001b[1;32m 160\u001b[0m \u001b[38;5;66;03m# Suppress StopIteration *unless* it's the same exception that\u001b[39;00m\n\u001b[1;32m 161\u001b[0m \u001b[38;5;66;03m# was passed to throw(). This prevents a StopIteration\u001b[39;00m\n\u001b[1;32m 162\u001b[0m \u001b[38;5;66;03m# raised inside the \"with\" statement from being suppressed.\u001b[39;00m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/urllib3/response.py:772\u001b[0m, in \u001b[0;36mHTTPResponse._error_catcher\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 771\u001b[0m arg \u001b[38;5;241m=\u001b[39m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mConnection broken: \u001b[39m\u001b[38;5;132;01m{\u001b[39;00me\u001b[38;5;132;01m!r}\u001b[39;00m\u001b[38;5;124m\"\u001b[39m\n\u001b[0;32m--> 772\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m ProtocolError(arg, e) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01me\u001b[39;00m\n\u001b[1;32m 774\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m (HTTPException, \u001b[38;5;167;01mOSError\u001b[39;00m) \u001b[38;5;28;01mas\u001b[39;00m e:\n", + "\u001b[0;31mProtocolError\u001b[0m: ('Connection broken: IncompleteRead(170 bytes read, 18664049 more expected)', IncompleteRead(170 bytes read, 18664049 more expected))", + "\nDuring handling of the above exception, another exception occurred:\n", + "\u001b[0;31mChunkedEncodingError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn[22], line 3\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# Try changing the system prompt to the humorous version when you make the Brochure for Hugging Face:\u001b[39;00m\n\u001b[0;32m----> 3\u001b[0m \u001b[43mstream_brochure\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mNVIDIA\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mhttps://www.nvidia.com\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m)\u001b[49m\n", + "Cell \u001b[0;32mIn[20], line 6\u001b[0m, in \u001b[0;36mstream_brochure\u001b[0;34m(company_name, url)\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mstream_brochure\u001b[39m(company_name, url):\n\u001b[1;32m 2\u001b[0m stream \u001b[38;5;241m=\u001b[39m openai\u001b[38;5;241m.\u001b[39mchat\u001b[38;5;241m.\u001b[39mcompletions\u001b[38;5;241m.\u001b[39mcreate(\n\u001b[1;32m 3\u001b[0m model\u001b[38;5;241m=\u001b[39mMODEL,\n\u001b[1;32m 4\u001b[0m messages\u001b[38;5;241m=\u001b[39m[\n\u001b[1;32m 5\u001b[0m {\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mrole\u001b[39m\u001b[38;5;124m\"\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124msystem\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m\"\u001b[39m: system_prompt},\n\u001b[0;32m----> 6\u001b[0m {\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mrole\u001b[39m\u001b[38;5;124m\"\u001b[39m: \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124muser\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcontent\u001b[39m\u001b[38;5;124m\"\u001b[39m: \u001b[43mget_brochure_user_prompt\u001b[49m\u001b[43m(\u001b[49m\u001b[43mcompany_name\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[43m)\u001b[49m}\n\u001b[1;32m 7\u001b[0m ],\n\u001b[1;32m 8\u001b[0m stream\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mTrue\u001b[39;00m\n\u001b[1;32m 9\u001b[0m )\n\u001b[1;32m 11\u001b[0m response \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 12\u001b[0m display_handle \u001b[38;5;241m=\u001b[39m display(Markdown(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m\"\u001b[39m), display_id\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mTrue\u001b[39;00m)\n", + "Cell \u001b[0;32mIn[16], line 4\u001b[0m, in \u001b[0;36mget_brochure_user_prompt\u001b[0;34m(company_name, url)\u001b[0m\n\u001b[1;32m 2\u001b[0m user_prompt \u001b[38;5;241m=\u001b[39m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mYou are looking at a company called: \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mcompany_name\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 3\u001b[0m user_prompt \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mHere are the contents of its landing page and other relevant pages; use this information to build a short brochure of the company in markdown.\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m\"\u001b[39m\n\u001b[0;32m----> 4\u001b[0m user_prompt \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m \u001b[43mget_all_details\u001b[49m\u001b[43m(\u001b[49m\u001b[43murl\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 5\u001b[0m user_prompt \u001b[38;5;241m=\u001b[39m user_prompt[:\u001b[38;5;241m5_000\u001b[39m] \u001b[38;5;66;03m# Truncate if more than 5,000 characters\u001b[39;00m\n\u001b[1;32m 6\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m user_prompt\n", + "Cell \u001b[0;32mIn[13], line 8\u001b[0m, in \u001b[0;36mget_all_details\u001b[0;34m(url)\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m link \u001b[38;5;129;01min\u001b[39;00m links[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mlinks\u001b[39m\u001b[38;5;124m\"\u001b[39m]:\n\u001b[1;32m 7\u001b[0m result \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;132;01m{\u001b[39;00mlink[\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtype\u001b[39m\u001b[38;5;124m'\u001b[39m]\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m\"\u001b[39m\n\u001b[0;32m----> 8\u001b[0m result \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m \u001b[43mWebsite\u001b[49m\u001b[43m(\u001b[49m\u001b[43mlink\u001b[49m\u001b[43m[\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43murl\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m]\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241m.\u001b[39mget_contents()\n\u001b[1;32m 9\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m result\n", + "Cell \u001b[0;32mIn[4], line 10\u001b[0m, in \u001b[0;36mWebsite.__init__\u001b[0;34m(self, url)\u001b[0m\n\u001b[1;32m 8\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__init__\u001b[39m(\u001b[38;5;28mself\u001b[39m, url):\n\u001b[1;32m 9\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39murl \u001b[38;5;241m=\u001b[39m url\n\u001b[0;32m---> 10\u001b[0m response \u001b[38;5;241m=\u001b[39m \u001b[43mrequests\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mget\u001b[49m\u001b[43m(\u001b[49m\u001b[43murl\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 11\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbody \u001b[38;5;241m=\u001b[39m response\u001b[38;5;241m.\u001b[39mcontent\n\u001b[1;32m 12\u001b[0m soup \u001b[38;5;241m=\u001b[39m BeautifulSoup(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbody, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mhtml.parser\u001b[39m\u001b[38;5;124m'\u001b[39m)\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/requests/api.py:73\u001b[0m, in \u001b[0;36mget\u001b[0;34m(url, params, **kwargs)\u001b[0m\n\u001b[1;32m 62\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mget\u001b[39m(url, params\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 63\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124mr\u001b[39m\u001b[38;5;124;03m\"\"\"Sends a GET request.\u001b[39;00m\n\u001b[1;32m 64\u001b[0m \n\u001b[1;32m 65\u001b[0m \u001b[38;5;124;03m :param url: URL for the new :class:`Request` object.\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 70\u001b[0m \u001b[38;5;124;03m :rtype: requests.Response\u001b[39;00m\n\u001b[1;32m 71\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m---> 73\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mrequest\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mget\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mparams\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mparams\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/requests/api.py:59\u001b[0m, in \u001b[0;36mrequest\u001b[0;34m(method, url, **kwargs)\u001b[0m\n\u001b[1;32m 55\u001b[0m \u001b[38;5;66;03m# By using the 'with' statement we are sure the session is closed, thus we\u001b[39;00m\n\u001b[1;32m 56\u001b[0m \u001b[38;5;66;03m# avoid leaving sockets open which can trigger a ResourceWarning in some\u001b[39;00m\n\u001b[1;32m 57\u001b[0m \u001b[38;5;66;03m# cases, and look like a memory leak in others.\u001b[39;00m\n\u001b[1;32m 58\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m sessions\u001b[38;5;241m.\u001b[39mSession() \u001b[38;5;28;01mas\u001b[39;00m session:\n\u001b[0;32m---> 59\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43msession\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mrequest\u001b[49m\u001b[43m(\u001b[49m\u001b[43mmethod\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mmethod\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/requests/sessions.py:589\u001b[0m, in \u001b[0;36mSession.request\u001b[0;34m(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)\u001b[0m\n\u001b[1;32m 584\u001b[0m send_kwargs \u001b[38;5;241m=\u001b[39m {\n\u001b[1;32m 585\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtimeout\u001b[39m\u001b[38;5;124m\"\u001b[39m: timeout,\n\u001b[1;32m 586\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mallow_redirects\u001b[39m\u001b[38;5;124m\"\u001b[39m: allow_redirects,\n\u001b[1;32m 587\u001b[0m }\n\u001b[1;32m 588\u001b[0m send_kwargs\u001b[38;5;241m.\u001b[39mupdate(settings)\n\u001b[0;32m--> 589\u001b[0m resp \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43msend\u001b[49m\u001b[43m(\u001b[49m\u001b[43mprep\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43msend_kwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 591\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m resp\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/requests/sessions.py:746\u001b[0m, in \u001b[0;36mSession.send\u001b[0;34m(self, request, **kwargs)\u001b[0m\n\u001b[1;32m 743\u001b[0m \u001b[38;5;28;01mpass\u001b[39;00m\n\u001b[1;32m 745\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m stream:\n\u001b[0;32m--> 746\u001b[0m \u001b[43mr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcontent\u001b[49m\n\u001b[1;32m 748\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m r\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/requests/models.py:902\u001b[0m, in \u001b[0;36mResponse.content\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 900\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_content \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m 901\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 902\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_content \u001b[38;5;241m=\u001b[39m \u001b[38;5;124mb\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39miter_content(CONTENT_CHUNK_SIZE)) \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;124mb\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 904\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_content_consumed \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mTrue\u001b[39;00m\n\u001b[1;32m 905\u001b[0m \u001b[38;5;66;03m# don't need to release the connection; that's been handled by urllib3\u001b[39;00m\n\u001b[1;32m 906\u001b[0m \u001b[38;5;66;03m# since we exhausted the data.\u001b[39;00m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/requests/models.py:822\u001b[0m, in \u001b[0;36mResponse.iter_content..generate\u001b[0;34m()\u001b[0m\n\u001b[1;32m 820\u001b[0m \u001b[38;5;28;01myield from\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mraw\u001b[38;5;241m.\u001b[39mstream(chunk_size, decode_content\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mTrue\u001b[39;00m)\n\u001b[1;32m 821\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m ProtocolError \u001b[38;5;28;01mas\u001b[39;00m e:\n\u001b[0;32m--> 822\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m ChunkedEncodingError(e)\n\u001b[1;32m 823\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m DecodeError \u001b[38;5;28;01mas\u001b[39;00m e:\n\u001b[1;32m 824\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m ContentDecodingError(e)\n", + "\u001b[0;31mChunkedEncodingError\u001b[0m: ('Connection broken: IncompleteRead(170 bytes read, 18664049 more expected)', IncompleteRead(170 bytes read, 18664049 more expected))" + ] + } + ], "source": [ "# Try changing the system prompt to the humorous version when you make the Brochure for Hugging Face:\n", "\n", - "stream_brochure(\"HuggingFace\", \"https://huggingface.co\")" + "stream_brochure(\"NVIDIA\", \"https://www.nvidia.com\")" ] }, { @@ -462,6 +2816,14 @@ "metadata": {}, "outputs": [], "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4f53e78a-26cc-4dd6-b2ac-ccc92c359efb", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { diff --git a/week1/troubleshooting.ipynb b/week1/troubleshooting.ipynb index 3811bbb1..8f100ed2 100644 --- a/week1/troubleshooting.ipynb +++ b/week1/troubleshooting.ipynb @@ -365,7 +365,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.11" + "version": "3.12.7" } }, "nbformat": 4, diff --git a/week1/week1 EXERCISE.ipynb b/week1/week1 EXERCISE.ipynb index f3486fe3..c0a84a33 100644 --- a/week1/week1 EXERCISE.ipynb +++ b/week1/week1 EXERCISE.ipynb @@ -13,71 +13,1122 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "id": "c1070317-3ed9-4659-abe3-828943230e03", "metadata": {}, "outputs": [], "source": [ - "# imports" + "# imports\n", + "import os\n", + "import requests\n", + "import json\n", + "from typing import List\n", + "from dotenv import load_dotenv\n", + "from bs4 import BeautifulSoup\n", + "from IPython.display import Markdown, display, update_display\n", + "from openai import OpenAI" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 38, "id": "4a456906-915a-4bfd-bb9d-57e505c5093f", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "API key looks good so far\n" + ] + } + ], "source": [ + "# set up environment\n", + "load_dotenv()\n", + "api_key = os.getenv('OPENAI_API_KEY')\n", + "\n", + "if api_key and api_key.startswith('sk-proj-') and len(api_key)>10:\n", + " print(\"API key looks good so far\")\n", + "else:\n", + " print(\"There might be a problem with your API key? Please visit the troubleshooting notebook!\")\n", + "\n", "# constants\n", "\n", "MODEL_GPT = 'gpt-4o-mini'\n", - "MODEL_LLAMA = 'llama3.2'" + "MODEL_LLAMA = 'llama3.2'\n", + "\n", + "openai = OpenAI()" ] }, { "cell_type": "code", - "execution_count": null, - "id": "a8d7923c-5f28-4c30-8556-342d7c8497c1", + "execution_count": 15, + "id": "f1b440e1-766e-40a9-b31b-3eb87aac094d", "metadata": {}, "outputs": [], "source": [ - "# set up environment" + "# A class to represent a Webpage\n", + "\n", + "class Website:\n", + " \"\"\"\n", + " A utility class to represent a Website that we have scraped, now with links\n", + " \"\"\"\n", + "\n", + " def __init__(self, url):\n", + " self.url = url\n", + " response = requests.get(url)\n", + " self.body = response.content\n", + " soup = BeautifulSoup(self.body, 'html.parser')\n", + " self.title = soup.title.string if soup.title else \"No title found\"\n", + " if soup.body:\n", + " for irrelevant in soup.body([\"script\", \"style\", \"img\", \"input\"]):\n", + " irrelevant.decompose()\n", + " self.text = soup.body.get_text(separator=\"\\n\", strip=True)\n", + " else:\n", + " self.text = \"\"\n", + " links = [link.get('href') for link in soup.find_all('a')]\n", + " self.links = [link for link in links if link]\n", + "\n", + " def get_contents(self):\n", + " return f\"Webpage Title:\\n{self.title}\\nWebpage Contents:\\n{self.text}\\n\\n\"" ] }, { "cell_type": "code", - "execution_count": null, - "id": "3f0d0137-52b0-47a8-81a8-11a90a010798", + "execution_count": 16, + "id": "4b9b5904-7083-4397-9ccb-0dec205e9049", + "metadata": { + "collapsed": true, + "jupyter": { + "outputs_hidden": true + }, + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Webpage Title:\n", + "Home\n", + "Webpage Contents:\n", + "Home\n", + "Custom AI Chatbots\n", + "Educator's Guide to AI Resources\n", + "Contact\n", + "Media\n", + "Books\n", + "Anatomy and Physiology\n", + "Interactive Learning Activities for A&P\n", + "3D Models for Anatomy & Physiology\n", + "Infographics for Learning A&P\n", + "Presentations\n", + "Dr. Bruce Forciea\n", + "Elearning Designer /Author/Educator/SME\n", + "Books\n", + "Elearning, Educator, Author, GenAI\n", + "Media\n", + "Welcome to my page. Here you will find a variety of resources along with my books and media samples. ​\n", + "Bottom line is I teach and develop courses in Anatomy and Physiology and Pathophysiology. I am passionate about making online courses as easy to use as possible by making use of principles of usability and use of mutimodal microlearning media. I am also a big AI enthusiast and evangelist.\n", + "I'm also a science fiction author and have written 2 novels and a series of short stories.\n", + "Discover the transformative power of AI in education with \"An Educator’s Guide to AI.” Written by a college instructor with over 20 years experience in teaching and developing courses, this book provides lots of information regarding AI integration in college courses in the context of a personal journey of AI discovery, exploration, and acceptance. Each chapter provides insights and examples on topics like prompt engineering, developing AI roadmaps, creating custom chatbots, and designing AI-enhanced assessments. Many of these examples have been used in the author's college courses and have helped to provide personalized learning that is engaging and fun for students.\n", + "You will learn how to:\n", + "Develop an AI Policy for your college and course\n", + "Write effective prompts for teaching (many examples included)\n", + "Analyze your course for AI integration\n", + "Create OERs using AI\n", + "Develop and use custom chatbots (chatbot prompts included)\n", + "Coach your students in using AI for learning\n", + "Generate AI images (many examples of AI image effects)\n", + "Include AI skills in your courses for the future workplace\n", + "My new book on AI integration for the college classroom is now available on Amazon\n", + "Contact\n", + "Copyright ©\n", + "Dr. Bruce Forciea\n", + ". All Rights Reserved\n", + "View on Mobile\n", + "\n", + "\n", + "['home.html', 'custom-ai-chatbots.html', 'educator-s-guide-to-ai-resources.html', 'contact.html', 'media.html', 'books.html', 'anatomy-and-physiology.html', 'interactive-learning-activities-for-a-p.html', '3d-models-for-anatomy---physiology.html', 'infographics-for-learning-a-p.html', 'presentations.html', 'books.html', 'https://www.amazon.com/Educators-Guide-Transforming-Artificial-Intelligence-ebook/dp/B0D54T95YJ/ref=sr_1_3?crid=39616Q2815N4Z&dib=eyJ2IjoiMSJ9.xxyfMRpsHyy-k63PCb7bUMg7RfXPZNZjDLuEfpat4cWBwJErNmtHkbUjkbn55Kqu-FzR3fs2lZjPYbNdkA0iHFxK6D4obsb1jzMFhXRWuxssxrG8EWDrh60x3DwD0poM-Wq5eHpgIQfbWdaplya5cAtmceMJm-AmEjKy_tVHkzuodeBicYeo87M221aGTc4sX4LPeLRzuc2WCBQRxSWhhEzeOGJAUPJJdXHgC377YXji0DIpT_-HNhjDGo4D22EiyYOhWsn2ptECC3Rtmgn8W1HBf-3V9llzrUiRmQq0TPo.zXHqSykSeSPqmS0rB3Pju2zh_RDGOvOJeum_HpA-pQY&dib_tag=se&keywords=an+educators+guide+to+ai&qid=1718712892&sprefix=an+educators+guide+to+ai%2Caps%2C115&sr=8-3', 'media.html', 'contact.html', 'books.html', 'https://www.godaddy.com/websites/website-builder?cvosrc=assets.wsb_badge.wsb_badge', '#']\n" + ] + } + ], + "source": [ + "dr = Website(\"https://www.drbruceforciea.com\")\n", + "print(dr.get_contents())\n", + "print(dr.links)" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "id": "90fbbb70-e44d-4d97-8d9f-edd27d6990db", "metadata": {}, "outputs": [], "source": [ - "# here is the question; type over this to ask something new\n", - "\n", - "question = \"\"\"\n", - "Please explain what this code does and why:\n", - "yield from {book.get(\"author\") for book in books if book.get(\"author\")}\n", + "link_system_prompt = \"You are provided with a list of links found on a webpage. \\\n", + "You are able to decide which of the links would be most relevant to learn anatomy and physiology, \\\n", + "such as links to an Anatomy or Physiology page, Learing Page, Book Page.\\n\"\n", + "link_system_prompt += \"You should respond in JSON as in this example:\"\n", + "link_system_prompt += \"\"\"\n", + "{\n", + " \"links\": [\n", + " {\"type\": \"anatomy and physiology page\", \"url\": \"https://full.url/goes/here/anatomy-and-physiology\"},\n", + " {\"type\": \"learning page\": \"url\": \"https://another.full.url/learning\"}\n", + " ]\n", + "}\n", "\"\"\"" ] }, { "cell_type": "code", - "execution_count": null, - "id": "60ce7000-a4a5-4cce-a261-e75ef45063b4", + "execution_count": 18, + "id": "7bc56a57-4b85-4980-b016-f48e52536a47", "metadata": {}, "outputs": [], "source": [ - "# Get gpt-4o-mini to answer, with streaming" + "def get_links_user_prompt(website):\n", + " user_prompt = f\"Here is the list of links on the website of {website.url} - \"\n", + " user_prompt += \"please decide which of these are relevant web links to learn anatomy and physiology, respond with the full https URL in JSON format. \\\n", + "Do not include Terms of Service, Privacy, email links.\\n\"\n", + " user_prompt += \"Links (some might be relative links):\\n\"\n", + " user_prompt += \"\\n\".join(website.links)\n", + " return user_prompt" ] }, { "cell_type": "code", - "execution_count": null, - "id": "8f7c8ea8-4082-4ad0-8751-3301adcf6538", + "execution_count": 19, + "id": "fcbc4793-2645-4185-88bd-1fc9ebae052b", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Here is the list of links on the website of https://www.drbruceforciea.com - please decide which of these are relevant web links to learn anatomy and physiology, respond with the full https URL in JSON format. Do not include Terms of Service, Privacy, email links.\n", + "Links (some might be relative links):\n", + "home.html\n", + "custom-ai-chatbots.html\n", + "educator-s-guide-to-ai-resources.html\n", + "contact.html\n", + "media.html\n", + "books.html\n", + "anatomy-and-physiology.html\n", + "interactive-learning-activities-for-a-p.html\n", + "3d-models-for-anatomy---physiology.html\n", + "infographics-for-learning-a-p.html\n", + "presentations.html\n", + "books.html\n", + "https://www.amazon.com/Educators-Guide-Transforming-Artificial-Intelligence-ebook/dp/B0D54T95YJ/ref=sr_1_3?crid=39616Q2815N4Z&dib=eyJ2IjoiMSJ9.xxyfMRpsHyy-k63PCb7bUMg7RfXPZNZjDLuEfpat4cWBwJErNmtHkbUjkbn55Kqu-FzR3fs2lZjPYbNdkA0iHFxK6D4obsb1jzMFhXRWuxssxrG8EWDrh60x3DwD0poM-Wq5eHpgIQfbWdaplya5cAtmceMJm-AmEjKy_tVHkzuodeBicYeo87M221aGTc4sX4LPeLRzuc2WCBQRxSWhhEzeOGJAUPJJdXHgC377YXji0DIpT_-HNhjDGo4D22EiyYOhWsn2ptECC3Rtmgn8W1HBf-3V9llzrUiRmQq0TPo.zXHqSykSeSPqmS0rB3Pju2zh_RDGOvOJeum_HpA-pQY&dib_tag=se&keywords=an+educators+guide+to+ai&qid=1718712892&sprefix=an+educators+guide+to+ai%2Caps%2C115&sr=8-3\n", + "media.html\n", + "contact.html\n", + "books.html\n", + "https://www.godaddy.com/websites/website-builder?cvosrc=assets.wsb_badge.wsb_badge\n", + "#\n" + ] + } + ], + "source": [ + "print(get_links_user_prompt(dr))" + ] + }, + { + "cell_type": "code", + "execution_count": 34, + "id": "e0b0d079-6e40-4cc6-8261-85f218918063", + "metadata": { + "collapsed": true, + "jupyter": { + "outputs_hidden": true + }, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "['#skip',\n", + " '/index.html',\n", + " '/index.html',\n", + " '/citation.html',\n", + " '/help/',\n", + " '/',\n", + " '/modules_reg_surv.html',\n", + " '/registration/',\n", + " '/operations/',\n", + " '/disease/',\n", + " '/terminology/',\n", + " '/anatomy/',\n", + " '/casefinding/',\n", + " '/icd10cm/',\n", + " '/abstracting/',\n", + " '/diagnostic/',\n", + " '/coding-primary/',\n", + " '/staging/',\n", + " '/ss2k/',\n", + " '/treatment/',\n", + " '/followup/',\n", + " '/eod/',\n", + " '/modules_site_spec.html',\n", + " '/modules_info.html',\n", + " '/modules_arch.html',\n", + " '/modules_update.html',\n", + " '/modules_ack.html',\n", + " 'https://twitter.com/NCICancerStats',\n", + " 'https://surveillance.cancer.gov/blog',\n", + " '/contact.html',\n", + " 'https://livehelp.cancer.gov/',\n", + " '/index.html',\n", + " '/citation.html',\n", + " '/help/',\n", + " 'https://seer.cancer.gov/',\n", + " 'https://www.cancer.gov/policies/accessibility',\n", + " 'https://www.cancer.gov/policies/disclaimer',\n", + " 'https://www.cancer.gov/policies/foia',\n", + " 'https://www.hhs.gov/vulnerability-disclosure-policy/index.html',\n", + " 'https://www.cancer.gov/policies/privacy-security',\n", + " 'https://www.cancer.gov/policies/copyright-reuse',\n", + " 'https://www.cancer.gov/policies/linking',\n", + " 'https://www.hhs.gov/',\n", + " 'https://www.nih.gov/',\n", + " 'https://www.cancer.gov/',\n", + " 'https://www.usa.gov/']" + ] + }, + "execution_count": 34, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Give a medicine related website link.\n", + "\n", + "nationalcancerinstitute = Website(\"https://training.seer.cancer.gov/modules_reg_surv.html\")\n", + "nationalcancerinstitute.links" + ] + }, + { + "cell_type": "code", + "execution_count": 39, + "id": "174cc98a-e64c-4e0b-9ec4-a1adeb285a5c", + "metadata": {}, + "outputs": [], + "source": [ + "def get_links(url):\n", + " website = Website(url)\n", + " response = openai.chat.completions.create(\n", + " model=MODEL_GPT,\n", + " messages=[\n", + " {\"role\": \"system\", \"content\": link_system_prompt},\n", + " {\"role\": \"user\", \"content\": get_links_user_prompt(website)}\n", + " ],\n", + " response_format={\"type\": \"json_object\"}\n", + " )\n", + " result = response.choices[0].message.content\n", + " return json.loads(result)" + ] + }, + { + "cell_type": "code", + "execution_count": 86, + "id": "c599526f-004f-44c8-9822-34ceeb23cc62", + "metadata": {}, + "outputs": [], + "source": [ + "def get_all_details(url):\n", + " result = \"Landing page:\\n\"\n", + " result += Website(url).get_contents()\n", + " links = get_links(url)\n", + " print(\"Found links:\", links)\n", + " for link in links[\"links\"]:\n", + " result += f\"\\n\\n{link['type']}\\n\"\n", + " result += Website(link[\"url\"]).get_contents()\n", + " return result" + ] + }, + { + "cell_type": "code", + "execution_count": 43, + "id": "abd43160-3922-4ea0-ae89-2c1184d10a4c", + "metadata": { + "collapsed": true, + "jupyter": { + "outputs_hidden": true + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/body/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/body/functions.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/body/terminology.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/body/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/cells/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/cells/structure.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/cells/function.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/tissues/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/tissues/epithelial.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/tissues/connective.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/tissues/muscle.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/tissues/nervous.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/membranes.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cells_tissues_membranes/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/tissue.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/growth.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/classification.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/divisions/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/divisions/axial.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/divisions/appendicular.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/articulations.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/skeletal/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/structure.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/types.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/groups/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/groups/head_neck.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/groups/trunk.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/groups/upper.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/groups/lower.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/muscular/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/nervous/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/nervous/tissue.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/nervous/organization/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/nervous/organization/cns.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/nervous/organization/pns.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/nervous/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/hormones.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/glands/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/glands/pituitary.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/glands/thyroid.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/glands/adrenal.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/glands/pancreas.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/glands/gonads.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/glands/other.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/endocrine/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/heart/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/heart/structure.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/heart/physiology.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/blood/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/blood/classification.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/blood/physiology.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/blood/pathways.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/cardiovascular/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/lymphatic/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/lymphatic/components/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/lymphatic/components/nodes.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/lymphatic/components/tonsils.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/lymphatic/components/spleen.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/lymphatic/components/thymus.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/lymphatic/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/mechanics.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/capacity.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/passages/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/passages/nose.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/passages/pharynx.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/passages/larynx.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/passages/bronchi.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/respiratory/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/structure.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/regions/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/regions/mouth.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/regions/pharynx.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/regions/stomach.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/regions/intestine.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/regions/accessory.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/digestive/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/urinary/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/urinary/components/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/urinary/components/kidney.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/urinary/components/ureters.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/urinary/components/bladder.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/urinary/components/urethra.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/urinary/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/male/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/male/testes.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/male/duct.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/male/glands.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/male/penis.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/male/response.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/female/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/female/ovaries.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/female/tract.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/female/genitalia.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/female/response.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/female/glands.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/anatomy/reproductive/review.html'}]}\n" + ] + }, + { + "data": { + "text/plain": [ + "'Landing page:\\nWebpage Title:\\nAnatomy & Physiology | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nHome\\n»\\nCancer Registration & Surveillance Modules\\n»\\nAnatomy & Physiology\\nSection Menu\\nCancer Registration & Surveillance Modules\\nAnatomy & Physiology\\nIntro to the Human Body\\nBody Functions & Life Process\\nAnatomical Terminology\\nReview\\nCells, Tissues, & Membranes\\nCell Structure & Function\\nCell Structure\\nCell Function\\nBody Tissues\\nEpithelial Tissue\\nConnective Tissue\\nMuscle Tissue\\nNervous Tissue\\nMembranes\\nReview\\nSkeletal System\\nStructure of Bone Tissue\\nBone Development & Growth\\nClassification of Bones\\nDivisions of the Skeleton\\nAxial Skeleton (80 bones)\\nAppendicular Skeleton (126 bones)\\nArticulations\\nReview\\nMuscular System\\nStructure of Skeletal Muscle\\nMuscle Types\\nMuscle Groups\\nHead and Neck\\nTrunk\\nUpper Extremity\\nLower Extremity\\nReview\\nNervous System\\nNerve Tissue\\nOrganization of the Nervous System\\nCentral Nervous System\\nPeripheral Nervous System\\nReview\\nEndocrine System\\nCharacteristics of Hormones\\nEndocrine Glands & Their Hormones\\nPituitary & Pineal Glands\\nThyroid & Parathyroid Glands\\nAdrenal Gland\\nPancreas\\nGonads\\nOther Endocrine Glands\\nReview\\nCardiovascular System\\nHeart\\nStructure of the Heart\\nPhysiology of the Heart\\nBlood\\nClassification & Structure of Blood Vessels\\nPhysiology of Circulation\\nCirculatory Pathways\\nReview\\nLymphatic System\\nComponents of the Lymphatic System\\nLymph Nodes\\nTonsils\\nSpleen\\nThymus\\nReview\\nRespiratory System\\nMechanics of Ventilation\\nRespiratory Volumes and Capacities\\nConducting Passages\\nNose, Nasal Cavities & Paranasal Sinuses\\nPharynx\\nLarynx & Trachea\\nBronchi, Bronchial Tree, & Lungs\\nReview\\nDigestive System\\nGeneral Structure\\nRegions of the Digestive System\\nMouth\\nPharynx & Esophagus\\nStomach\\nSmall & Large Intestine\\nAccessory Organs\\nReview\\nUrinary System\\nComponents of the Urinary System\\nKidneys\\nUreters\\nUrinary Bladder\\nUrethra\\nReview\\nReproductive System\\nMale Reproductive System\\nTestes\\nDuct System\\nAccessory Glands\\nPenis\\nMale Sexual Response & Hormone Control\\nFemale Reproductive System\\nOvaries\\nGenital Tract\\nExternal Genitalia\\nFemale Sexual Response & Hormone Control\\nMammary Glands\\nReview\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nModule Map\\nAnatomy & Physiology\\nThe\\nAnatomy\\nand\\nPhysiology\\nmodule introduces the structure and function of the human body. You will read about the cells, tissues and membranes that make up our bodies and how our major systems function to help us develop and stay healthy.\\nIn this module you will learn to:\\nDescribe basic human body functions and life process.\\nName the major human body systems and relate their functions.\\nDescribe the anatomical locations, structures and physiological functions of the main components of each major system of the human body.\\nNext (Intro to the Human Body) »\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy and physiology page\\nWebpage Title:\\nPage Not Found | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nSection Menu\\nCancer Registration & Surveillance Modules\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nPage Not Found\\nThe SEER Training Website has been redesigned, and pages may have moved.\\nWe recommend one of the following:\\nSearch the site:\\nUse the links on the left side of this page to find modules by topic.\\nContact us at\\nSEERTrainingSite@mail.nih.gov\\nfor help locating the content.\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n'" + ] + }, + "execution_count": 43, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "get_all_details(\"https://training.seer.cancer.gov/anatomy/\")" + ] + }, + { + "cell_type": "markdown", + "id": "79629051-c023-4c16-a588-8e0cd2cf7299", + "metadata": {}, + "source": [ + "# A Learning Notebook Agent\n", + "\n", + "## Now we will take our project from Day 1 to the next level\n", + "\n", + "### BUSINESS CHALLENGE:\n", + "\n", + "Create a learning notebook from a research institue web page to learn anatomy and physiology for prospective medical school students.\n", + "\n", + "We will be provided a research institue page and their primary website.\n", + "\n", + "See the end of this notebook for examples of real-world business applications." + ] + }, + { + "cell_type": "code", + "execution_count": 159, + "id": "e63b6614-fc36-4ca9-a438-f222871786f0", + "metadata": {}, + "outputs": [], + "source": [ + "system_prompt = \"You are an eLearning designer, author, educator, and subject matter expert specializing in Anatomy, Physiology, and Pathophysiology.\\\n", + "With over 20 years of experience, you are dedicated to enhancing online education by applying usability principles and multimodal microlearning media.\\\n", + "you analyzes the contents of several relevant pages from a research institue website \\\n", + "and creates a learning notebook of anatamy and physiology for prospective medical school students. \\\n", + "Add url links to the related terminology as much as possible.\\\n", + "Include details of explanation of anatamy terminology if you have the information. \\\n", + "Respond in markdown.\"" + ] + }, + { + "cell_type": "code", + "execution_count": 160, + "id": "1508d50e-cf1c-4511-8b95-a3591a7f41b1", + "metadata": {}, + "outputs": [], + "source": [ + "def get_learning_notebook_user_prompt(research_institue, url):\n", + " user_prompt = f\"You are looking at a research institue called: {research_institue}\\n\"\n", + " user_prompt += f\"Here are the contents of its landing page and other relevant pages; use this information to build a short learning notebook of the research institue in markdown.\\n\"\n", + " user_prompt += get_all_details(url)\n", + " user_prompt = user_prompt[:1_0000] # Truncate if more than 10,000 characters\n", + " return user_prompt" + ] + }, + { + "cell_type": "code", + "execution_count": 161, + "id": "f77df652-5b72-4594-a109-693a50bf0e79", + "metadata": { + "collapsed": true, + "jupyter": { + "outputs_hidden": true + }, + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'anatomy page', 'url': 'https://training.seer.cancer.gov/anatomy/'}, {'type': 'anatomy body page', 'url': 'https://training.seer.cancer.gov/anatomy/body/'}, {'type': 'anatomy body functions page', 'url': 'https://training.seer.cancer.gov/anatomy/body/functions.html'}, {'type': 'anatomy body terminology page', 'url': 'https://training.seer.cancer.gov/anatomy/body/terminology.html'}, {'type': 'anatomy body review page', 'url': 'https://training.seer.cancer.gov/anatomy/body/review.html'}, {'type': 'anatomy cells, tissues, membranes page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/'}, {'type': 'anatomy cells page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/cells/'}, {'type': 'anatomy cells structure page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/cells/structure.html'}, {'type': 'anatomy cells function page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/cells/function.html'}, {'type': 'anatomy tissues page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/'}, {'type': 'anatomy epithelial tissues page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/epithelial.html'}, {'type': 'anatomy connective tissues page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/connective.html'}, {'type': 'anatomy muscle tissues page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/muscle.html'}, {'type': 'anatomy nervous tissues page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/nervous.html'}, {'type': 'anatomy membranes page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/membranes.html'}, {'type': 'anatomy skeletal page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/'}, {'type': 'anatomy muscular page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/'}, {'type': 'anatomy nervous page', 'url': 'https://training.seer.cancer.gov/anatomy/nervous/'}, {'type': 'anatomy endocrine page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/'}, {'type': 'anatomy cardiovascular page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/'}, {'type': 'anatomy lymphatic page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/'}, {'type': 'anatomy respiratory page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/'}, {'type': 'anatomy digestive page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/'}, {'type': 'anatomy urinary page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/'}, {'type': 'anatomy reproductive page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/'}]}\n" + ] + }, + { + "data": { + "text/plain": [ + "'You are looking at a research institue called: National Cancer Institue\\nHere are the contents of its landing page and other relevant pages; use this information to build a short learning notebook of the research institue in markdown.\\nLanding page:\\nWebpage Title:\\nAnatomy & Physiology | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nHome\\n»\\nCancer Registration & Surveillance Modules\\n»\\nAnatomy & Physiology\\nSection Menu\\nCancer Registration & Surveillance Modules\\nAnatomy & Physiology\\nIntro to the Human Body\\nBody Functions & Life Process\\nAnatomical Terminology\\nReview\\nCells, Tissues, & Membranes\\nCell Structure & Function\\nCell Structure\\nCell Function\\nBody Tissues\\nEpithelial Tissue\\nConnective Tissue\\nMuscle Tissue\\nNervous Tissue\\nMembranes\\nReview\\nSkeletal System\\nStructure of Bone Tissue\\nBone Development & Growth\\nClassification of Bones\\nDivisions of the Skeleton\\nAxial Skeleton (80 bones)\\nAppendicular Skeleton (126 bones)\\nArticulations\\nReview\\nMuscular System\\nStructure of Skeletal Muscle\\nMuscle Types\\nMuscle Groups\\nHead and Neck\\nTrunk\\nUpper Extremity\\nLower Extremity\\nReview\\nNervous System\\nNerve Tissue\\nOrganization of the Nervous System\\nCentral Nervous System\\nPeripheral Nervous System\\nReview\\nEndocrine System\\nCharacteristics of Hormones\\nEndocrine Glands & Their Hormones\\nPituitary & Pineal Glands\\nThyroid & Parathyroid Glands\\nAdrenal Gland\\nPancreas\\nGonads\\nOther Endocrine Glands\\nReview\\nCardiovascular System\\nHeart\\nStructure of the Heart\\nPhysiology of the Heart\\nBlood\\nClassification & Structure of Blood Vessels\\nPhysiology of Circulation\\nCirculatory Pathways\\nReview\\nLymphatic System\\nComponents of the Lymphatic System\\nLymph Nodes\\nTonsils\\nSpleen\\nThymus\\nReview\\nRespiratory System\\nMechanics of Ventilation\\nRespiratory Volumes and Capacities\\nConducting Passages\\nNose, Nasal Cavities & Paranasal Sinuses\\nPharynx\\nLarynx & Trachea\\nBronchi, Bronchial Tree, & Lungs\\nReview\\nDigestive System\\nGeneral Structure\\nRegions of the Digestive System\\nMouth\\nPharynx & Esophagus\\nStomach\\nSmall & Large Intestine\\nAccessory Organs\\nReview\\nUrinary System\\nComponents of the Urinary System\\nKidneys\\nUreters\\nUrinary Bladder\\nUrethra\\nReview\\nReproductive System\\nMale Reproductive System\\nTestes\\nDuct System\\nAccessory Glands\\nPenis\\nMale Sexual Response & Hormone Control\\nFemale Reproductive System\\nOvaries\\nGenital Tract\\nExternal Genitalia\\nFemale Sexual Response & Hormone Control\\nMammary Glands\\nReview\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nModule Map\\nAnatomy & Physiology\\nThe\\nAnatomy\\nand\\nPhysiology\\nmodule introduces the structure and function of the human body. You will read about the cells, tissues and membranes that make up our bodies and how our major systems function to help us develop and stay healthy.\\nIn this module you will learn to:\\nDescribe basic human body functions and life process.\\nName the major human body systems and relate their functions.\\nDescribe the anatomical locations, structures and physiological functions of the main components of each major system of the human body.\\nNext (Intro to the Human Body) »\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy page\\nWebpage Title:\\nAnatomy & Physiology | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nHome\\n»\\nCancer Registration & Surveillance Modules\\n»\\nAnatomy & Physiology\\nSection Menu\\nCancer Registration & Surveillance Modules\\nAnatomy & Physiology\\nIntro to the Human Body\\nBody Functions & Life Process\\nAnatomical Terminology\\nReview\\nCells, Tissues, & Membranes\\nCell Structure & Function\\nCell Structure\\nCell Function\\nBody Tissues\\nEpithelial Tissue\\nConnective Tissue\\nMuscle Tissue\\nNervous Tissue\\nMembranes\\nReview\\nSkeletal System\\nStructure of Bone Tissue\\nBone Development & Growth\\nClassification of Bones\\nDivisions of the Skeleton\\nAxial Skeleton (80 bones)\\nAppendicular Skeleton (126 bones)\\nArticulations\\nReview\\nMuscular System\\nStructure of Skeletal Muscle\\nMuscle Types\\nMuscle Groups\\nHead and Neck\\nTrunk\\nUpper Extremity\\nLower Extremity\\nReview\\nNervous System\\nNerve Tissue\\nOrganization of the Nervous System\\nCentral Nervous System\\nPeripheral Nervous System\\nReview\\nEndocrine System\\nCharacteristics of Hormones\\nEndocrine Glands & Their Hormones\\nPituitary & Pineal Glands\\nThyroid & Parathyroid Glands\\nAdrenal Gland\\nPancreas\\nGonads\\nOther Endocrine Glands\\nReview\\nCardiovascular System\\nHeart\\nStructure of the Heart\\nPhysiology of the Heart\\nBlood\\nClassification & Structure of Blood Vessels\\nPhysiology of Circulation\\nCirculatory Pathways\\nReview\\nLymphatic System\\nComponents of the Lymphatic System\\nLymph Nodes\\nTonsils\\nSpleen\\nThymus\\nReview\\nRespiratory System\\nMechanics of Ventilation\\nRespiratory Volumes and Capacities\\nConducting Passages\\nNose, Nasal Cavities & Paranasal Sinuses\\nPharynx\\nLarynx & Trachea\\nBronchi, Bronchial Tree, & Lungs\\nReview\\nDigestive System\\nGeneral Structure\\nRegions of the Digestive System\\nMouth\\nPharynx & Esophagus\\nStomach\\nSmall & Large Intestine\\nAccessory Organs\\nReview\\nUrinary System\\nComponents of the Urinary System\\nKidneys\\nUreters\\nUrinary Bladder\\nUrethra\\nReview\\nReproductive System\\nMale Reproductive System\\nTestes\\nDuct System\\nAccessory Glands\\nPenis\\nMale Sexual Response & Hormone Control\\nFemale Reproductive System\\nOvaries\\nGenital Tract\\nExternal Genitalia\\nFemale Sexual Response & Hormone Control\\nMammary Glands\\nReview\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nModule Map\\nAnatomy & Physiology\\nThe\\nAnatomy\\nand\\nPhysiology\\nmodule introduces the structure and function of the human body. You will read about the cells, tissues and membranes that make up our bodies and how our major systems function to help us develop and stay healthy.\\nIn this module you will learn to:\\nDescribe basic human body functions and life process.\\nName the major human body systems and relate their functions.\\nDescribe the anatomical locations, structures and physiological functions of the main components of each major system of the human body.\\nNext (Intro to the Human Body) »\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy body page\\nWebpage Title:\\nIntroduction to the Human Body | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nHome\\n»\\nCancer Registration & Surveillance Modules\\n»\\nAnatomy & Physiology\\n»\\nIntro to the Human Body\\nSection Menu\\nCancer Registration & Surveillance Modules\\nAnatomy & Physiology\\nIntro to the Human Body\\nBody Functions & Life Process\\nAnatomical Terminology\\nReview\\nCells, Tissues, & Membranes\\nCell Structure & Function\\nCell Structure\\nCell Function\\nBody Tissues\\nEpithelial Tissue\\nConnective Tissue\\nMuscle Tissue\\nNervous Tissue\\nMembranes\\nReview\\nSkeletal System\\nStructure of Bone Tissue\\nBone Development & Growth\\nClassification of Bones\\nDivisions of the Skeleton\\nAxial Skeleton (80 bones)\\nAppendicular Skeleton (126 bones)\\nArticulations\\nReview\\nMuscular System\\nStructure of Skeletal Muscle\\nMuscle Types\\nMuscle Groups\\nHead and Neck\\nTrunk\\nUpper Extremity\\nLower Extremity\\nReview\\nNervous System\\nNerve Tissue\\nOrganization of the Nervous System\\nCentral Nervous System\\nPeripheral Nervous System\\nReview\\nEndocrine System\\nCharacteristics of Hormones\\nEndocrine Glands & Their Hormones\\nPituitary & Pineal Glands\\nThyroid & Parathyroid Glands\\nAdrenal Gland\\nPancreas\\nGonads\\nOther Endocrine Glands\\nReview\\nCardiovascular System\\nHeart\\nStructure of the Heart\\nPhysiology of the Heart\\nBlood\\nClassification & Structure of Blood Vessels\\nPhysiology of Circulation\\nCirculatory Pathways\\nReview\\nLymphatic System\\nComponents of the Lymphatic System\\nLymph Nodes\\nTonsils\\nSpleen\\nThymus\\nReview\\nRespiratory System\\nMechanics of Ventilation\\nRespiratory Volumes and Capacities\\nConducting Passages\\nNose, Nasal Cavities & Paranasal Sinuses\\nPharynx\\nLarynx & Trachea\\nBronchi, Bronchial Tree, & Lungs\\nReview\\nDigestive System\\nGeneral Structure\\nRegions of the Digestive System\\nMouth\\nPharynx & Esophagus\\nStomach\\nSmall & Large Intestine\\nAccessory Organs\\nReview\\nUrinary System\\nComponents of the Urinary System\\nKidneys\\nUreters\\nUrinary Blad'" + ] + }, + "execution_count": 161, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "get_learning_notebook_user_prompt(\"National Cancer Institue\", \"https://training.seer.cancer.gov/anatomy/\")" + ] + }, + { + "cell_type": "code", + "execution_count": 162, + "id": "20401281-6e19-41b9-95d0-1e3147876e31", "metadata": {}, "outputs": [], "source": [ - "# Get Llama 3.2 to answer" + "def create_learning_notebook(research_institue_name, url, display_content):\n", + " response = openai.chat.completions.create(\n", + " model=MODEL_GPT,\n", + " messages=[\n", + " {\"role\": \"system\", \"content\": system_prompt},\n", + " {\"role\": \"user\", \"content\": get_learning_notebook_user_prompt(research_institue_name, url)}\n", + " ],\n", + " )\n", + " result = response.choices[0].message.content\n", + " if display_content:\n", + " display(Markdown(result))\n", + " else :\n", + " return result\n" + ] + }, + { + "cell_type": "code", + "execution_count": 163, + "id": "e010ef26-fff2-43e8-905c-7f4ff5ba7f1e", + "metadata": { + "collapsed": true, + "jupyter": { + "outputs_hidden": true + }, + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/body/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/body/functions.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/body/terminology.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/body/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/cells/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/cells/structure.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/cells/function.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/epithelial.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/connective.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/muscle.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/nervous.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/membranes.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/tissue.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/growth.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/classification.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/divisions/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/divisions/axial.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/divisions/appendicular.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/articulations.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/structure.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/types.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/groups/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/groups/head_neck.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/groups/trunk.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/groups/upper.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/groups/lower.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/nervous/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/nervous/tissue.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/nervous/organization/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/nervous/organization/cns.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/nervous/organization/pns.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/nervous/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/hormones.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/glands/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/glands/pituitary.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/glands/thyroid.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/glands/adrenal.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/glands/pancreas.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/glands/gonads.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/glands/other.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/heart/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/heart/structure.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/heart/physiology.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/blood/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/blood/classification.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/blood/physiology.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/blood/pathways.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/components/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/components/nodes.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/components/tonsils.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/components/spleen.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/components/thymus.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/mechanics.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/capacity.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/passages/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/passages/nose.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/passages/pharynx.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/passages/larynx.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/passages/bronchi.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/structure.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/regions/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/regions/mouth.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/regions/pharynx.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/regions/stomach.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/regions/intestine.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/regions/accessory.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/components/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/components/kidney.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/components/ureters.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/components/bladder.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/components/urethra.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/male/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/male/testes.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/male/duct.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/male/glands.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/male/penis.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/male/response.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/female/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/female/ovaries.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/female/tract.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/female/genitalia.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/female/response.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/female/glands.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/review.html'}]}\n" + ] + }, + { + "data": { + "text/markdown": [ + "# Learning Notebook: Anatomy & Physiology at the National Cancer Institute\n", + "\n", + "## Overview\n", + "The **SEER Training** website by the National Cancer Institute (NCI) offers comprehensive modules on Anatomy & Physiology tailored for oncology data specialists and cancer registration trainees. This training resource covers various aspects of human anatomy, physiological processes, and their relevance to cancer studies. This notebook aims to summarize the key topics covered in the training modules, along with terminology that prospective medical school students should be familiar with.\n", + "\n", + "## Core Topics\n", + "\n", + "### 1. Introduction to the Human Body\n", + "- **Basic Human Body Functions**: Functions vital for sustaining life.\n", + "- **Major Human Body Systems**: Overview of systems such as the skeletal, muscular, nervous, and circulatory systems.\n", + "- **Anatomical Locations**: Understanding the position of organs and body parts.\n", + "\n", + "**Key Resources**: [Intro to the Human Body](https://seer.cancer.gov/seertraining/modules/anatomy/intro.html)\n", + "\n", + "### 2. Cells, Tissues, & Membranes\n", + "- **Cell Structure & Function**: Explains the basic unit of life and its functions.\n", + "- **Body Tissues**:\n", + " - **Epithelial Tissue**: Covers body surfaces; forms glands.\n", + " - **Connective Tissue**: Supports, binds, and protects tissues.\n", + " - **Muscle Tissue**: Responsible for movement.\n", + " - **Nervous Tissue**: Processes information and controls responses.\n", + "\n", + "**Key Resources**: [Cells, Tissues, & Membranes](https://seer.cancer.gov/seertraining/modules/anatomy/cells.html)\n", + "\n", + "### 3. Skeletal System\n", + "- **Bone Structure and Function**: Understanding the framework of the body.\n", + "- **Axial and Appendicular Skeleton**:\n", + " - **Axial Skeleton**: Comprises 80 bones, including the skull and spine.\n", + " - **Appendicular Skeleton**: Comprises 126 bones, including limbs and girdles.\n", + "\n", + "**Key Resources**: [Skeletal System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/skeletal.html)\n", + "\n", + "### 4. Muscular System\n", + "- **Muscle Types**: Includes skeletal, cardiac, and smooth muscle.\n", + "- **Muscle Groups**: Locations and functions of muscular groups in the body.\n", + "\n", + "**Key Resources**: [Muscular System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/muscular.html)\n", + "\n", + "### 5. Nervous System\n", + "- **Central and Peripheral Nervous System**: Breakdown of nerve functions and structures.\n", + "\n", + "**Key Resources**: [Nervous System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/nervous.html)\n", + "\n", + "### 6. Endocrine System\n", + "- **Hormones**: Characteristics and functions of hormones produced by glands such as the pituitary, thyroid, and adrenal glands.\n", + "\n", + "**Key Resources**: [Endocrine System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/endocrine.html)\n", + "\n", + "### 7. Cardiovascular System\n", + "- **Heart and Circulation**: Anatomy and physiology of the heart, vessels, and blood circulation.\n", + "\n", + "**Key Resources**: [Cardiovascular System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/cardiovascular.html)\n", + "\n", + "### 8. Lymphatic System\n", + "- **Components**: Includes lymph nodes, spleen, and thymus.\n", + "\n", + "**Key Resources**: [Lymphatic System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/lymphatic.html)\n", + "\n", + "### 9. Respiratory System\n", + "- **Ventilation Mechanics**: Understanding how air is exchanged in the lungs.\n", + "\n", + "**Key Resources**: [Respiratory System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/respiratory.html)\n", + "\n", + "### 10. Digestive System\n", + "- **Digestive Organs**: From the mouth to the intestines, including accessory organs.\n", + "\n", + "**Key Resources**: [Digestive System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/digestive.html)\n", + "\n", + "### 11. Urinary System\n", + "- **Components**: Functions of the kidneys, ureters, bladder, and urethra.\n", + "\n", + "**Key Resources**: [Urinary System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/urinary.html)\n", + "\n", + "### 12. Reproductive System\n", + "- **Male and Female Systems**: Anatomy and functions related to reproduction.\n", + "\n", + "**Key Resources**: [Reproductive System Overview](https://seer.cancer.gov/seertraining/modules/anatomy/reproductive.html)\n", + "\n", + "## Conclusion\n", + "This learning notebook highlights essential aspects of Anatomy and Physiology as presented on the SEER Training website by the National Cancer Institute. For further exploration, prospective medical students are encouraged to engage with the training modules linked above, which provide in-depth knowledge and understanding necessary for a career in medicine.\n", + "\n", + "**Visit the full SEER Training resource here**: [SEER Training Modules](https://seer.cancer.gov/seertraining/modules/)\n", + "\n", + "---\n", + "This notebook is designed to serve as a foundational guide for those interested in understanding human anatomy and physiology, particularly in the context of cancer research and diagnosis." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "create_learning_notebook(\"NationalCancerInstitue\", \"https://training.seer.cancer.gov/anatomy/\", True)" ] + }, + { + "cell_type": "code", + "execution_count": 191, + "id": "0bf96b9d-a92c-42d8-a593-97c77e62271d", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Found links: {'links': [{'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/body/functions.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/body/review.html'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/cells/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cells_tissues_membranes/tissues/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/skeletal/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/muscular/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/nervous/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/endocrine/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/cardiovascular/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/lymphatic/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/respiratory/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/digestive/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/urinary/'}, {'type': 'anatomy and physiology page', 'url': 'https://training.seer.cancer.gov/anatomy/reproductive/'}]}\n" + ] + } + ], + "source": [ + "# Provide learning notebook content to be translate later\n", + "content_page_to_be_translate=create_learning_notebook(\"NationalCancerInstitue\", \"https://training.seer.cancer.gov/anatomy/body/terminology.html\", False)" + ] + }, + { + "cell_type": "code", + "execution_count": 192, + "id": "99b965fe-e9e2-48fe-a573-6cb7b47fc4f1", + "metadata": {}, + "outputs": [], + "source": [ + "system_translation_prompt = \"You are an English to Chinese translation expert who has all the skills the same as google translate.\\\n", + "you also have the domain knowledge of Anatomy and Physiology, \\\n", + "you translates the contents of the research institue English page, \\\n", + "use the information to build a translated version in both English and Chinese, \\\n", + "make the Chinese version under the English version, \\\n", + "keep the original url links in the English version.\"" + ] + }, + { + "cell_type": "code", + "execution_count": 193, + "id": "781987d0-ce4e-42f0-b3c5-41a6e3ec341e", + "metadata": {}, + "outputs": [], + "source": [ + "def get_learning_notebook_translate_user_prompt(english_page, content):\n", + " user_prompt = f\"You are translating this English page: {english_page}\\n\"\n", + " user_prompt += f\"Here are the contents of the English page; \\\n", + " use this information to build a translated version in Both English and Chinese.\"\n", + " user_prompt += content\n", + " user_prompt = user_prompt[:1_0000] # Truncate if more than 10,000 characters\n", + " return user_prompt" + ] + }, + { + "cell_type": "code", + "execution_count": 194, + "id": "7aae2489-caf6-4cd4-94dd-38601a0b75b9", + "metadata": {}, + "outputs": [], + "source": [ + "def create_translate_page(name, content):\n", + " response = openai.chat.completions.create(\n", + " model=MODEL_GPT,\n", + " messages=[\n", + " {\"role\": \"system\", \"content\": system_translation_prompt},\n", + " {\"role\": \"user\", \"content\": get_learning_notebook_translate_user_prompt(name, content)}\n", + " ],\n", + " )\n", + " result = response.choices[0].message.content\n", + " display(Markdown(result))" + ] + }, + { + "cell_type": "code", + "execution_count": 195, + "id": "56f34b3e-250e-41d6-8329-857631d49822", + "metadata": {}, + "outputs": [ + { + "data": { + "text/markdown": [ + "# Learning Notebook: Anatomy and Physiology from the National Cancer Institute\n", + "\n", + "Welcome to your learning notebook for understanding the foundational concepts of anatomy and physiology, especially in the context of oncology and cancer registration. This information is compiled from the National Cancer Institute's SEER Training resources.\n", + "\n", + "# 学习笔记本:来自国家癌症研究所的解剖学和生理学\n", + "\n", + "欢迎来到您的学习笔记本,以理解解剖学和生理学的基础概念,尤其是在肿瘤学和癌症登记的背景下。该信息来自国家癌症研究所的SEER培训资源。\n", + "\n", + "## 1. Introduction to Anatomical Terminology\n", + "\n", + "Anatomical terminology is essential for accurately describing body structures and their locations. Understanding these terms will aid comprehension of how different body systems work together.\n", + "\n", + "## 1. 解剖学术语介绍\n", + "\n", + "解剖学术语对于准确描述身体结构及其位置至关重要。理解这些术语将有助于理解不同的身体系统如何共同工作。\n", + "\n", + "### Directional Terms\n", + "- **Superior (Cranial)**: Toward the head (e.g., the hand is part of the superior extremity).\n", + "- **Inferior (Caudal)**: Away from the head (e.g., the foot is part of the inferior extremity).\n", + "- **Anterior (Ventral)**: Front (e.g., the kneecap is on the anterior side of the leg).\n", + "- **Posterior (Dorsal)**: Back (e.g., the shoulder blades are on the posterior side of the body).\n", + "- **Medial**: Toward the midline (e.g., the middle toe is on the medial side of the foot).\n", + "- **Lateral**: Away from the midline (e.g., the little toe is on the lateral side of the foot).\n", + "- **Proximal**: Nearest to the trunk (e.g., the proximal end of the femur joins with the pelvic bone).\n", + "- **Distal**: Farthest from the trunk (e.g., the hand is at the distal end of the forearm).\n", + "\n", + "### 方向术语\n", + "- **上方(头侧)**: 指向头部(例如,手是上肢的一部分)。\n", + "- **下方(尾侧)**: 远离头部(例如,脚是下肢的一部分)。\n", + "- **前方(腹侧)**: 前面(例如,膝盖骨在腿的前侧)。\n", + "- **后方(背侧)**: 后面(例如,肩胛骨在身体的后侧)。\n", + "- **内侧**: 朝向中线(例如,中间的脚趾在脚的内侧)。\n", + "- **外侧**: 远离中线(例如,小脚趾在脚的外侧)。\n", + "- **近端**: 最接近躯干(例如,股骨的近端与骨盆骨连接)。\n", + "- **远端**: 离躯干最远(例如,手位于前臂的远端)。\n", + "\n", + "### Planes of the Body\n", + "- **Coronal Plane (Frontal Plane)**: Divides the body into anterior and posterior portions.\n", + "- **Sagittal Plane (Lateral Plane)**: Divides the body into right and left sides.\n", + "- **Axial Plane (Transverse Plane)**: Divides the body into upper and lower parts.\n", + "\n", + "### 身体的平面\n", + "- **冠状面(前面)**: 将身体分为前部和后部。\n", + "- **矢状面(侧面)**: 将身体分为左右两侧。\n", + "- **轴面(横截面)**: 将身体分为上部和下部。\n", + "\n", + "### Body Cavities\n", + "- **Ventral Cavity**: Larger cavity subdivided into thoracic and abdominopelvic cavities.\n", + " - **Thoracic Cavity**: Contains the heart, lungs, trachea, and esophagus.\n", + " - **Abdominal Cavity**: Houses most of the gastrointestinal tract and kidneys.\n", + " - **Pelvic Cavity**: Contains the urogenital system and rectum.\n", + "- **Dorsal Cavity**: Smaller cavity divided into cranial and vertebral portions.\n", + " - **Cranial Cavity**: Houses the brain.\n", + " - **Vertebral Canal**: Contains the spinal cord.\n", + "\n", + "### 身体腔\n", + "- **腹腔**: 较大的腔室,分为胸腔和腹盆腔。\n", + " - **胸腔**: 包含心脏、肺、气管和食道。\n", + " - **腹腔**: 存放大部分消化道和肾脏。\n", + " - **盆腔**: 包含泌尿生殖系统和直肠。\n", + "- **背腔**: 较小的腔室,分为颅腔和脊柱部分。\n", + " - **颅腔**: 包含大脑。\n", + " - **脊髓管**: 包含脊髓。\n", + "\n", + "For further reading on anatomical terminology, visit [SEER Training: Anatomical Terminology](https://seer.cancer.gov/).\n", + "\n", + "有关解剖学术语的更多阅读信息,请访问 [SEER培训:解剖学术语](https://seer.cancer.gov/)。\n", + "\n", + "## 2. Body Functions & Life Process\n", + "\n", + "The body's functions are driven by physiological and psychological processes at the cellular level, forming the basis of how each system operates.\n", + "\n", + "## 2. 身体功能与生命过程\n", + "\n", + "身体的功能由细胞水平的生理和心理过程驱动,构成了每个系统运作的基础。\n", + "\n", + "### Body Functions\n", + "- **Cellular Function**: Each function of the body is ultimately a function of its cells. These include both physiological actions (such as digestion and movement) and psychological functions (such as mood and cognitive processing).\n", + "- **Survival Mechanisms**: The body systems work synergistically to maintain homeostasis and enable survival through various physical and metabolic processes.\n", + "\n", + "### 身体功能\n", + "- **细胞功能**: 身体的每个功能最终都是其细胞的功能。这些包括生理行为(如消化和运动)和心理功能(如情绪和认知处理)。\n", + "- **生存机制**: 身体系统协同工作以维持体内平衡,并通过各种生理和代谢过程实现生存。\n", + "\n", + "For more details about body functions and life processes, explore [SEER Training: Body Functions & Life Processes](https://seer.cancer.gov/).\n", + "\n", + "有关身体功能和生命过程的更多细节,请查阅 [SEER培训:身体功能与生命过程](https://seer.cancer.gov/)。\n", + "\n", + "## 3. Key Systems to Explore\n", + "\n", + "- **Skeletal System**: Understand bone structure, types, and functions.\n", + "- **Muscular System**: Learn about muscle types and their roles in movement.\n", + "- **Nervous System**: Delve into the organization and functions of the nervous system.\n", + "- **Endocrine System**: Explore hormone characteristics and regulatory functions.\n", + "- **Cardiovascular System**: Understand heart structure, function, and blood circulation.\n", + "- **Lymphatic System**: Learn about the components and roles in immunity.\n", + "- **Respiratory System**: Review mechanics of breathing and respiratory anatomy.\n", + "- **Digestive System**: Study the gastrointestinal tract and digestive processes.\n", + "- **Urinary System**: Understand kidney functions and waste elimination.\n", + "- **Reproductive System**: Learn about male and female reproductive anatomy and functions.\n", + "\n", + "## 3. 关键系统探索\n", + "\n", + "- **骨骼系统**: 理解骨骼结构、类型和功能。\n", + "- **肌肉系统**: 了解肌肉类型及其在运动中的作用。\n", + "- **神经系统**: 深入了解神经系统的组织和功能。\n", + "- **内分泌系统**: 探索激素特征和调节功能。\n", + "- **心血管系统**: 理解心脏结构、功能及血液循环。\n", + "- **淋巴系统**: 了解组成部分及其在免疫中的作用。\n", + "- **呼吸系统**: 回顾呼吸的机制和呼吸解剖。\n", + "- **消化系统**: 研究消化道和消化过程。\n", + "- **泌尿系统**: 理解肾脏功能和废物排泄。\n", + "- **生殖系统**: 了解男性和女性生殖解剖和功能。\n", + "\n", + "## 4. Resources and Further Learning\n", + "\n", + "The SEER Training website offers a wealth of modules covering anatomy, physiology, and cancer registration. Users are encouraged to consult the information provided, but always seek guidance from healthcare professionals for personal medical inquiries.\n", + "\n", + "## 4. 资源与进一步学习\n", + "\n", + "SEER培训网站提供了丰富的模块,涵盖解剖学、生理学和癌症登记。建议用户咨询所提供的信息,但始终应向医疗专业人士寻求个人医疗咨询的指导。\n", + "\n", + "- Access the main SEER Training Website: [SEER Training](https://seer.cancer.gov/)\n", + "- Contact NCI LiveHelp for further assistance: [NCI LiveHelp](https://livehelp.cancer.gov/)\n", + "\n", + "- 访问主要的SEER培训网站: [SEER培训](https://seer.cancer.gov/)\n", + "- 联系NCI LiveHelp获取更多帮助: [NCI LiveHelp](https://livehelp.cancer.gov/)\n", + "\n", + "This notebook serves as a foundational guide for prospective medical school students as they prepare for more advanced studies in anatomy and physiology.\n", + "\n", + "本笔记本旨在为有意考取医学院的学生提供基础指南,以便他们为更高级别的解剖学和生理学研究做准备。" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "create_translate_page(\"Learning Notebook: National Cancer Institute - Anatomy & Physiology\", content_page_to_be_translate)" + ] + }, + { + "cell_type": "markdown", + "id": "57b8b1cd-5018-46d8-8159-d87ce04b246c", + "metadata": {}, + "source": [ + "# A Terminolgy Agent\n", + "\n", + "## Now we will take our project from Day 1 to the next next level!\n", + "\n", + "### BUSINESS CHALLENGE:\n", + "\n", + "Create a terminology list table for a research institue page to learn anatomy and physiology terms.\n", + "\n", + "We will be provided a research institue page and their primary website.\n", + "\n", + "We also provide a chinese version for the terminology\n", + "\n", + "See the end of this notebook for examples of real-world business applications." + ] + }, + { + "cell_type": "code", + "execution_count": 112, + "id": "0e138f87-aa0e-4197-9564-3a25f2f40950", + "metadata": {}, + "outputs": [], + "source": [ + "def get_all_details_from_page(url):\n", + " result = \"Landing page:\\n\"\n", + " result += Website(url).get_contents()\n", + " links = get_links(url)\n", + " # print(\"Found links:\", links)\n", + " for link in links[\"links\"]:\n", + " result += f\"\\n\\n{link['type']}\\n\"\n", + " result += Website(link[\"url\"]).get_contents()\n", + " return result" + ] + }, + { + "cell_type": "code", + "execution_count": 120, + "id": "82934cdf-f727-4409-94e6-aeb58913ab9f", + "metadata": {}, + "outputs": [], + "source": [ + "system_terminology_prompt = \"You are an eLearning designer, author, educator, and subject matter expert specializing in Anatomy, Physiology, and Pathophysiology.\\\n", + "With over 20 years of experience, you are dedicated to enhancing online education by applying usability principles and multimodal microlearning media.\\\n", + "you analyzes the contents of several relevant pages from a research institue website \\\n", + "and generate a full list of anatamy terminology for prospective medical school students.\\\n", + "Add Anatomical Term and Regional Term if you have the information.\\\n", + "Include details of explanation of anatamy terminology if you have the information.\\\n", + "Respond in a table format.\"" + ] + }, + { + "cell_type": "code", + "execution_count": 121, + "id": "3eb0ff01-ecec-4738-9b35-88b1687ad4d5", + "metadata": {}, + "outputs": [], + "source": [ + "def get_terminology_list_user_prompt(research_institue, url):\n", + " user_prompt = f\"You are looking at a research institue called: {research_institue}\\n\"\n", + " user_prompt += f\"Here are the contents of its landing page and other relevant pages; use this information to build a full list of anatomy and physiology terminology of the research institue page in a table format.\\n\"\n", + " user_prompt += get_all_details_from_page(url)\n", + " user_prompt = user_prompt[:1_0000] # Truncate if more than 5,000 characters\n", + " return user_prompt" + ] + }, + { + "cell_type": "code", + "execution_count": 122, + "id": "1afadf3d-327f-4ff5-923b-08f747a0b50d", + "metadata": { + "collapsed": true, + "jupyter": { + "outputs_hidden": true + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "'You are looking at a research institue called: National Cancer Institue\\nHere are the contents of its landing page and other relevant pages; use this information to build a full list of anatomy and physiology terminology of the research institue page in a table format.\\nLanding page:\\nWebpage Title:\\nAnatomy & Physiology | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nHome\\n»\\nCancer Registration & Surveillance Modules\\n»\\nAnatomy & Physiology\\nSection Menu\\nCancer Registration & Surveillance Modules\\nAnatomy & Physiology\\nIntro to the Human Body\\nBody Functions & Life Process\\nAnatomical Terminology\\nReview\\nCells, Tissues, & Membranes\\nCell Structure & Function\\nCell Structure\\nCell Function\\nBody Tissues\\nEpithelial Tissue\\nConnective Tissue\\nMuscle Tissue\\nNervous Tissue\\nMembranes\\nReview\\nSkeletal System\\nStructure of Bone Tissue\\nBone Development & Growth\\nClassification of Bones\\nDivisions of the Skeleton\\nAxial Skeleton (80 bones)\\nAppendicular Skeleton (126 bones)\\nArticulations\\nReview\\nMuscular System\\nStructure of Skeletal Muscle\\nMuscle Types\\nMuscle Groups\\nHead and Neck\\nTrunk\\nUpper Extremity\\nLower Extremity\\nReview\\nNervous System\\nNerve Tissue\\nOrganization of the Nervous System\\nCentral Nervous System\\nPeripheral Nervous System\\nReview\\nEndocrine System\\nCharacteristics of Hormones\\nEndocrine Glands & Their Hormones\\nPituitary & Pineal Glands\\nThyroid & Parathyroid Glands\\nAdrenal Gland\\nPancreas\\nGonads\\nOther Endocrine Glands\\nReview\\nCardiovascular System\\nHeart\\nStructure of the Heart\\nPhysiology of the Heart\\nBlood\\nClassification & Structure of Blood Vessels\\nPhysiology of Circulation\\nCirculatory Pathways\\nReview\\nLymphatic System\\nComponents of the Lymphatic System\\nLymph Nodes\\nTonsils\\nSpleen\\nThymus\\nReview\\nRespiratory System\\nMechanics of Ventilation\\nRespiratory Volumes and Capacities\\nConducting Passages\\nNose, Nasal Cavities & Paranasal Sinuses\\nPharynx\\nLarynx & Trachea\\nBronchi, Bronchial Tree, & Lungs\\nReview\\nDigestive System\\nGeneral Structure\\nRegions of the Digestive System\\nMouth\\nPharynx & Esophagus\\nStomach\\nSmall & Large Intestine\\nAccessory Organs\\nReview\\nUrinary System\\nComponents of the Urinary System\\nKidneys\\nUreters\\nUrinary Bladder\\nUrethra\\nReview\\nReproductive System\\nMale Reproductive System\\nTestes\\nDuct System\\nAccessory Glands\\nPenis\\nMale Sexual Response & Hormone Control\\nFemale Reproductive System\\nOvaries\\nGenital Tract\\nExternal Genitalia\\nFemale Sexual Response & Hormone Control\\nMammary Glands\\nReview\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nModule Map\\nAnatomy & Physiology\\nThe\\nAnatomy\\nand\\nPhysiology\\nmodule introduces the structure and function of the human body. You will read about the cells, tissues and membranes that make up our bodies and how our major systems function to help us develop and stay healthy.\\nIn this module you will learn to:\\nDescribe basic human body functions and life process.\\nName the major human body systems and relate their functions.\\nDescribe the anatomical locations, structures and physiological functions of the main components of each major system of the human body.\\nNext (Intro to the Human Body) »\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy page\\nWebpage Title:\\nAnatomy & Physiology | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nHome\\n»\\nCancer Registration & Surveillance Modules\\n»\\nAnatomy & Physiology\\nSection Menu\\nCancer Registration & Surveillance Modules\\nAnatomy & Physiology\\nIntro to the Human Body\\nBody Functions & Life Process\\nAnatomical Terminology\\nReview\\nCells, Tissues, & Membranes\\nCell Structure & Function\\nCell Structure\\nCell Function\\nBody Tissues\\nEpithelial Tissue\\nConnective Tissue\\nMuscle Tissue\\nNervous Tissue\\nMembranes\\nReview\\nSkeletal System\\nStructure of Bone Tissue\\nBone Development & Growth\\nClassification of Bones\\nDivisions of the Skeleton\\nAxial Skeleton (80 bones)\\nAppendicular Skeleton (126 bones)\\nArticulations\\nReview\\nMuscular System\\nStructure of Skeletal Muscle\\nMuscle Types\\nMuscle Groups\\nHead and Neck\\nTrunk\\nUpper Extremity\\nLower Extremity\\nReview\\nNervous System\\nNerve Tissue\\nOrganization of the Nervous System\\nCentral Nervous System\\nPeripheral Nervous System\\nReview\\nEndocrine System\\nCharacteristics of Hormones\\nEndocrine Glands & Their Hormones\\nPituitary & Pineal Glands\\nThyroid & Parathyroid Glands\\nAdrenal Gland\\nPancreas\\nGonads\\nOther Endocrine Glands\\nReview\\nCardiovascular System\\nHeart\\nStructure of the Heart\\nPhysiology of the Heart\\nBlood\\nClassification & Structure of Blood Vessels\\nPhysiology of Circulation\\nCirculatory Pathways\\nReview\\nLymphatic System\\nComponents of the Lymphatic System\\nLymph Nodes\\nTonsils\\nSpleen\\nThymus\\nReview\\nRespiratory System\\nMechanics of Ventilation\\nRespiratory Volumes and Capacities\\nConducting Passages\\nNose, Nasal Cavities & Paranasal Sinuses\\nPharynx\\nLarynx & Trachea\\nBronchi, Bronchial Tree, & Lungs\\nReview\\nDigestive System\\nGeneral Structure\\nRegions of the Digestive System\\nMouth\\nPharynx & Esophagus\\nStomach\\nSmall & Large Intestine\\nAccessory Organs\\nReview\\nUrinary System\\nComponents of the Urinary System\\nKidneys\\nUreters\\nUrinary Bladder\\nUrethra\\nReview\\nReproductive System\\nMale Reproductive System\\nTestes\\nDuct System\\nAccessory Glands\\nPenis\\nMale Sexual Response & Hormone Control\\nFemale Reproductive System\\nOvaries\\nGenital Tract\\nExternal Genitalia\\nFemale Sexual Response & Hormone Control\\nMammary Glands\\nReview\\nSite-specific Modules\\nResources\\nArchived Modules\\nUpdates\\nAcknowledgements\\nModule Map\\nAnatomy & Physiology\\nThe\\nAnatomy\\nand\\nPhysiology\\nmodule introduces the structure and function of the human body. You will read about the cells, tissues and membranes that make up our bodies and how our major systems function to help us develop and stay healthy.\\nIn this module you will learn to:\\nDescribe basic human body functions and life process.\\nName the major human body systems and relate their functions.\\nDescribe the anatomical locations, structures and physiological functions of the main components of each major system of the human body.\\nNext (Intro to the Human Body) »\\nFollow SEER\\nContact Information\\nContact SEER Training\\nNCI LiveHelp Online Chat\\nSite Links\\nHome\\nCitation\\nHelp\\nSEER Home\\nPolicies\\nAccessibility\\nDisclaimer\\nFOIA\\nHHS Vulnerability Disclosure\\nPrivacy & Security\\nReuse of Graphics and Text\\nWebsite Linking\\nU.S. Department of Health and Human Services\\nNational Institutes of Health\\nNational Cancer Institute\\nUSA.gov\\nNIH... Turning Discovery Into Health\\n®\\n^\\nBack\\nto Top\\n\\n\\n\\nanatomy body page\\nWebpage Title:\\nIntroduction to the Human Body | SEER Training\\nWebpage Contents:\\nSkip to Main Content\\nAn official website of the United States government\\nSEER Training Modules\\nSearch SEER Training:\\nSearch\\nMain Menu\\nHome\\nCitation\\nHelp\\nSearch\\nThe SEER Training Website is a training resource for oncology data specialists (ODS) and cancer registration trainees. It is not intended to provide medical advice or to guide clinical care, diagnosis, or treatment. NCI urges users to consult with a qualified physician for diagnosis and for answers to their personal medical questions.\\nHome\\n»\\nCancer Registration & Surveillance Modules\\n»\\nAnatomy & Physiology\\n»\\nIntro to the Human Body\\nSection Menu\\nCancer Registration & Surveillance Modules\\nAnatomy & Physiology\\nIntro to the Human Body\\nBody Functions & Life Process\\nAnatomical Terminology\\nReview\\nCells, Tissues, & Membranes\\nCell Structure & Function\\nCell Structure\\nCell Function\\nBody Tissues\\nEpithelial Tissue\\nConnective Tissue\\nMuscle Tissue\\nNervous Tissue\\nMembranes\\nReview\\nSkeletal System\\nStructure of Bone Tissue\\nBone Development & Growth\\nClassification of Bones\\nDivisions of the Skeleton\\nAxial Skeleton (80 bones)\\nAppendicular Skeleton (126 bones)\\nArticulations\\nReview\\nMuscular System\\nStructure of Skeletal Muscle\\nMuscle Types\\nMuscle Groups\\nHead and Neck\\nTrunk\\nUpper Extremity\\nLower Extremity\\nReview\\nNervous System\\nNerve Tissue\\nOrganization of the Nervous System\\nCentral Nervous System\\nPeripheral Nervous System\\nReview\\nEndocrine System\\nCharacteristics of Hormones\\nEndocrine Glands & Their Hormones\\nPituitary & Pineal Glands\\nThyroid & Parathyroid Glands\\nAdrenal Gland\\nPancreas\\nGonads\\nOther Endocrine Glands\\nReview\\nCardiovascular System\\nHeart\\nStructure of the Heart\\nPhysiology of the Heart\\nBlood\\nClassification & Structure of Blood Vessels\\nPhysiology of Circulation\\nCirculatory Pathways\\nReview\\nLymphatic System\\nComponents of the Lymphatic System\\nLymph Nodes\\nTonsils\\nSpleen\\nThymus\\nReview\\nRespiratory System\\nMechanics of Ventilation\\nRespiratory Volumes and Capacities\\nConducting Passages\\nNose, Nasal Cavities & Paranasal Sinuses\\nPharynx\\nLarynx & Trachea\\nBronchi, Bronchial Tree, & Lungs\\nReview\\nDigestive System\\nGeneral Structure\\nRegions of the Digestive System\\nMouth\\nPharynx & Esophagus\\nStomach\\nSmall & Large Intestine\\nAccessory Organs\\nReview\\nUrinary System\\nComponents of the Urinary '" + ] + }, + "execution_count": 122, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "get_terminology_list_user_prompt(\"National Cancer Institue\", \"https://training.seer.cancer.gov/anatomy/\")" + ] + }, + { + "cell_type": "code", + "execution_count": 124, + "id": "df0120a5-e0b9-443a-96e8-3e945a5fec39", + "metadata": {}, + "outputs": [], + "source": [ + "def create_terminology_list(research_institue_name, url, display_result):\n", + " response = openai.chat.completions.create(\n", + " model=MODEL_GPT,\n", + " messages=[\n", + " {\"role\": \"system\", \"content\": system_terminology_prompt},\n", + " {\"role\": \"user\", \"content\": get_terminology_list_user_prompt(research_institue_name, url)}\n", + " ],\n", + " )\n", + " result = response.choices[0].message.content\n", + " if display_result:\n", + " display(Markdown(result))\n", + " else :\n", + " return result" + ] + }, + { + "cell_type": "code", + "execution_count": 125, + "id": "fc344bd7-93da-4233-9cd7-510b0f3f1588", + "metadata": {}, + "outputs": [ + { + "data": { + "text/markdown": [ + "Here's a table of anatomy and physiology terminology based on the contents of the National Cancer Institute's SEER Training page. This table includes the key anatomical terms, regional terms, and their explanations.\n", + "\n", + "| **Term Category** | **Term** | **Explanation** |\n", + "|-------------------------|-----------------------|--------------------------------------------------------------------------------------------------------|\n", + "| **Directional Terms** | Superior | Toward the head end of the body; upper (e.g., the hand is superior to the foot). |\n", + "| | Inferior | Away from the head; lower (e.g., the foot is inferior to the knee). |\n", + "| | Anterior (Ventral) | Front (e.g., the kneecap is located on the anterior side of the leg). |\n", + "| | Posterior (Dorsal) | Back (e.g., the shoulder blades are located on the posterior side of the body). |\n", + "| | Medial | Toward the midline of the body (e.g., the middle toe is medial to the little toe). |\n", + "| | Lateral | Away from the midline of the body (e.g., the little toe is lateral to the middle toe). |\n", + "| | Proximal | Toward or nearest the trunk or point of origin of a part (e.g., the proximal end of the femur). |\n", + "| | Distal | Away from or farthest from the trunk or point of origin of a part (e.g., the hand is distal to the elbow). |\n", + "| **Planes of the Body** | Coronal (Frontal) | A vertical plane running from side to side; divides the body into anterior and posterior portions. |\n", + "| | Sagittal (Lateral) | A vertical plane running from front to back; divides the body into right and left parts. |\n", + "| | Axial (Transverse) | A horizontal plane; divides the body into upper and lower parts. |\n", + "| | Median | A sagittal plane through the midline of the body; divides the body into right and left halves. |\n", + "| **Body Cavities** | Ventral | The larger cavity; subdivided into thoracic and abdominopelvic cavities by the diaphragm. |\n", + "| | Thoracic Cavity | Contains the heart, lungs, trachea, esophagus, and large blood vessels. |\n", + "| | Abdominal Cavity | Contains most of the gastrointestinal tract and organs such as the kidneys and adrenal glands. |\n", + "| | Pelvic Cavity | Contains the urogenital system and the rectum. |\n", + "| | Dorsal Cavity | Contains organs lying more posterior; comprised of cranial and vertebral cavities. |\n", + "| | Cranial Cavity | Houses the brain. |\n", + "| | Vertebral Canal | Contains the spinal cord. |\n", + "| **System Terms** | Skeletal System | Composed of bones; provides structure and support to the body. |\n", + "| | Muscular System | Consists of skeletal muscles; allows for movement and stability. |\n", + "| | Nervous System | Comprises the brain, spinal cord, and nerves; controls and communicates through signaling. |\n", + "| | Endocrine System | Involves glands that secrete hormones to regulate bodily functions. |\n", + "| | Cardiovascular System | Consists of the heart and blood vessels; responsible for circulation of blood. |\n", + "| | Lymphatic System | Components including lymph nodes and vessels; part of the immune system. |\n", + "| | Respiratory System | Involved in gas exchange; includes nose, lungs, and trachea. |\n", + "| | Digestive System | Responsible for breakdown and absorption of nutrients; includes stomach and intestines. |\n", + "| | Urinary System | Comprises kidneys and bladder; removes waste and maintains water balance. |\n", + "| | Reproductive System | Involves organs such as ovaries, testes; responsible for reproduction. |\n", + "\n", + "This terminalogy table provides a comprehensive overview for prospective medical students, aiding in their understanding of basic anatomical and physiological terms relevant to studying human body systems." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "create_terminology_list(\"National Cancer Institue\", \"https://training.seer.cancer.gov/anatomy/body/terminology.html\", True)" + ] + }, + { + "cell_type": "code", + "execution_count": 145, + "id": "a0f1c67f-8f6f-4b91-ba0e-69cacbd34389", + "metadata": {}, + "outputs": [], + "source": [ + "terminology_table_to_be_translate = create_terminology_list(\"National Cancer Institue\", \"https://training.seer.cancer.gov/anatomy/body/terminology.html\", False)" + ] + }, + { + "cell_type": "code", + "execution_count": 148, + "id": "dd958453-81f3-4942-943d-737566923abd", + "metadata": {}, + "outputs": [], + "source": [ + "system_terminology_translation_prompt = \"You are an Englisht to Chinese translation expert who has all the skills the same as google translate.\\\n", + "you also have the domain knowledge of Anatomy, \\\n", + "first you add a new column to add Phonetic symbols and embed audio links for the Term column, \\\n", + "then you translate the Term column into Chinese as another new Column, \\\n", + "keep other column untouched and in the original format.\"" + ] + }, + { + "cell_type": "code", + "execution_count": 149, + "id": "08d84ee3-1fa6-493e-8016-ad1f6973542b", + "metadata": {}, + "outputs": [], + "source": [ + "def get_terminology_list_translate_user_prompt(english_page, terminology_table_content):\n", + " user_prompt = f\"You are translating this Anatomy terminolgy English page: {english_page}\\n\"\n", + " user_prompt += f\"Here are the contents of this Anatomy terminolgy table; use this information to build \\\n", + " a translated version of Term column, \\\n", + " add a new column to add Phonetic symbols and embed audio links for the Term column, \\\n", + " translate the Term column into Chinese as another new Column, \\\n", + " keep other column untouched and in the original format,\\\n", + " keep the full output in a table format.\\n\"\n", + " user_prompt += terminology_table_content\n", + " user_prompt = user_prompt[:1_0000] # Truncate if more than 5,000 characters\n", + " return user_prompt" + ] + }, + { + "cell_type": "code", + "execution_count": 150, + "id": "f13daa50-9076-4213-ac23-cfaaf384aeeb", + "metadata": {}, + "outputs": [], + "source": [ + "def create_translate_terminology_table(name, content):\n", + " response = openai.chat.completions.create(\n", + " model=MODEL_GPT,\n", + " messages=[\n", + " {\"role\": \"system\", \"content\": system_terminology_translation_prompt},\n", + " {\"role\": \"user\", \"content\": get_terminology_list_translate_user_prompt(name, content)}\n", + " ],\n", + " )\n", + " result = response.choices[0].message.content\n", + " display(Markdown(result))" + ] + }, + { + "cell_type": "code", + "execution_count": 151, + "id": "b5a9484e-cc88-47a5-806c-8e4283de1459", + "metadata": {}, + "outputs": [ + { + "data": { + "text/markdown": [ + "Here’s the updated table with translations, phonetic symbols, and embedded audio links for each term in the anatomical terminology:\n", + "\n", + "| **Term** | **Phonetic** | **Audio Link** | **Chinese Translation** | **Category** | **Description** |\n", + "|-------------------------|--------------|----------------|-------------------------|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n", + "| Superior (Cranial) | /səˈpɪr.i.ər/ | [Audio](https://example.com/audio/superior.mp3) | 上方 (头侧) | Anatomical Term | Towards the head or upper part of the body; e.g., the hand is part of the superior extremity. |\n", + "| Inferior (Caudal) | /ɪnˈfɪr.i.ər/ | [Audio](https://example.com/audio/inferior.mp3) | 下方 (尾侧) | Anatomical Term | Away from the head; lower part of the body; e.g., the foot is part of the inferior extremity. |\n", + "| Anterior (Ventral) | /ænˈtɪr.i.ər/ | [Audio](https://example.com/audio/anterior.mp3) | 前方 (腹侧) | Anatomical Term | Front of the body; e.g., the kneecap is located on the anterior side of the leg. |\n", + "| Posterior (Dorsal) | /pɒsˈtɪr.i.ər/ | [Audio](https://example.com/audio/posterior.mp3) | 后方 (背侧) | Anatomical Term | Back of the body; e.g., the shoulder blades are located on the posterior side of the body. |\n", + "| Medial | /ˈmiː.di.əl/ | [Audio](https://example.com/audio/medial.mp3) | 媒体的 | Anatomical Term | Towards the midline of the body; e.g., the middle toe is located at the medial side of the foot. |\n", + "| Lateral | /ˈlæ.tə.rəl/ | [Audio](https://example.com/audio/lateral.mp3) | 外侧 | Anatomical Term | Away from the midline of the body; e.g., the little toe is located at the lateral side of the foot. |\n", + "| Proximal | /ˈprɒks.ɪ.məl/ | [Audio](https://example.com/audio/proximal.mp3) | 近端 | Anatomical Term | Nearest to the trunk or point of origin; e.g., the proximal end of the femur joins with the pelvic bone. |\n", + "| Distal | /ˈdɪs.təl/ | [Audio](https://example.com/audio/distal.mp3) | 远端 | Anatomical Term | Farthest from the trunk or point of origin; e.g., the hand is located at the distal end of the forearm. |\n", + "| Coronal Plane | /kəˈroʊ.nəl/ | [Audio](https://example.com/audio/coronal_plane.mp3) | 冠状面 | Anatomical Term | A vertical plane that divides the body into anterior and posterior portions. |\n", + "| Sagittal Plane | /ˈsædʒ.ɪ.təl/ | [Audio](https://example.com/audio/sagittal_plane.mp3) | 矢状面 | Anatomical Term | A vertical plane that divides the body into right and left sides. |\n", + "| Axial Plane (Transverse)| /ˈæk.si.əl/ | [Audio](https://example.com/audio/axial_plane.mp3) | 轴向面 (横面) | Anatomical Term | A horizontal plane that divides the body into upper and lower parts. |\n", + "| Median Plane | /ˈmiː.di.ən/ | [Audio](https://example.com/audio/median_plane.mp3) | 中线 | Anatomical Term | A sagittal plane that divides the body into equal right and left halves. |\n", + "| Thoracic Cavity | /θɔːˈræs.ɪk/ | [Audio](https://example.com/audio/thoracic_cavity.mp3) | 胸腔 | Anatomical Term | Upper ventral cavity that contains the heart, lungs, trachea, esophagus, and large blood vessels. |\n", + "| Abdominal Cavity | /əbˈdɒm.ɪ.nəl/ | [Audio](https://example.com/audio/abdominal_cavity.mp3) | 腹腔 | Anatomical Term | Contains most of the gastrointestinal tract, kidneys, and adrenal glands; bound cranially by the diaphragm. |\n", + "| Pelvic Cavity | /ˈpɛl.vɪk/ | [Audio](https://example.com/audio/pelvic_cavity.mp3) | 盆腔 | Anatomical Term | Contains the urogenital system and the rectum; bound cranially by the abdominal cavity and dorsally by the sacrum. |\n", + "| Dorsal Cavity | /ˈdɔːr.səl/ | [Audio](https://example.com/audio/dorsal_cavity.mp3) | 背腔 | Anatomical Term | Smaller cavity containing organs lying posteriorly; divided into cranial cavity (containing the brain) and vertebral canal (containing the spinal cord). |\n", + "| Heart | /hɑːrt/ | [Audio](https://example.com/audio/heart.mp3) | 心脏 | Anatomical Term | The muscular organ that pumps blood throughout the body. |\n", + "| Lungs | /lʌŋz/ | [Audio](https://example.com/audio/lungs.mp3) | 肺 | Anatomical Term | Organs involved in breathing; facilitate gas exchange. |\n", + "| Kidneys | /ˈkɪd.niz/ | [Audio](https://example.com/audio/kidneys.mp3) | 肾脏 | Anatomical Term | Organs that filter blood to produce urine; involved in maintaining fluid and electrolyte balance. |\n", + "| Testes | /ˈtɛs.tiz/ | [Audio](https://example.com/audio/testes.mp3) | 睾丸 | Anatomical Term | Male reproductive organs that produce sperm and hormones. |\n", + "| Ovaries | /ˈoʊ.və.riz/ | [Audio](https://example.com/audio/ovaries.mp3) | 卵巢 | Anatomical Term | Female reproductive organs that produce eggs and hormones. |\n", + "| Endocrine Glands | /ˈɛn.də.kraɪn/ | [Audio](https://example.com/audio/endocrine_glands.mp3) | 内分泌腺 | Anatomical Term | Glands that secrete hormones directly into the bloodstream; includes pituitary, thyroid, adrenal glands, etc. |\n", + "| Neurons | /ˈnjʊə.rɒnz/ | [Audio](https://example.com/audio/neurons.mp3) | 神经元 | Anatomical Term | Nerve cells that transmit nerve impulses throughout the nervous system. |\n", + "| Epithelial Tissue | /ˌɛp.ɪˈθɪl.i.əl/ | [Audio](https://example.com/audio/epithelial_tissue.mp3) | 上皮组织 | Tissue Type | A type of tissue that forms protective layers on body surfaces and linings of cavities. |\n", + "| Connective Tissue | /kəˈnɛk.tɪv/ | [Audio](https://example.com/audio/connective_tissue.mp3) | 结缔组织 | Tissue Type | Tissue that supports, binds together, and protects tissues and organs of the body; includes bone, adipose, and blood. |\n", + "| Muscle Tissue | /ˈmʌs.əl/ | [Audio](https://example.com/audio/muscle_tissue.mp3) | 肌肉组织 | Tissue Type | Tissue responsible for movement; includes skeletal, cardiac, and smooth muscle. |\n", + "| Nervous Tissue | /ˈnɜːr.vəs/ | [Audio](https://example.com/audio/nervous_tissue.mp3) | 神经组织 | Tissue Type | Tissue that makes up the brain, spinal cord, and nerves; responsible for transmitting signals throughout the body. |\n", + "\n", + "This table incorporates the translations and additional columns as requested. Ensure to replace the audio links with the actual links to the audio files for proper functionality." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "create_translate_terminology_table(\"Anatomy & Physiology Terminology\", terminology_table_to_be_translate)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "46a9d4b1-7388-484e-8800-15a87af96406", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { diff --git a/week2/day1.ipynb b/week2/day1.ipynb index fe515bc6..cff28dfb 100644 --- a/week2/day1.ipynb +++ b/week2/day1.ipynb @@ -82,7 +82,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "de23bb9e-37c5-4377-9a82-d7b6c648eeb6", "metadata": {}, "outputs": [], @@ -98,7 +98,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "f0a8ab2b-6134-4104-a1bc-c3cd7ea4cd36", "metadata": {}, "outputs": [], @@ -112,10 +112,20 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "1179b4c5-cd1f-4131-a876-4c9f3f38d2ba", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "OpenAI API Key exists and begins sk-proj-\n", + "Anthropic API Key exists and begins sk-ant-\n", + "Google API Key exists and begins AIzaSyBw\n" + ] + } + ], "source": [ "# Load environment variables in a file called .env\n", "# Print the key prefixes to help with any debugging\n", @@ -143,7 +153,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "797fe7b0-ad43-42d2-acf0-e4f309b112f0", "metadata": {}, "outputs": [], @@ -157,7 +167,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "id": "425ed580-808d-429b-85b0-6cba50ca1d0c", "metadata": {}, "outputs": [], @@ -190,7 +200,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 6, "id": "378a0296-59a2-45c6-82eb-941344d3eeff", "metadata": {}, "outputs": [], @@ -201,7 +211,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "id": "f4d56a0f-2a3d-484d-9344-0efa6862aff4", "metadata": {}, "outputs": [], @@ -214,10 +224,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "id": "3b3879b6-9a55-4fed-a18c-1ea2edfaf397", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Why did the data scientist break up with their calculator? They couldn't count on it for accurate data!\n" + ] + } + ], "source": [ "# GPT-3.5-Turbo\n", "\n", @@ -227,10 +245,20 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 9, "id": "3d2d6beb-1b81-466f-8ed1-40bf51e7adbf", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Why did the data scientist bring a ladder to work?\n", + "\n", + "Because they wanted to work on higher-level data!\n" + ] + } + ], "source": [ "# GPT-4o-mini\n", "# Temperature setting controls creativity\n", @@ -245,10 +273,20 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 11, "id": "f1f54beb-823f-4301-98cb-8b9a49f4ce26", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Why did the data scientist bring a ladder to work?\n", + "\n", + "Because they heard the project had a lot of layers to unravel!\n" + ] + } + ], "source": [ "# GPT-4o\n", "\n", @@ -262,10 +300,27 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "id": "1ecdb506-9f7c-4539-abae-0e78d7f31b76", "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "BadRequestError", + "evalue": "Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits.'}}", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mBadRequestError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn[12], line 5\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# Claude 3.5 Sonnet\u001b[39;00m\n\u001b[1;32m 2\u001b[0m \u001b[38;5;66;03m# API needs system message provided separately from user prompt\u001b[39;00m\n\u001b[1;32m 3\u001b[0m \u001b[38;5;66;03m# Also adding max_tokens\u001b[39;00m\n\u001b[0;32m----> 5\u001b[0m message \u001b[38;5;241m=\u001b[39m \u001b[43mclaude\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmessages\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcreate\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 6\u001b[0m \u001b[43m \u001b[49m\u001b[43mmodel\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mclaude-3-5-sonnet-20240620\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\n\u001b[1;32m 7\u001b[0m \u001b[43m \u001b[49m\u001b[43mmax_tokens\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;241;43m200\u001b[39;49m\u001b[43m,\u001b[49m\n\u001b[1;32m 8\u001b[0m \u001b[43m \u001b[49m\u001b[43mtemperature\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;241;43m0.7\u001b[39;49m\u001b[43m,\u001b[49m\n\u001b[1;32m 9\u001b[0m \u001b[43m \u001b[49m\u001b[43msystem\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43msystem_message\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 10\u001b[0m \u001b[43m \u001b[49m\u001b[43mmessages\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m[\u001b[49m\n\u001b[1;32m 11\u001b[0m \u001b[43m \u001b[49m\u001b[43m{\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mrole\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43muser\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mcontent\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43muser_prompt\u001b[49m\u001b[43m}\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 12\u001b[0m \u001b[43m \u001b[49m\u001b[43m]\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 13\u001b[0m \u001b[43m)\u001b[49m\n\u001b[1;32m 15\u001b[0m \u001b[38;5;28mprint\u001b[39m(message\u001b[38;5;241m.\u001b[39mcontent[\u001b[38;5;241m0\u001b[39m]\u001b[38;5;241m.\u001b[39mtext)\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/anthropic/_utils/_utils.py:275\u001b[0m, in \u001b[0;36mrequired_args..inner..wrapper\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 273\u001b[0m msg \u001b[38;5;241m=\u001b[39m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mMissing required argument: \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mquote(missing[\u001b[38;5;241m0\u001b[39m])\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 274\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mTypeError\u001b[39;00m(msg)\n\u001b[0;32m--> 275\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/anthropic/resources/messages.py:888\u001b[0m, in \u001b[0;36mMessages.create\u001b[0;34m(self, max_tokens, messages, model, metadata, stop_sequences, stream, system, temperature, tool_choice, tools, top_k, top_p, extra_headers, extra_query, extra_body, timeout)\u001b[0m\n\u001b[1;32m 881\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m model \u001b[38;5;129;01min\u001b[39;00m DEPRECATED_MODELS:\n\u001b[1;32m 882\u001b[0m warnings\u001b[38;5;241m.\u001b[39mwarn(\n\u001b[1;32m 883\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mThe model \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mmodel\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m is deprecated and will reach end-of-life on \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mDEPRECATED_MODELS[model]\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m.\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124mPlease migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 884\u001b[0m \u001b[38;5;167;01mDeprecationWarning\u001b[39;00m,\n\u001b[1;32m 885\u001b[0m stacklevel\u001b[38;5;241m=\u001b[39m\u001b[38;5;241m3\u001b[39m,\n\u001b[1;32m 886\u001b[0m )\n\u001b[0;32m--> 888\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_post\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 889\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m/v1/messages\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\n\u001b[1;32m 890\u001b[0m \u001b[43m \u001b[49m\u001b[43mbody\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mmaybe_transform\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 891\u001b[0m \u001b[43m \u001b[49m\u001b[43m{\u001b[49m\n\u001b[1;32m 892\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mmax_tokens\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mmax_tokens\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 893\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mmessages\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mmessages\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 894\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mmodel\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mmodel\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 895\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mmetadata\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mmetadata\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 896\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mstop_sequences\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mstop_sequences\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 897\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mstream\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mstream\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 898\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43msystem\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43msystem\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 899\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mtemperature\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mtemperature\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 900\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mtool_choice\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mtool_choice\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 901\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mtools\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mtools\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 902\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mtop_k\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mtop_k\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 903\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mtop_p\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m:\u001b[49m\u001b[43m \u001b[49m\u001b[43mtop_p\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 904\u001b[0m \u001b[43m \u001b[49m\u001b[43m}\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 905\u001b[0m \u001b[43m \u001b[49m\u001b[43mmessage_create_params\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mMessageCreateParams\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 906\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 907\u001b[0m \u001b[43m \u001b[49m\u001b[43moptions\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mmake_request_options\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 908\u001b[0m \u001b[43m \u001b[49m\u001b[43mextra_headers\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mextra_headers\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mextra_query\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mextra_query\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mextra_body\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mextra_body\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtimeout\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mtimeout\u001b[49m\n\u001b[1;32m 909\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 910\u001b[0m \u001b[43m \u001b[49m\u001b[43mcast_to\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mMessage\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 911\u001b[0m \u001b[43m \u001b[49m\u001b[43mstream\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstream\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01mor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43;01mFalse\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[1;32m 912\u001b[0m \u001b[43m \u001b[49m\u001b[43mstream_cls\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mStream\u001b[49m\u001b[43m[\u001b[49m\u001b[43mRawMessageStreamEvent\u001b[49m\u001b[43m]\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 913\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/anthropic/_base_client.py:1279\u001b[0m, in \u001b[0;36mSyncAPIClient.post\u001b[0;34m(self, path, cast_to, body, options, files, stream, stream_cls)\u001b[0m\n\u001b[1;32m 1265\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mpost\u001b[39m(\n\u001b[1;32m 1266\u001b[0m \u001b[38;5;28mself\u001b[39m,\n\u001b[1;32m 1267\u001b[0m path: \u001b[38;5;28mstr\u001b[39m,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 1274\u001b[0m stream_cls: \u001b[38;5;28mtype\u001b[39m[_StreamT] \u001b[38;5;241m|\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 1275\u001b[0m ) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m ResponseT \u001b[38;5;241m|\u001b[39m _StreamT:\n\u001b[1;32m 1276\u001b[0m opts \u001b[38;5;241m=\u001b[39m FinalRequestOptions\u001b[38;5;241m.\u001b[39mconstruct(\n\u001b[1;32m 1277\u001b[0m method\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mpost\u001b[39m\u001b[38;5;124m\"\u001b[39m, url\u001b[38;5;241m=\u001b[39mpath, json_data\u001b[38;5;241m=\u001b[39mbody, files\u001b[38;5;241m=\u001b[39mto_httpx_files(files), \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39moptions\n\u001b[1;32m 1278\u001b[0m )\n\u001b[0;32m-> 1279\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m cast(ResponseT, \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mrequest\u001b[49m\u001b[43m(\u001b[49m\u001b[43mcast_to\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mopts\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mstream\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstream\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mstream_cls\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstream_cls\u001b[49m\u001b[43m)\u001b[49m)\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/anthropic/_base_client.py:956\u001b[0m, in \u001b[0;36mSyncAPIClient.request\u001b[0;34m(self, cast_to, options, remaining_retries, stream, stream_cls)\u001b[0m\n\u001b[1;32m 953\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 954\u001b[0m retries_taken \u001b[38;5;241m=\u001b[39m \u001b[38;5;241m0\u001b[39m\n\u001b[0;32m--> 956\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_request\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 957\u001b[0m \u001b[43m \u001b[49m\u001b[43mcast_to\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcast_to\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 958\u001b[0m \u001b[43m \u001b[49m\u001b[43moptions\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moptions\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 959\u001b[0m \u001b[43m \u001b[49m\u001b[43mstream\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstream\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 960\u001b[0m \u001b[43m \u001b[49m\u001b[43mstream_cls\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstream_cls\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 961\u001b[0m \u001b[43m \u001b[49m\u001b[43mretries_taken\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mretries_taken\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 962\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n", + "File \u001b[0;32m/opt/anaconda3/envs/llms/lib/python3.11/site-packages/anthropic/_base_client.py:1060\u001b[0m, in \u001b[0;36mSyncAPIClient._request\u001b[0;34m(self, cast_to, options, retries_taken, stream, stream_cls)\u001b[0m\n\u001b[1;32m 1057\u001b[0m err\u001b[38;5;241m.\u001b[39mresponse\u001b[38;5;241m.\u001b[39mread()\n\u001b[1;32m 1059\u001b[0m log\u001b[38;5;241m.\u001b[39mdebug(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mRe-raising status error\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m-> 1060\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_make_status_error_from_response(err\u001b[38;5;241m.\u001b[39mresponse) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m 1062\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_process_response(\n\u001b[1;32m 1063\u001b[0m cast_to\u001b[38;5;241m=\u001b[39mcast_to,\n\u001b[1;32m 1064\u001b[0m options\u001b[38;5;241m=\u001b[39moptions,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 1068\u001b[0m retries_taken\u001b[38;5;241m=\u001b[39mretries_taken,\n\u001b[1;32m 1069\u001b[0m )\n", + "\u001b[0;31mBadRequestError\u001b[0m: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits.'}}" + ] + } + ], "source": [ "# Claude 3.5 Sonnet\n", "# API needs system message provided separately from user prompt\n",