pull/659/head
Travis Fischer 2024-08-04 07:18:34 -05:00
rodzic 7bda4b438e
commit d2b48c999e
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -126,12 +126,13 @@ You can pass as many of these `AIFunctionLike` objects as you'd like and you can
npm install @agentic/stdlib @agentic/core zod npm install @agentic/stdlib @agentic/core zod
``` ```
This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) and requires `Node.js >= 18` or an equivalent environment (bun, deno, CF workers, etc).
- `@agentic/core` - exports core AI utils and `@aiFunction` decorator - `@agentic/core` - exports core AI utils and `@aiFunction` decorator
- `@agentic/stdlib` - exports all of the built-in AI tools (convenience wrapper around the individual tool packages; see [Optimized Imports](#optimized-imports) if you'd rather import the individual packages directly) - `@agentic/stdlib` - exports all of the built-in AI tools (convenience wrapper around the individual tool packages; see [Optimized Imports](#optimized-imports) if you'd rather import the individual packages directly)
- `zod` - used for schema validation - `zod` - used for schema validation
> [!NOTE]
> This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) and requires `Node.js >= 18` or an equivalent environment (bun, deno, CF workers, etc).
### Optimized Imports ### Optimized Imports
`@agentic/stdlib` is just a convenience package which re-exports all of the built-in AI tool packages. If you want to optimize your imports, you can replace `@agentic/stdlib` with the specific AI tools you want. For example: `@agentic/stdlib` is just a convenience package which re-exports all of the built-in AI tool packages. If you want to optimize your imports, you can replace `@agentic/stdlib` with the specific AI tools you want. For example: