View Source Indexer behaviour (fnord v0.4.37)
This behaviour wraps the AI-powered operations used by Cmd.Indexer
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()