Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanGePlus/LightRAGTest
/ lightrag_api_openai_compatible_demo.py
File
lightrag_api_openai_compatible_demo.py
LightRAG/examples/lightrag_api_openai_compatible_demo.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
fastapi
import
FastAPI, HTTPException, File, UploadFile
2
from
pydantic
import
BaseModel
3
import
os
4
from
lightrag
import
LightRAG, QueryParam
Callers
nothing calls this directly
Calls
3
LightRAG
Class · 0.90
EmbeddingFunc
Class · 0.90
get_embedding_dim
Function · 0.70
Tested by
no test coverage detected