RAGFlow Async SDK Documentation๏
The RAGFlow Async SDK provides a Pythonic, asynchronous interface to interact with RAGFlow services. All operations are designed to be asynchronous and easy to integrate into modern Python workflows.
Quick Start๏
๐ฟ Installation
Requires Python 3.10+.
pip install ragflow-async-sdk
๐ Getting Started
All operations in the RAGFlow Async SDK are asynchronous. To use the SDK, first initialize the client and then run async calls inside Pythonโs asyncio event loop.
๐ Initialization
from ragflow_async_sdk import AsyncRAGFlowClient
client = AsyncRAGFlowClient(
server_url="http://your-ragflow-address",
api_key="YOUR_API_KEY",
)
โฉ Run with asyncio
import asyncio
async def main():
# Example: Health check
system_health = await client.systems.healthz()
print(system_health.status)
# Run the async main function
asyncio.run(main())