incubator-hugegraph-ai
incubator-hugegraph-ai copied to clipboard
feat(llm): support basic rag api(v1)
There may be 2 ways to integrate fastapi into the gradio app:
- use python client provided by Gradio
- encapsulate asynchronous HTTP call process
refer:
- https://www.gradio.app/guides/sharing-your-app
- https://www.gradio.app/guides/fastapi-app-with-the-gradio-client