tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
3.76k stars 523 forks source link

huggingface examples #819

Open jhonroxton opened 2 months ago

jhonroxton commented 2 months ago

func (o *LLM) CreateEmbedding( ctx context.Context, inputTexts []string, model string, task string, ) ([][]float32, error) What does the parameter "task" represent? Can you provide an example?