Indexer behaviour (fnord v0.7.14)
View SourceThis behaviour wraps the AI-powered operations used by Cmd.Index
to allow
overrides for testing. See impl/0
.
Summary
Types
Callbacks
@callback get_embeddings(indexer(), file_content()) :: 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()