# AI_Agent/chains/retrieval_chain.py class RetrievalChain: def __init__(self, vector_store): self.vs = vector_store async def run(self, prompt): results = self.vs.search(prompt, k=3) contexts = [r[0] for r in results] return {"contexts": contexts, "raw": results}