mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-04 19:06:51 +00:00
Added environment variable loading with dotenv in Ollama API
This commit is contained in:
parent
a927545b4b
commit
db9b4dc841
@ -11,6 +11,11 @@ from fastapi.responses import StreamingResponse
|
||||
import asyncio
|
||||
from ascii_colors import trace_exception
|
||||
from lightrag import LightRAG, QueryParam
|
||||
from dotenv import load_dotenv
|
||||
|
||||
|
||||
# Load environment variables
|
||||
load_dotenv()
|
||||
|
||||
|
||||
class OllamaServerInfos:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user