edumatch commited on
Commit
273197f
·
verified ·
1 Parent(s): ce06f74

Update rag_utils.py

Browse files
Files changed (1) hide show
  1. rag_utils.py +5 -0
rag_utils.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  import faiss
2
  import pickle
3
  import numpy as np
 
1
+ from llama_index.core import SimpleDirectoryReader, VectorStoreIndex
2
+ from llama_index.llms.llama_cpp import LlamaCPP
3
+ from llama_index.llms.llama_cpp.llama_utils import (messages_to_prompt,completion_to_prompt,)
4
+
5
+
6
  import faiss
7
  import pickle
8
  import numpy as np