You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Refactor examples and documentation for the AG-UI integration, includingrenaming and restructuring files for clarity and consistency. Thisincludes moving examples to a dedicated directory and updatingreferences in the documentation.Use Pydantic AI instead of PydanticAI for consistency.Fix import orders in the examples.
2. In the`typescript-sdk/integrations/pydantic-ai` directory, copy`.env-sample` to`.env`
29
-
3. Open itin your editor andset`OPENAI_API_KEY` to a valid OpenAI key
30
-
4. Open a terminalin the`typescript-sdk` directory
31
-
5. Run the Dojo app following the [official instructions](https://github.com/ag-ui-protocol/ag-ui/tree/main/typescript-sdk/apps/dojo#development-setup)
40
+
2. Change into to the`ag-ui/typescript-sdk` directory
3. Run the Dojo app following the [official instructions](https://github.com/ag-ui-protocol/ag-ui/tree/main/typescript-sdk/apps/dojo#development-setup)
Copy file name to clipboardExpand all lines: docs/tools.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ For more advanced use cases, the [toolsets](toolsets.md) feature lets you manage
17
17
!!! info "Function tools vs. RAG"
18
18
Function tools are basically the "R" of RAG (Retrieval-Augmented Generation) — they augment what the model can do by letting it request extra information.
19
19
20
-
The main semantic difference betweenPydanticAITools and RAG is RAG is synonymous with vector search, whilePydanticAI tools are more general-purpose. (Note: we may add support for vector search functionality in the future, particularly an API for generating embeddings. See [#58](https://github.com/pydantic/pydantic-ai/issues/58))
20
+
The main semantic difference betweenPydantic AITools and RAG is RAG is synonymous with vector search, whilePydantic AI tools are more general-purpose. (Note: we may add support for vector search functionality in the future, particularly an API for generating embeddings. See [#58](https://github.com/pydantic/pydantic-ai/issues/58))
21
21
22
22
!!! info "Function Tools vs. Structured Outputs"
23
23
As the name suggests, function tools use the model's "tools" or "functions" API to let the model know what is available to call. Tools or functions are also used to define the schema(s) for[structured output](output.md) when using the default[tool output mode](output.md#tool-output), thus a model might have access to many tools, some of which call function tools while others end the run and produce a final output.