1
0
mirror of https://github.com/imartinez/privateGPT.git synced 2025-04-29 20:13:33 +00:00
privateGPT/private_gpt/main.py
Iván Martínez 45f05711eb
feat: Upgrade to LlamaIndex to 0.10 ()
* Extract optional dependencies

* Separate local mode into llms-llama-cpp and embeddings-huggingface for clarity

* Support Ollama embeddings

* Upgrade to llamaindex 0.10.14. Remove legacy use of ServiceContext in ContextChatEngine

* Fix vector retriever filters
2024-03-06 17:51:30 +01:00

7 lines
193 B
Python

"""FastAPI app creation, logger configuration and main API routes."""
from private_gpt.di import global_injector
from private_gpt.launcher import create_app
app = create_app(global_injector)