Skip to content

lumilio-web / hooks/util-hooks/useLLM / useLLM

Function: useLLM()

useLLM(): UseLLMReturn

Defined in: hooks/util-hooks/useLLM.tsx:56

Custom hook for LLM interactions using the shared web worker client. It manages conversation state, streaming responses, and progress tracking. This hook must be used within a component tree wrapped by <WorkerProvider />.

Returns

UseLLMReturn

Hook state and actions for LLM interaction.

Author

Edwin Zhan

Since

1.1.0