MCPcopy Create free account
hub / github.com/TIGER-AI-Lab/TheoremExplainAgent / __init__

Method __init__

src/rag/rag_integration.py:33–47  ·  view source on GitHub ↗
(self, helper_model, output_dir, chroma_db_path, manim_docs_path, embedding_model, use_langfuse=True, session_id=None)

Source from the content-addressed store, hash-verified

31 """
32
33 def __init__(self, helper_model, output_dir, chroma_db_path, manim_docs_path, embedding_model, use_langfuse=True, session_id=None):
34 self.helper_model = helper_model
35 self.output_dir = output_dir
36 self.manim_docs_path = manim_docs_path
37 self.session_id = session_id
38 self.relevant_plugins = None
39
40 self.vector_store = RAGVectorStore(
41 chroma_db_path=chroma_db_path,
42 manim_docs_path=manim_docs_path,
43 embedding_model=embedding_model,
44 session_id=self.session_id,
45 use_langfuse=use_langfuse,
46 helper_model=helper_model
47 )
48
49 def set_relevant_plugins(self, plugins: List[str]) -> None:
50 """Set the relevant plugins for the current video.

Callers

nothing calls this directly

Calls 1

RAGVectorStoreClass · 0.90

Tested by

no test coverage detected