View Source Indexer behaviour (fnord v0.5.0)
This behaviour wraps the AI-powered operations used by Cmd.Index
to allow
overrides for testing.
Summary
Types
Callbacks
@callback get_embeddings(indexer(), file_path()) :: embeddings() | error()
@callback get_outline(indexer(), file_path(), file_content()) :: completion() | error()
@callback get_summary(indexer(), file_path(), file_content()) :: completion() | error()
@callback new() :: indexer()