pull/660/head
Travis Fischer 2024-08-17 06:48:50 -05:00
rodzic 02b546d73f
commit bb8b4abbbd
5 zmienionych plików z 38 dodań i 39 usunięć

BIN
docs/media/bg.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 400 KiB

Wyświetl plik

@ -6,13 +6,14 @@
"light": "/media/agentic-logo-light.svg"
},
"favicon": "/media/favicon.svg",
"backgroundImage": "/media/bg.png",
"colors": {
"primary": "#DD5130",
"light": "#F76340",
"dark": "#DD5130",
"primary": "#0D969D",
"light": "#13D3DC",
"dark": "#0D969D",
"anchors": {
"from": "#DD5130",
"to": "#F76340"
"from": "#0D969D",
"to": "#13D3DC"
}
},
"topbarLinks": [

Wyświetl plik

@ -194,7 +194,7 @@ title: Quick Start
</AccordionGroup>
<Note>
You can use Agentic without any of these AI SDKs. `@agentic/core` and all tool packages are completely agnostic to the specific LLM and AI SDK.
You can use Agentic without any of these AI SDKs. `@agentic/core`, `@agentic/stdlib`, and all individual tool packages are completely agnostic to specific LLMs and AI SDKs.
</Note>
</Step>

Wyświetl plik

@ -4,7 +4,7 @@ description: People & company data enrichment.
---
<Warning>
People Data Labs tends to be more expensive than other similar data proviers.
People Data Labs tends to be more expensive than other similar data providers.
The author recommends you stay away from them.
</Warning>

Wyświetl plik

@ -2,37 +2,7 @@
title: Usage
---
## AI SDKs
<CardGroup cols={2}>
<Card title='Vercel AI SDK' href='/sdks/ai-sdk'>
Using Agentic with the Vercel AI SDK.
</Card>
<Card title='LangChain' href='/sdks/langchain'>
Using Agentic with LangChain.
</Card>
<Card title='LlamaIndex' href='/sdks/llamaindex'>
Using Agentic with LlamaIndex.
</Card>
<Card title='Firebase Genkit' href='/sdks/genkit'>
Using Agentic with Genkit.
</Card>
<Card title='Dexa Dexter' href='/sdks/dexter'>
Using Agentic with Dexter.
</Card>
<Card title='OpenAI' href='/sdks/openai'>
Using Agentic with OpenAI directly.
</Card>
</CardGroup>
## Tools
### TS Tool Usage
## TS Tool Usage
Agentic clients like `WeatherClient` can be used as normal TS classes:
@ -48,7 +18,7 @@ const result = await weather.getCurrentWeather({
console.log(result)
```
### LLM Tool Usage
## LLM Tool Usage
Or you can use these clients as **LLM-based tools** where the LLM decides when and how to invoke the underlying functions for you.
@ -122,3 +92,31 @@ All of the SDK adapters like `createDexterFunctions` accept very flexible `AIFun
- `AIFunction` - Individual functions (like `perigon.functions.get('search_news_stories')` or `serper.functions.get('serper_google_search')` or AI functions created directly via the `createAIFunction` utility function)
You can pass as many of these `AIFunctionLike` objects as you'd like and you can manipulate them as `AIFunctionSet` sets via `.pick`, `.omit`, `.get`, `.map`, etc.
## AI SDKs
<CardGroup cols={2}>
<Card title='Vercel AI SDK' href='/sdks/ai-sdk'>
Using Agentic with the Vercel AI SDK.
</Card>
<Card title='LangChain' href='/sdks/langchain'>
Using Agentic with LangChain.
</Card>
<Card title='LlamaIndex' href='/sdks/llamaindex'>
Using Agentic with LlamaIndex.
</Card>
<Card title='Firebase Genkit' href='/sdks/genkit'>
Using Agentic with Genkit.
</Card>
<Card title='Dexa Dexter' href='/sdks/dexter'>
Using Agentic with Dexter.
</Card>
<Card title='OpenAI' href='/sdks/openai'>
Using Agentic with OpenAI directly.
</Card>
</CardGroup>