fleet-memory/hindsight-docs/docs/developer/api
Nicolò Boschi 224b7b74c1
feat: accept pdf, images and office files (#390)
* feat: accept pdf, images and office files

* refactor: rename FileConverter to FileParser, simplify file retain API

- Rename engine/converters/ → engine/parsers/, FileConverter → FileParser,
  ConverterRegistry → FileParserRegistry, MarkitdownConverter → MarkitdownParser
- Rename env var HINDSIGHT_API_FILE_CONVERTER → HINDSIGHT_API_FILE_PARSER
- Remove async/document_tags params from FileRetainRequest (always async now)
- Add retain_files() to Python Hindsight client and retainFiles() to TypeScript client
- Add sample.pdf to doc examples for working file upload demonstrations
- Update test_file_retain.py to use new parser names and always-async behavior
- Fix Go client missing os import in api_files.go
- Simplify postgresql.py storage to minimal schema

* fix: update rust CLI tests to use is_supported_file instead of is_text_file

* fix: patch Go api_files.go to add missing 'os' import after generation

* fix: insert 'os' import after 'net/url' in api_files.go patch for correct position

* chore: regenerate OpenAPI spec and clients (converter→parser description update)
2026-02-17 18:15:03 +01:00
..
documents.mdx doc: mental models (#199) 2026-01-26 14:27:08 +01:00
main-methods.mdx chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
memory-banks.mdx fix: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00
mental-models.mdx fix: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00
operations.md chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
quickstart.mdx doc: mental models (#199) 2026-01-26 14:27:08 +01:00
recall.mdx feat: allow chunks-only in recall (max_tokens=0) (#364) 2026-02-13 16:56:35 +01:00
reflect.mdx fix: misc fixes for observations and mental models (#209) 2026-01-27 15:37:57 +01:00
retain.mdx feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00