Skip to content

Commit 0f09304

Browse files
authored
Update method function in docs useLLM.md
1 parent 86899c0 commit 0f09304

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/docs/llms/useLLM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ await llama.generate(message);
144144

145145
## Listening for the response
146146

147-
As you might've noticed, there is no return value from the `runInference` function. Instead, the `.response` field of the model is updated with each token.
147+
As you might've noticed, there is no return value from the `generate` function. Instead, the `.response` field of the model is updated with each token.
148148
This is how you can render the response of the model:
149149

150150
```typescript

0 commit comments

Comments
 (0)