Documentation
¶
Overview ¶
Package attribution provides model-to-author mapping functionality across multiple providers. It supports three attribution modes to handle different provider scenarios:
- Provider-only: All models from a specific provider belong to an author
- Provider + patterns: Only matching models from a provider, then cross-provider attribution
- Global patterns: Direct pattern matching across all providers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributions ¶
type Attributions interface {
// Attribute attempts to match a model id to the author of a model. A model can have multiple authors.
// Returns the list of authors and true if any attributions were found.
Attribute(modelID string) ([]catalogs.AuthorID, bool)
}
Attributions defines the interface for model attribution functionality.
Click to show internal directories.
Click to hide internal directories.