diff --git a/Chapter09/Summarizing_with_ChatGPT.ipynb b/Chapter09/Summarizing_with_ChatGPT.ipynb index d5f42ea..11c54ef 100644 --- a/Chapter09/Summarizing_with_ChatGPT.ipynb +++ b/Chapter09/Summarizing_with_ChatGPT.ipynb @@ -55,8 +55,8 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (23.1.2)\n", "Collecting pip\n", @@ -87,8 +87,8 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Collecting tiktoken\n", " Downloading tiktoken-0.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)\n", @@ -179,8 +179,8 @@ }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Collecting openai\n", " Downloading openai-1.3.7-py3-none-any.whl.metadata (17 kB)\n", @@ -218,7 +218,7 @@ "try:\n", " import openai\n", "except:\n", - " !pip install openai\n", + " !pip install openai==0.28 -qq\n", " import openai" ] }, @@ -235,16 +235,16 @@ "cell_type": "code", "execution_count": 4, "metadata": { - "id": "Eb6gFplQqU5v", "colab": { "base_uri": "https://localhost:8080/" }, + "id": "Eb6gFplQqU5v", "outputId": "50d0cd21-25d1-499e-8612-56c13b74e314" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Mounted at /content/drive\n" ] @@ -348,16 +348,16 @@ "cell_type": "code", "execution_count": 6, "metadata": { - "id": "vM6fWKbit8qV", "colab": { "base_uri": "https://localhost:8080/" }, + "id": "vM6fWKbit8qV", "outputId": "597b66e1-947c-4536-ea8b-1fb0f668562e" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Viewer request Summarize the following paragraph: During such processes, cells sense the environment and respond to external factors that induce a certain direction of motion towards specific targets (taxis): this results in a persistent migration in a certain preferential direction. The guidance cues leading to directed migration may be biochemical or biophysical. Biochemical cues can be, for example, soluble factors or growth factors that give rise to chemotaxis, which involves a mono-directional stimulus. Other cues generating mono-directional stimuli include, for instance, bound ligands to the substratum that induce haptotaxis, durotaxis, that involves migration towards regions with an increasing stiffness of the ECM, electrotaxis, also known as galvanotaxis, that prescribes a directed motion guided by an electric field or current, or phototaxis, referring to the movement oriented by a stimulus of light [34]. Important biophysical cues are some of the properties of the extracellular matrix (ECM), first among all the alignment of collagen fibers and its stiffness. In particular, the fiber alignment is shown to stimulate contact guidance [22, 21].\n", "ChatGPT response: Cells have the ability to sense and respond to external factors, leading to migration in a specific direction. This directed migration can be influenced by biochemical cues such as soluble factors or growth factors, as well as biophysical cues like the alignment and stiffness of the extracellular matrix. Examples of mono-directional stimuli include chemotaxis, haptotaxis, durotaxis, electrotaxis, and phototaxis. The alignment of collagen fibers in the extracellular matrix is particularly important in stimulating contact guidance.\n" @@ -393,16 +393,16 @@ "cell_type": "code", "execution_count": 7, "metadata": { - "id": "V35q2q7Z5e6X", "colab": { "base_uri": "https://localhost:8080/" }, + "id": "V35q2q7Z5e6X", "outputId": "a4473c90-755d-4c4c-db85-69ef00e9b5c9" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Viewer request Explain this sentence: I don't use a false foot to move forward so I am not an amoeboid today.\n", "ChatGPT response: This sentence is an example of figurative language and can be interpreted metaphorically. \n", @@ -441,16 +441,16 @@ "cell_type": "code", "execution_count": 8, "metadata": { - "id": "l_J0HzHa7V83", "colab": { "base_uri": "https://localhost:8080/" }, + "id": "l_J0HzHa7V83", "outputId": "3428c570-0dbd-4d41-e284-a538faa68a99" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Viewer request English to French: Icing pucks is fun!\n", "ChatGPT response: Glaçage des rondelles est amusant !\n" @@ -481,16 +481,16 @@ "cell_type": "code", "execution_count": 9, "metadata": { - "id": "_HzIAAs19UOd", "colab": { "base_uri": "https://localhost:8080/" }, + "id": "_HzIAAs19UOd", "outputId": "131b4527-f757-4d79-cea4-d0f5a5964edc" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Viewer request French to English: Glaçage des rondelles est amusant!!\n", "ChatGPT response: Icing the rounds is fun!!\n" @@ -543,4 +543,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}