kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/659/head
rodzic
747995416d
commit
7bda4b438e
|
@ -128,6 +128,10 @@ 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).
|
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/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
|
||||||
|
|
||||||
### 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:
|
||||||
|
|
Ładowanie…
Reference in New Issue