This is a simple implementation of Contextual Retrieval by Anthropic in Langchain. rag_search.py contains the actual implementation main.py shows how to use it