Huggingface.js documentation

@huggingface/agents

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

@huggingface/agents

Classes

Variables

defaultTools

Const defaultTools: Tool[]

Defined in

tools/index.ts:7


imageToTextTool

Const imageToTextTool: Tool

Defined in

tools/imageToText.ts:3


speechToTextTool

Const speechToTextTool: Tool

Defined in

tools/speechToText.ts:3


textToImageTool

Const textToImageTool: Tool

Defined in

tools/textToImage.ts:3


textToSpeechTool

Const textToSpeechTool: Tool

Defined in

tools/textToSpeech.ts:3

Functions

LLMFromEndpoint

LLMFromEndpoint(accessToken, endpoint): LLM

Parameters

Name Type
accessToken string
endpoint string

Returns

LLM

Defined in

llms/LLMHF.ts:22


LLMFromHub

LLMFromHub(accessToken?, model?): LLM

Parameters

Name Type
accessToken? string
model? string

Returns

LLM

Defined in

llms/LLMHF.ts:4