SuperSCC.rag.ConnectRAG.run_rag

ConnectRAG.run_rag(llm_model, llm_api_key, llm_base_url, qdrant_kwgars={'k': 10})[source]

Initializes the RAG chain using the established connection to the vector store.

Parameters:
  • (str) (llm_base_url) – The name of the ChatOpenAI model for answer generation.

  • (str) – The API key for the LLM service.

  • (str) – The base URL for the LLM API endpoint.

  • (dict (qdrant_kwgars) – Keyword arguments for the retriever’s search function (e.g., {“k”: 10}). Defaults to {“k”: 10}.

  • optional) – Keyword arguments for the retriever’s search function (e.g., {“k”: 10}). Defaults to {“k”: 10}.