kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/715/head
rodzic
701f6a88cc
commit
0d11349eab
|
@ -83,16 +83,20 @@ yarn add @llamaindex/openai dotenv
|
|||
|
||||
## Running this example
|
||||
|
||||
<Note>
|
||||
You can view the full source for this example here:
|
||||
https://github.com/transitive-bullshit/agentic/tree/main/examples/ts-sdks/llamaindex
|
||||
</Note>
|
||||
You can view the full source for this example here: https://github.com/transitive-bullshit/agentic/tree/main/examples/ts-sdks/llamaindex
|
||||
|
||||
<Info>
|
||||
You'll need an [OpenAI API key](https://platform.openai.com/docs/quickstart)
|
||||
to run this example. Store it in a local `.env` file as `OPENAI_API_KEY`.
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
The
|
||||
[`@agentic/search`](https://agentic.so/marketplace/projects/@agentic/search)
|
||||
tool comes with a generous free tier, but once that runs out, you'll need to
|
||||
sign up for a paid plan and add an `AGENTIC_API_KEY` to your `.env` file.
|
||||
</Info>
|
||||
|
||||
```sh
|
||||
git clone git@github.com:transitive-bullshit/agentic.git
|
||||
cd agentic
|
||||
|
@ -102,13 +106,6 @@ echo 'OPENAI_API_KEY=your-key' >> .env
|
|||
npx tsx examples/ts-sdks/llamaindex/bin/weather.ts
|
||||
```
|
||||
|
||||
<Info>
|
||||
The
|
||||
[`@agentic/search`](https://agentic.so/marketplace/projects/@agentic/search)
|
||||
tool comes with a generous free tier, but once that runs out, you'll need to
|
||||
sign up for a paid plan and add an `AGENTIC_API_KEY` to your `.env` file.
|
||||
</Info>
|
||||
|
||||
## Additional resources
|
||||
|
||||
- [`@agentic/llamaindex` source](https://github.com/transitive-bullshit/agentic/blob/main/stdlib/llamaindex/src/llamaindex.ts)
|
||||
|
|
|
@ -90,6 +90,13 @@ https://github.com/transitive-bullshit/agentic/tree/main/examples/ts-sdks/mastra
|
|||
to run this example. Store it in a local `.env` file as `OPENAI_API_KEY`.
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
The
|
||||
[`@agentic/search`](https://agentic.so/marketplace/projects/@agentic/search)
|
||||
tool comes with a generous free tier, but once that runs out, you'll need to
|
||||
sign up for a paid plan and add an `AGENTIC_API_KEY` to your `.env` file.
|
||||
</Info>
|
||||
|
||||
```sh
|
||||
git clone git@github.com:transitive-bullshit/agentic.git
|
||||
cd agentic
|
||||
|
@ -99,13 +106,6 @@ echo 'OPENAI_API_KEY=your-key' >> .env
|
|||
npx tsx examples/ts-sdks/mastra/bin/weather.ts
|
||||
```
|
||||
|
||||
<Info>
|
||||
The
|
||||
[`@agentic/search`](https://agentic.so/marketplace/projects/@agentic/search)
|
||||
tool comes with a generous free tier, but once that runs out, you'll need to
|
||||
sign up for a paid plan and add an `AGENTIC_API_KEY` to your `.env` file.
|
||||
</Info>
|
||||
|
||||
## Additional resources
|
||||
|
||||
- [`@agentic/mastra` source](https://github.com/transitive-bullshit/agentic/blob/main/stdlib/mastra/src/mastra.ts)
|
||||
|
|
|
@ -94,16 +94,20 @@ await main()
|
|||
|
||||
## Running this example
|
||||
|
||||
<Note>
|
||||
You can view the full source for this example here:
|
||||
https://github.com/transitive-bullshit/agentic/tree/main/examples/ts-sdks/openai
|
||||
</Note>
|
||||
You can view the full source for this example here: https://github.com/transitive-bullshit/agentic/tree/main/examples/ts-sdks/openai
|
||||
|
||||
<Info>
|
||||
You'll need an [OpenAI API key](https://platform.openai.com/docs/quickstart)
|
||||
to run this example. Store it in a local `.env` file as `OPENAI_API_KEY`.
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
The
|
||||
[`@agentic/search`](https://agentic.so/marketplace/projects/@agentic/search)
|
||||
tool comes with a generous free tier, but once that runs out, you'll need to
|
||||
sign up for a paid plan and add an `AGENTIC_API_KEY` to your `.env` file.
|
||||
</Info>
|
||||
|
||||
```sh
|
||||
git clone git@github.com:transitive-bullshit/agentic.git
|
||||
cd agentic
|
||||
|
@ -113,13 +117,6 @@ echo 'OPENAI_API_KEY=your-key' >> .env
|
|||
npx tsx examples/ts-sdks/openai/bin/weather.ts
|
||||
```
|
||||
|
||||
<Info>
|
||||
The
|
||||
[`@agentic/search`](https://agentic.so/marketplace/projects/@agentic/search)
|
||||
tool comes with a generous free tier, but once that runs out, you'll need to
|
||||
sign up for a paid plan and add an `AGENTIC_API_KEY` to your `.env` file.
|
||||
</Info>
|
||||
|
||||
## Additional resources
|
||||
|
||||
- [OpenAI Chat Completions API docs](https://platform.openai.com/docs/api-reference/chat/create)
|
||||
|
|
|
@ -95,16 +95,20 @@ await main()
|
|||
|
||||
## Running this example
|
||||
|
||||
<Note>
|
||||
You can view the full source for this example here:
|
||||
https://github.com/transitive-bullshit/agentic/tree/main/examples/ts-sdks/openai
|
||||
</Note>
|
||||
You can view the full source for this example here: https://github.com/transitive-bullshit/agentic/tree/main/examples/ts-sdks/openai
|
||||
|
||||
<Info>
|
||||
You'll need an [OpenAI API key](https://platform.openai.com/docs/quickstart)
|
||||
to run this example. Store it in a local `.env` file as `OPENAI_API_KEY`.
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
The
|
||||
[`@agentic/search`](https://agentic.so/marketplace/projects/@agentic/search)
|
||||
tool comes with a generous free tier, but once that runs out, you'll need to
|
||||
sign up for a paid plan and add an `AGENTIC_API_KEY` to your `.env` file.
|
||||
</Info>
|
||||
|
||||
```sh
|
||||
git clone git@github.com:transitive-bullshit/agentic.git
|
||||
cd agentic
|
||||
|
@ -114,13 +118,6 @@ echo 'OPENAI_API_KEY=your-key' >> .env
|
|||
npx tsx examples/ts-sdks/openai/bin/weather-responses.ts
|
||||
```
|
||||
|
||||
<Info>
|
||||
The
|
||||
[`@agentic/search`](https://agentic.so/marketplace/projects/@agentic/search)
|
||||
tool comes with a generous free tier, but once that runs out, you'll need to
|
||||
sign up for a paid plan and add an `AGENTIC_API_KEY` to your `.env` file.
|
||||
</Info>
|
||||
|
||||
## Additional resources
|
||||
|
||||
- [OpenAI Chat Completions API docs](https://platform.openai.com/docs/api-reference/chat/create)
|
||||
|
|
Ładowanie…
Reference in New Issue