diff --git a/ai_ref_kits/agentic_llm_rag/requirements.txt b/ai_ref_kits/agentic_llm_rag/requirements.txt index 70e2b8c2..48188cd4 100644 --- a/ai_ref_kits/agentic_llm_rag/requirements.txt +++ b/ai_ref_kits/agentic_llm_rag/requirements.txt @@ -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 diff --git a/ai_ref_kits/conversational_ai_chatbot/app.py b/ai_ref_kits/conversational_ai_chatbot/app.py index 9de93008..43b96cf6 100644 --- a/ai_ref_kits/conversational_ai_chatbot/app.py +++ b/ai_ref_kits/conversational_ai_chatbot/app.py @@ -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]