Skip to content

AI Notes API v0.4.0

Choose a tag to compare

@NKTKLN NKTKLN released this 18 Jun 00:38
· 114 commits to main since this release
2a0a488

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_after repository 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