54 + client = OpenAI(api_key="ragflow-api-key", base_url=f"http://ragflow_address/api/v1/chats_openai/<chat_id>") 55 + 56 + completion = client.chat.completions.create( 57 + model=model, 58 + messages=[ 59 + {"role": "system", "content": "You are a helpful assis...
infiniflow / ragflow Public Notifications Fork 3.7k Star 41.6k Code Issues 1.2k Pull requests 7 Discussions Actions Projects Security Insights New issue DOCS: add OpenAI-compatible http and python api reference #5374 Merged KevinHuSh merged 7 commits into infiniflow:main from yongteng...