Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame contribute delete
426 Bytes
package nfydest
import "context"
type Provider interface {
ID() string
TypeInfo(ctx context.Context) (*TypeInfo, error)
ValidateField(ctx context.Context, fieldID, value string) error
DisplayInfo(ctx context.Context, args map[string]string) (*DisplayInfo, error)
}
type DisplayInfo struct {
Text string
IconURL string
IconAltText string
LinkURL string
}
func (DisplayInfo) IsInlineDisplayInfo() {}