kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
old-agentic
rodzic
0509309e78
commit
4fb4658ff6
|
@ -135,11 +135,11 @@ Each AI SDK adapter has its own package which needs to be installed.
|
||||||
#### Vercel AI SDk
|
#### Vercel AI SDk
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>Install</summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @agentic/ai-sdk ai
|
npm install @agentic/ai-sdk ai
|
||||||
```
|
```
|
||||||
</summary>
|
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { createAISDKTools } from '@agentic/ai-sdk'
|
import { createAISDKTools } from '@agentic/ai-sdk'
|
||||||
|
@ -152,11 +152,11 @@ See [examples/ai-sdk](./examples/ai-sdk) for a full example.
|
||||||
#### LangChain
|
#### LangChain
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>Install</summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @agentic/langchain @langchain/core langchain
|
npm install @agentic/langchain @langchain/core langchain
|
||||||
```
|
```
|
||||||
</summary>
|
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { createLangChainTools } from '@agentic/langchain'
|
import { createLangChainTools } from '@agentic/langchain'
|
||||||
|
@ -169,11 +169,11 @@ See [examples/langchain](./examples/langchain) for a full example.
|
||||||
#### LlamaIndex
|
#### LlamaIndex
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>Install</summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @agentic/llamaindex llamaindex
|
npm install @agentic/llamaindex llamaindex
|
||||||
```
|
```
|
||||||
</summary>
|
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { createLlamaIndexTools } from '@agentic/llamaindex'
|
import { createLlamaIndexTools } from '@agentic/llamaindex'
|
||||||
|
@ -186,11 +186,11 @@ See [examples/llamaindex](./examples/llamaindex) for a full example.
|
||||||
#### Firebase Genkit
|
#### Firebase Genkit
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>Install</summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @agentic/genkit @genkit-ai/ai @genkit-ai/core
|
npm install @agentic/genkit @genkit-ai/ai @genkit-ai/core
|
||||||
```
|
```
|
||||||
</summary>
|
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { createGenkitTools } from '@agentic/genkit'
|
import { createGenkitTools } from '@agentic/genkit'
|
||||||
|
@ -203,11 +203,11 @@ See [examples/genkit](./examples/genkit) for a full example.
|
||||||
#### Dexa Dexter
|
#### Dexa Dexter
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>Install</summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @agentic/dexter @dexaai/dexter
|
npm install @agentic/dexter @dexaai/dexter
|
||||||
```
|
```
|
||||||
</summary>
|
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { createDexterFunctions } from '@agentic/dexter'
|
import { createDexterFunctions } from '@agentic/dexter'
|
||||||
|
@ -220,11 +220,11 @@ See [examples/dexter](./examples/dexter) for a full example.
|
||||||
#### OpenAI SDK
|
#### OpenAI SDK
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>Install</summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install openai
|
npm install openai
|
||||||
```
|
```
|
||||||
</summary>
|
|
||||||
|
|
||||||
There's no need for an adapter with the OpenAI SDK since all agentic tools are compatible with OpenAI by default. You can use `AIFunctionSet.specs` for function calling or `AIFunctionSet.toolSpecs` for parallel tool calling.
|
There's no need for an adapter with the OpenAI SDK since all agentic tools are compatible with OpenAI by default. You can use `AIFunctionSet.specs` for function calling or `AIFunctionSet.toolSpecs` for parallel tool calling.
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue