Parcourir la source

Update VideoSummary.ipynb

sekyonda il y a 1 an
Parent
commit
662f527a61
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      demo_apps/VideoSummary.ipynb

+ 3 - 2
demo_apps/VideoSummary.ipynb

@@ -252,7 +252,8 @@
    "metadata": {},
    "source": [
     "\n",
-    "Let's try some workarounds to see if we can summarize the entire transcript without running into the `RuntimeError`.\n"
+    "Let's try some workarounds to see if we can summarize the entire transcript without running into the `RuntimeError`.\n",
+    "We will use the `load_summarize_chain` package from LangChain and change the `chain_type`.\n"
    ]
   },
   {
@@ -343,7 +344,7 @@
    "metadata": {},
    "source": [
     "\n",
-    "Since the transcript is bigger than the model can handle, we can split the transcript into chunks instead and use the [`refine`](https://python.langchain.com/docs/modules/chains/document/refine) `chain_type` iteratively to create an answer."
+    "Since the transcript is bigger than the model can handle, we can split the transcript into chunks instead and use the [`refine`](https://python.langchain.com/docs/modules/chains/document/refine) `chain_type` to iteratively create an answer."
    ]
   },
   {