> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-sandboxes-integrations-placement.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# startLLM

> Référence du SDK TypeScript

<div id="startllm">
  # startLLM
</div>

▸ **startLLM**(`opts`): [`LLM`](../classes/llm)

Démarre une span LLM enfant du tour de conversation actuel. Lève une exception si aucun tour de conversation n’est actif.

<div id="parameters">
  #### Paramètres
</div>

| Nom    | Type                               |
| :----- | :--------------------------------- |
| `opts` | [`LLMInit`](../interfaces/llminit) |

<div id="returns">
  #### Renvoie
</div>

[`LLM`](../classes/llm)

<div id="defined-in">
  #### Défini dans
</div>

[genai/api.ts:32](https://github.com/wandb/weave/blob/6538626556c93d6f31ae725fdefe4e6b8b71bc2c/sdks/node/src/genai/api.ts#L32)

***
