Documentation
¶
Index ¶
Constants ¶
View Source
const APIBaseURL = "https://api-inference.huggingface.co/pipeline/feature-extraction/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HuggingFaceEmbedder ¶ added in v0.0.9
type HuggingFaceEmbedder struct {
// contains filtered or unexported fields
}
func New ¶
func New() *HuggingFaceEmbedder
func (*HuggingFaceEmbedder) WithModel ¶ added in v0.0.9
func (h *HuggingFaceEmbedder) WithModel(model string) *HuggingFaceEmbedder
func (*HuggingFaceEmbedder) WithToken ¶ added in v0.0.9
func (h *HuggingFaceEmbedder) WithToken(token string) *HuggingFaceEmbedder
Click to show internal directories.
Click to hide internal directories.