Skip to content

Commit 417793b

Browse files
committed
feat(ai): added concept
1 parent e8dffbc commit 417793b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ai-data/generative-apis/concepts.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ API rate limits define the maximum number of requests a user can make to the Gen
2020

2121
A context window is the maximum amount of prompt data considered by the model to generate a response. Using models with high context length, you can provide more information to generate relevant responses. The context is measured in tokens.
2222

23+
## Function calling
24+
25+
Function calling allows a language model (LLM) to interact with external tools or APIs, executing specific tasks based on user requests. The LLM identifies the appropriate function, extracts needed parameters, and returns the results as structured data, typically in JSON format.
26+
2327
## Embeddings
2428

2529
Embeddings are numerical representations of text data that capture semantic information in a dense vector format. In Generative APIs, embeddings are essential for tasks such as similarity matching, clustering, and serving as inputs for downstream models. These vectors enable the model to understand and generate text based on the underlying meaning rather than just the surface-level words.

ai-data/generative-apis/how-to/use-function-calling.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ if response.choices[0].message.tool_calls:
186186

187187
### Parallel function calling
188188

189+
<Message type="warning">
190+
Meta models do not support parallel tool calls.
191+
</Message>
192+
189193
In addition to one function call described above, you can also call multiple functions in a single turn.
190194
This section shows an example for how you can use parallel function calling.
191195

0 commit comments

Comments
 (0)