Skip to content

Commit

Permalink
Updated dependencies for agentic llm rag
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianboguszewski committed Jan 8, 2025
1 parent d93d1aa commit e8cd74a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
25 changes: 13 additions & 12 deletions ai_ref_kits/agentic_llm_rag/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
--extra-index-url https://download.pytorch.org/whl/cpu

openvino==2024.4.0
optimum-intel==1.19.0
optimum==1.22.0
nncf==2.13.0
openvino==2024.6.0
optimum-intel==1.21.0
optimum==1.23.3
nncf==2.14.1

llama-index==0.11.2
llama-index-llms-openvino==0.3.1
llama-index-embeddings-openvino==0.3.1
llama-index-postprocessor-openvino-rerank==0.3.0
llama-index-vector-stores-faiss==0.2.1
llama-index==0.12.9
llama-index-llms-openvino==0.4.0
llama-index-embeddings-openvino==0.5.1
llama-index-postprocessor-openvino-rerank==0.4.1
llama-index-vector-stores-faiss==0.3.0
faiss-cpu==1.9.0

# onnx>1.16.1 doesn't work on windows
onnx==1.16.1
onnxruntime==1.17.3
torch==2.4.1
torch==2.5.1

transformers==4.44.2
transformers==4.46.3
librosa==0.10.2
pyyaml==6.0.1
PyMuPDF==1.24.10

gradio==4.44.1
gradio==5.10.0
4 changes: 2 additions & 2 deletions ai_ref_kits/conversational_ai_chatbot/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ def synthesize(conversation: List[List[str]], audio: Tuple[int, np.ndarray]) ->
Chatbot voice response (audio)
"""
# if audio wasn't used in the conversation, return None
if not audio:
return None
# if not audio:
# return None

prompt = conversation[-1][1]

Expand Down

0 comments on commit e8cd74a

Please sign in to comment.