# Create the Cohere rag retriever using the chat model
rag = CohereRagRetriever(llm=llm, connectors=[])
docs = rag.invoke(
    "Does LangChain support cohere RAG?",
    documents=[
        Document(
            page_content="LangChain supports cohere RAG!",
            metadata={"id": "id-1"},
        ),
        Document(
            page_content="The sky is blue!", metadata={"id": "id-2"}
        ),
    ],
)