mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-06-25 06:52:57 +00:00
* Remove all global settings state * chore: remove autogenerated class * chore: cleanup * chore: merge conflicts
12 lines
293 B
Python
12 lines
293 B
Python
"""FastAPI app creation, logger configuration and main API routes."""
|
|
|
|
import llama_index
|
|
|
|
from private_gpt.di import global_injector
|
|
from private_gpt.launcher import create_app
|
|
|
|
# Add LlamaIndex simple observability
|
|
llama_index.set_global_handler("simple")
|
|
|
|
app = create_app(global_injector)
|