Repository navigation
Releases: NKTKLN/ai-notes-api
Releases · NKTKLN/ai-notes-api
Release list
AI Notes API v1.0.0
Added
- Document upload and management for chat sessions
- Document endpoints: upload, list, get, download, delete
- Document, document chunk model and table
- Document processing job model and table
- Document, document chunk and document processing job repositories
- Document schemas
- Document and document processing job services
- S3-compatible document storage (aioboto3)
- Document text extraction (markitdown) and token-based chunking ingestion module
- Async document processing job (Celery): extract, chunk, embed and persist chunks
- pgvector extension and vector embeddings for document chunks
- Vector similarity search over document chunks
- Document chunk service
- RAG prompt builder and naive RAG integration into the LLM service
- LLM context builder assembling memory and retrieved document context
- Document-related exceptions
Changed
- Decomposed LLM service into an injectable context builder
- Moved text extraction and chunking into a dedicated ingestion module
- Renamed LLM models module to schemas
- Renamed generation job service and added status helpers
- Replaced the MinIO SDK with aioboto3 and updated S3 config names
- Switched the PostgreSQL image to pgvector
- Added error responses to API endpoints
- Updated README (endpoints, ERD, badges, description, dependencies)
Tests
- Document, document chunk, document processing job, RAG query and RAG query source repository tests
- Document chunk service tests
- RAG service and prompt builder tests
- LLM context builder tests
- LLM service tests (tool calls, memory task, context builder)
AI Notes API v0.4.0
Added
- LLM tool registry and built-in toolkit
- Note tools: create, get by id, search, update, delete
- Toolkit integration into LLM service
- OpenAI integration client
- Separate embeddings client
- Chat memory model and table
- Chat memory repository, service and schemas
- Chat session memory endpoint
- Conversation summarizer
- Facts extractor service
- Memory prompt builder and prompts
- Async memory update job (Celery)
- Message
get_messages_afterrepository helper
Changed
- Split LLM client into completion and embeddings clients
- Isolated LLM service from message model
- Tools use note service instead of DB session
- Chat session to memory as one-to-one relation
- Updated README and environment variables
Security
- User-scoped chat memory access
Tests
- Tool registry, factory and models tests
- Built-in note tools tests
- Chat memory repository, service and endpoint tests
- Summarizer, extractor and prompt builder tests
- LLM embeddings client tests
- Message repository tests
AI Notes API v0.3.0
Added
- Chat sessions CRUD API
- Chat session messages listing
- Chat messages get/delete API
- Streaming chat completions (SSE)
- Async LLM generation jobs (Celery)
- Generation job status endpoint
- OpenAI async client
- Prompt builder with context limit
- Health check endpoint
- Redis broker and result backend
- Celery worker service
- Message soft-delete
Changed
- UUID primary keys instead of integer IDs
- Updated README and environment variables
Security
- Chat generation lock per session
- User-scoped chat and message access
Tests
- Chat session service, repository and API tests
- Message service and endpoint tests
- LLM service and streaming tests
- Generation job service and endpoint tests
- Chat lock tests
AI Notes API v0.2.0
Added
- User registration
- JWT authentication
- Current user endpoint
- Password hashing
- Note ownership
- Protected notes API
Security
- Passwords stored as hashes
- JWT access tokens
- User-scoped note access
Tests
- Auth flow tests
- Ownership tests
AI Notes API v0.1.0
Initial release.
Features:
- FastAPI backend
- PostgreSQL
- Async SQLAlchemy
- CRUD for notes
- Search and filtering
- Soft delete
- Docker Compose
- Alembic migrations
- Tests