Guide on how to adopt new Anam features
brainType
parameter has been deprecated and
replaced with llmId
to support custom language models. Your existing
brainType
values will continue to work as llmId
for backwards
compatibility.brainType
in your persona configuration, you should update your code to use llmId
instead. This change enables support for custom language models while maintaining compatibility with existing brain types.
The benefits of this change are:
brainType
with llmId
in your persona configuration:
Previous brainType | New llmId | Description |
---|---|---|
0934d97d-0c3a-4f33-91b0-5e136a0ef466 | 0934d97d-0c3a-4f33-91b0-5e136a0ef466 | OpenAI GPT-4 Mini model |
ANAM_LLAMA_v3_3_70B_V1 | ANAM_LLAMA_v3_3_70B_V1 | Llama 3.3 70B model |
CUSTOMER_CLIENT_V1 | CUSTOMER_CLIENT_V1 | Client-side LLM processing |
createClient(sessionToken)
. Optionally you can still pass in client options such as disableInputAudio
to the client: createClient(sessionToken, { disableInputAudio: true })
.