Skip to content

AI Notes API v1.0.0

Latest

Choose a tag to compare

@NKTKLN NKTKLN released this 27 Jun 15:08

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)