begin rag project with llama index

This commit is contained in:
binary-husky
2024-08-21 14:24:37 +00:00
parent 16f4fd636e
commit 294716c832
7 changed files with 277 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
import llama_index
class rag_worker():
def __init__(self) -> None:
pass
def assign_embedding_model(self):
pass
def save_to_checkpoint(self):
pass
def load_from_checkpoint(self):
pass
def add_documents_to_vector_store(self, documents):
pass
def add_text_to_vector_store(self, documents):
pass
def inspect_vector_store(self):
pass
def retrieve_from_store_with_query(self, query):
pass
@staticmethod
def build_prompt(self):
pass