Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit ff792bb

Browse files
Merge pull request #132 from cohere-ai/pin-1
Pin notebooks to cohere<5
2 parents 66eca1d + 25d801d commit ff792bb

10 files changed

+12
-12
lines changed

notebooks/Analysis_of_Form_10_K_Using_Cohere_and_RAG.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"source": [
3333
"%%capture\n",
3434
"!sudo apt install tesseract-ocr poppler-utils\n",
35-
"!pip install cohere langchain llama-index llama-index-embeddings-cohere llama-index-postprocessor-cohere-rerank pytesseract pdf2image"
35+
"!pip install \"cohere<5\" langchain llama-index llama-index-embeddings-cohere llama-index-postprocessor-cohere-rerank pytesseract pdf2image"
3636
]
3737
},
3838
{

notebooks/Command_Model_Use_Case_Patterns.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
}
5858
],
5959
"source": [
60-
"! pip install cohere -q"
60+
"! pip install \"cohere<5\" -q"
6161
]
6262
},
6363
{

notebooks/Constructing_Prompt_Commands.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"outputs": [],
5252
"source": [
53-
"! pip install cohere -q"
53+
"! pip install \"cohere<5\" -q"
5454
]
5555
},
5656
{

notebooks/Document_Parsing_For_Enterprises.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"source": [
7878
"%%capture\n",
7979
"! sudo apt install tesseract-ocr poppler-utils\n",
80-
"! pip install cohere fsspec hnswlib google-cloud-documentai google-cloud-storage boto3 langchain-text-splitters llama_parse pytesseract pdf2image pandas\n"
80+
"! pip install \"cohere<5\" fsspec hnswlib google-cloud-documentai google-cloud-storage boto3 langchain-text-splitters llama_parse pytesseract pdf2image pandas\n"
8181
]
8282
},
8383
{

notebooks/Introduction_to_RAG.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
{
6767
"cell_type": "code",
6868
"source": [
69-
"! pip install cohere -q"
69+
"! pip install \"cohere<5\" -q"
7070
],
7171
"metadata": {
7272
"colab": {

notebooks/RAG_over_Large_Scale_Data.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
}
110110
],
111111
"source": [
112-
"! pip install cohere -q"
112+
"! pip install \"cohere<5\" -q"
113113
]
114114
},
115115
{

notebooks/RAG_with_Chat_Embed_and_Rerank.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
},
8484
"outputs": [],
8585
"source": [
86-
"! pip install cohere hnswlib unstructured -q"
86+
"! pip install \"cohere<5\" hnswlib unstructured -q"
8787
]
8888
},
8989
{

notebooks/RAG_with_Connectors.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
}
7676
],
7777
"source": [
78-
"! pip install cohere -q"
78+
"! pip install \"cohere<5\" -q"
7979
]
8080
},
8181
{

notebooks/RAG_with_Quickstart_Connectors.ipynb

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

notebooks/Summarization_Evals.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"outputs": [],
4949
"source": [
5050
"# %%capture\n",
51-
"!pip install cohere datasets --quiet"
51+
"!pip install \"cohere<5\" datasets --quiet"
5252
]
5353
},
5454
{

0 commit comments

Comments
 (0)