Find answers from the community

Updated 2 years ago

Max function length

At a glance

The community member asked about the maximum length for a function description to be used by an agent. A comment suggests that the maximum length is around 2-3000 tokens, as any more would start to take up too much room for the chat history. However, the comment also notes that the maximum length may depend on how many tools/functions the agent has.

Hi all. Does anybody know what is the maximum length for a function description to be used by an agent?
L
1 comment
Hmm, depends on how many tools/functions you have.

One tool with 2-3000 tokens in the description is probably about the max. Any more and you start eat into the room for chat history quite a bit
Add a reply
Sign up and join the conversation on Discord