Skip to content

Commit

Permalink
fixed langchain version and added async fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Data-drone committed Sep 19, 2023
1 parent e3c08d8 commit b48c6f1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion 1.1_Evaluations.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@

# COMMAND ----------

%pip install llama_index==0.8.9
%pip install llama_index==0.8.9 langchain==0.0.284

# COMMAND ----------

dbutils.library.restartPython()

# COMMAND ----------

%autoawait asyncio
# COMMAND ----------

# MAGIC %md
# MAGIC # Intro to Llama Index
# MAGIC Much like langchain, llama_index is an orchestration layer for LLM logic \
Expand Down
2 changes: 1 addition & 1 deletion 1.2_Advanced_Chunking.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# COMMAND ----------

%pip install -U pymupdf unstructured["local-inference"] sqlalchemy 'git+https://github.com/facebookresearch/detectron2.git' poppler-utils ctransformers scrapy llama_index==0.8.9 opencv-python
%pip install -U pymupdf unstructured["local-inference"] sqlalchemy 'git+https://github.com/facebookresearch/detectron2.git' poppler-utils ctransformers scrapy llama_index==0.8.9 langchain==0.0.284 opencv-python

# COMMAND ----------

Expand Down
4 changes: 2 additions & 2 deletions 1.3_Evaluating_Embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# MAGIC for more info see: https://docs.arize.com/phoenix/

# COMMAND ----------

%pip install -U llama_index==0.8.9 "arize-phoenix[experimental]" pandas==1.5.3 faiss-cpu datashader bokeh holoviews scikit-image colorcet
# MAGIC # "arize-phoenix[experimental]" pandas==1.5.3
# MAGIC %pip install -U llama_index==0.8.9 langchain==0.0.284 faiss-cpu datashader bokeh holoviews scikit-image colorcet

# COMMAND ----------

Expand Down
2 changes: 1 addition & 1 deletion 1.4_Advanced_RAG.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# COMMAND ----------

# DBTITLE 1,Extra Libs to install
%pip install pypdf ctransformers unstructured["local-inference"] sqlalchemy 'git+https://github.com/facebookresearch/detectron2.git' poppler-utils scrapy llama_index==0.8.9 opencv-python chromadb==0.4.9
%pip install pypdf ctransformers unstructured["local-inference"] sqlalchemy 'git+https://github.com/facebookresearch/detectron2.git' poppler-utils scrapy llama_index==0.8.9 langchain==0.0.284 opencv-python chromadb==0.4.9

# COMMAND ----------

Expand Down

0 comments on commit b48c6f1

Please sign in to comment.