An AI-powered API built with FastAPI and LangChain, designed for dental anatomy applications. It supports local LLMs via Ollama and integrates with OpenAI and DeepSeek APIs for advanced question-answering, educational tools, and clinical support. Ideal for dental students, educators, and healthcare developers.
- FastAPI-based RESTful API
- LangChain-powered reasoning
- Local LLM support via Ollama
- OpenAI and DeepSeek integration
- RAG (Retrieval-Augmented Generation)
- Focused on dental anatomy knowledge
This project uses Alembic for managing database schema migrations.
-
Ensure Alembic is installed:
pip install alembic
-
Make sure all your SQLAlchemy models are imported in alembic/env.py so Alembic can detect them.
-
Create a new migration (auto-detect model changes):
alembic revision --autogenerate -m "your descriptive message" -
Apply latest migrations to the database:
alembic upgrade head
-
Roll back the last migration:
alembic downgrade -1
-
View migration history:
alembic history