beeai-framework 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -130
- package/dist/adapters/amazon-bedrock/backend/chat.d.cts +1 -1
- package/dist/adapters/amazon-bedrock/backend/chat.d.ts +1 -1
- package/dist/adapters/amazon-bedrock/backend/embedding.d.cts +1 -1
- package/dist/adapters/amazon-bedrock/backend/embedding.d.ts +1 -1
- package/dist/adapters/anthropic/backend/chat.d.cts +1 -1
- package/dist/adapters/anthropic/backend/chat.d.ts +1 -1
- package/dist/adapters/anthropic/backend/embedding.d.cts +1 -1
- package/dist/adapters/anthropic/backend/embedding.d.ts +1 -1
- package/dist/adapters/azure-openai/backend/chat.d.cts +1 -1
- package/dist/adapters/azure-openai/backend/chat.d.ts +1 -1
- package/dist/adapters/azure-openai/backend/embedding.d.cts +1 -1
- package/dist/adapters/azure-openai/backend/embedding.d.ts +1 -1
- package/dist/adapters/dummy/backend/chat.d.cts +1 -1
- package/dist/adapters/dummy/backend/chat.d.ts +1 -1
- package/dist/adapters/dummy/backend/embedding.d.cts +1 -1
- package/dist/adapters/dummy/backend/embedding.d.ts +1 -1
- package/dist/adapters/google-vertex/backend/chat.d.cts +1 -1
- package/dist/adapters/google-vertex/backend/chat.d.ts +1 -1
- package/dist/adapters/google-vertex/backend/embedding.d.cts +1 -1
- package/dist/adapters/google-vertex/backend/embedding.d.ts +1 -1
- package/dist/adapters/groq/backend/chat.d.cts +1 -1
- package/dist/adapters/groq/backend/chat.d.ts +1 -1
- package/dist/adapters/groq/backend/client.cjs +3 -3
- package/dist/adapters/groq/backend/client.cjs.map +1 -1
- package/dist/adapters/groq/backend/client.d.cts +1 -1
- package/dist/adapters/groq/backend/client.d.ts +1 -1
- package/dist/adapters/groq/backend/client.js +3 -3
- package/dist/adapters/groq/backend/client.js.map +1 -1
- package/dist/adapters/groq/backend/embedding.d.cts +1 -1
- package/dist/adapters/groq/backend/embedding.d.ts +1 -1
- package/dist/adapters/langchain/backend/chat.d.cts +1 -1
- package/dist/adapters/langchain/backend/chat.d.ts +1 -1
- package/dist/adapters/langchain/backend/embedding.d.cts +1 -1
- package/dist/adapters/langchain/backend/embedding.d.ts +1 -1
- package/dist/adapters/langchain/tools.d.cts +1 -1
- package/dist/adapters/langchain/tools.d.ts +1 -1
- package/dist/adapters/ollama/backend/chat.d.cts +1 -1
- package/dist/adapters/ollama/backend/chat.d.ts +1 -1
- package/dist/adapters/ollama/backend/client.cjs +3 -3
- package/dist/adapters/ollama/backend/client.cjs.map +1 -1
- package/dist/adapters/ollama/backend/client.d.cts +1 -1
- package/dist/adapters/ollama/backend/client.d.ts +1 -1
- package/dist/adapters/ollama/backend/client.js +3 -3
- package/dist/adapters/ollama/backend/client.js.map +1 -1
- package/dist/adapters/ollama/backend/embedding.d.cts +1 -1
- package/dist/adapters/ollama/backend/embedding.d.ts +1 -1
- package/dist/adapters/openai/backend/chat.d.cts +1 -1
- package/dist/adapters/openai/backend/chat.d.ts +1 -1
- package/dist/adapters/openai/backend/embedding.d.cts +1 -1
- package/dist/adapters/openai/backend/embedding.d.ts +1 -1
- package/dist/adapters/vercel/backend/chat.d.cts +1 -1
- package/dist/adapters/vercel/backend/chat.d.ts +1 -1
- package/dist/adapters/vercel/backend/embedding.d.cts +1 -1
- package/dist/adapters/vercel/backend/embedding.d.ts +1 -1
- package/dist/adapters/watsonx/backend/chat.cjs +4 -7
- package/dist/adapters/watsonx/backend/chat.cjs.map +1 -1
- package/dist/adapters/watsonx/backend/chat.d.cts +1 -1
- package/dist/adapters/watsonx/backend/chat.d.ts +1 -1
- package/dist/adapters/watsonx/backend/chat.js +4 -7
- package/dist/adapters/watsonx/backend/chat.js.map +1 -1
- package/dist/adapters/watsonx/backend/embedding.d.cts +1 -1
- package/dist/adapters/watsonx/backend/embedding.d.ts +1 -1
- package/dist/{agent-Bks2fOUl.d.ts → agent-D9gpIPf2.d.ts} +2 -2
- package/dist/{agent-BbaHVlob.d.cts → agent-xmwFrFrh.d.cts} +2 -2
- package/dist/agents/base.d.cts +2 -2
- package/dist/agents/base.d.ts +2 -2
- package/dist/agents/bee/agent.d.cts +3 -3
- package/dist/agents/bee/agent.d.ts +3 -3
- package/dist/agents/bee/runners/base.d.cts +3 -3
- package/dist/agents/bee/runners/base.d.ts +3 -3
- package/dist/agents/bee/runners/deep-think/runner.d.cts +3 -3
- package/dist/agents/bee/runners/deep-think/runner.d.ts +3 -3
- package/dist/agents/bee/runners/default/runner.d.cts +3 -3
- package/dist/agents/bee/runners/default/runner.d.ts +3 -3
- package/dist/agents/bee/runners/granite/runner.d.cts +3 -3
- package/dist/agents/bee/runners/granite/runner.d.ts +3 -3
- package/dist/agents/bee/types.d.cts +1 -1
- package/dist/agents/bee/types.d.ts +1 -1
- package/dist/agents/experimental/replan/agent.d.cts +2 -2
- package/dist/agents/experimental/replan/agent.d.ts +2 -2
- package/dist/agents/experimental/replan/prompts.d.cts +1 -1
- package/dist/agents/experimental/replan/prompts.d.ts +1 -1
- package/dist/agents/experimental/streamlit/agent.d.cts +2 -2
- package/dist/agents/experimental/streamlit/agent.d.ts +2 -2
- package/dist/agents/types.d.cts +2 -2
- package/dist/agents/types.d.ts +2 -2
- package/dist/backend/backend.d.cts +1 -1
- package/dist/backend/backend.d.ts +1 -1
- package/dist/backend/chat.d.cts +1 -1
- package/dist/backend/chat.d.ts +1 -1
- package/dist/backend/core.d.cts +1 -1
- package/dist/backend/core.d.ts +1 -1
- package/dist/backend/embedding.d.cts +1 -1
- package/dist/backend/embedding.d.ts +1 -1
- package/dist/{base-Csr9guq2.d.cts → base-daM6fHUP.d.cts} +1 -1
- package/dist/{base-DHhpWHQm.d.ts → base-mmG-8Pk9.d.ts} +1 -1
- package/dist/context.d.cts +1 -1
- package/dist/context.d.ts +1 -1
- package/dist/emitter/emitter.d.cts +1 -1
- package/dist/emitter/emitter.d.ts +1 -1
- package/dist/emitter/types.d.cts +1 -1
- package/dist/emitter/types.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/instrumentation/create-telemetry-middleware.d.cts +1 -1
- package/dist/instrumentation/create-telemetry-middleware.d.ts +1 -1
- package/dist/instrumentation/helpers/utils.d.cts +1 -1
- package/dist/instrumentation/helpers/utils.d.ts +1 -1
- package/dist/internals/fetcher.d.cts +1 -1
- package/dist/internals/fetcher.d.ts +1 -1
- package/dist/internals/helpers/hash.cjs +5 -3
- package/dist/internals/helpers/hash.cjs.map +1 -1
- package/dist/internals/helpers/hash.js +5 -3
- package/dist/internals/helpers/hash.js.map +1 -1
- package/dist/memory/summarizeMemory.d.cts +1 -1
- package/dist/memory/summarizeMemory.d.ts +1 -1
- package/dist/parsers/linePrefix.d.cts +1 -1
- package/dist/parsers/linePrefix.d.ts +1 -1
- package/dist/tools/arxiv.d.cts +1 -1
- package/dist/tools/arxiv.d.ts +1 -1
- package/dist/tools/base.d.cts +1 -1
- package/dist/tools/base.d.ts +1 -1
- package/dist/tools/calculator.d.cts +1 -1
- package/dist/tools/calculator.d.ts +1 -1
- package/dist/tools/custom.d.cts +1 -1
- package/dist/tools/custom.d.ts +1 -1
- package/dist/tools/database/elasticsearch.d.cts +1 -1
- package/dist/tools/database/elasticsearch.d.ts +1 -1
- package/dist/tools/database/milvus.d.cts +1 -1
- package/dist/tools/database/milvus.d.ts +1 -1
- package/dist/tools/database/sql.d.cts +1 -1
- package/dist/tools/database/sql.d.ts +1 -1
- package/dist/tools/llm.d.cts +1 -1
- package/dist/tools/llm.d.ts +1 -1
- package/dist/tools/mcp.d.cts +1 -1
- package/dist/tools/mcp.d.ts +1 -1
- package/dist/tools/openapi.d.cts +1 -1
- package/dist/tools/openapi.d.ts +1 -1
- package/dist/tools/python/output.d.cts +1 -1
- package/dist/tools/python/output.d.ts +1 -1
- package/dist/tools/python/python.d.cts +1 -1
- package/dist/tools/python/python.d.ts +1 -1
- package/dist/tools/search/base.d.cts +1 -1
- package/dist/tools/search/base.d.ts +1 -1
- package/dist/tools/search/duckDuckGoSearch.d.cts +1 -1
- package/dist/tools/search/duckDuckGoSearch.d.ts +1 -1
- package/dist/tools/search/googleSearch.d.cts +1 -1
- package/dist/tools/search/googleSearch.d.ts +1 -1
- package/dist/tools/search/searXNGSearch.d.cts +1 -1
- package/dist/tools/search/searXNGSearch.d.ts +1 -1
- package/dist/tools/search/wikipedia.d.cts +1 -1
- package/dist/tools/search/wikipedia.d.ts +1 -1
- package/dist/tools/similarity.d.cts +1 -1
- package/dist/tools/similarity.d.ts +1 -1
- package/dist/tools/weather/openMeteo.d.cts +1 -1
- package/dist/tools/weather/openMeteo.d.ts +1 -1
- package/dist/tools/web/webCrawler.d.cts +1 -1
- package/dist/tools/web/webCrawler.d.ts +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/workflows/agent.d.cts +10 -10
- package/dist/workflows/agent.d.ts +10 -10
- package/dist/workflows/workflow.cjs +2 -2
- package/dist/workflows/workflow.cjs.map +1 -1
- package/dist/workflows/workflow.d.cts +1 -1
- package/dist/workflows/workflow.d.ts +1 -1
- package/dist/workflows/workflow.js +2 -2
- package/dist/workflows/workflow.js.map +1 -1
- package/package.json +9 -8
- package/dist/{emitter-l0W9gC1A.d.ts → emitter-BxVxGBbJ.d.ts} +1 -1
- package/dist/{emitter-BWtGHYn0.d.cts → emitter-C9EN5B0j.d.cts} +1 -1
package/README.md
CHANGED
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
<
|
|
2
|
-
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="/docs/assets/Bee_logo_white.svg">
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="/docs/assets/Bee_logo_black.svg">
|
|
5
|
-
<img alt="Bee Framework logo" height="90">
|
|
6
|
-
</picture>
|
|
7
|
-
</p>
|
|
1
|
+
# BeeAI Framework for TypeScript <img align="cener" alt="Project Status: Alpha" src="https://img.shields.io/badge/Status-Beta-blue">
|
|
8
2
|
|
|
9
|
-
|
|
3
|
+
[](https://github.com/i-am-bee/beeai-framework?tab=Apache-2.0-1-ov-file#readme)
|
|
4
|
+
[](https://bsky.app/profile/beeaiagents.bsky.social)
|
|
5
|
+
[](https://discord.com/invite/NradeA6ZNF)
|
|
6
|
+
[](https://github.com/i-am-bee/beeai-framework)
|
|
10
7
|
|
|
11
|
-
|
|
12
|
-
<img align="center" alt="Project Status: Alpha" src="https://img.shields.io/badge/Status-Alpha-red">
|
|
8
|
+
Build production-ready multi-agent systems in TypeScript. BeeAI framework is also available in [Python](https://github.com/i-am-bee/beeai-framework/tree/main/python).
|
|
13
9
|
|
|
14
|
-
|
|
15
|
-
</p>
|
|
10
|
+
## Modules
|
|
16
11
|
|
|
17
|
-
|
|
12
|
+
The source directory (`src`) contains the available modules:
|
|
18
13
|
|
|
19
|
-
|
|
14
|
+
| Name | Description |
|
|
15
|
+
| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
16
|
+
| [**agents**](/typescript/docs/agents.md) | Base classes defining the common interface for agent. |
|
|
17
|
+
| [**backend**](/typescript/docs/backend.md) | Functionalities that relates to AI models (chat, embedding, image, tool calling, ...) |
|
|
18
|
+
| [**template**](/typescript/docs/templates.md) | Prompt Templating system based on `Mustache` with various improvements. |
|
|
19
|
+
| [**memory**](/typescript/docs/memory.md) | Various types of memories to use with agent. |
|
|
20
|
+
| [**tools**](/typescript/docs/tools.md) | Tools that an agent can use. |
|
|
21
|
+
| [**cache**](/typescript/docs/cache.md) | Preset of different caching approaches that can be used together with tools. |
|
|
22
|
+
| [**errors**](/typescript/docs/errors.md) | Base framework error classes used by each module. |
|
|
23
|
+
| [**logger**](/typescript/docs/logger.md) | Core component for logging all actions within the framework. |
|
|
24
|
+
| [**serializer**](/typescript/docs/serialization.md) | Core component for the ability to serialize/deserialize modules into the serialized format. |
|
|
25
|
+
| [**version**](/typescript/docs/version.md) | Constants representing the framework (e.g., the latest version) |
|
|
26
|
+
| [**emitter**](/typescript/docs/emitter.md) | Bringing visibility to the system by emitting events. |
|
|
27
|
+
| [**instrumentation**](/typescript/docs/instrumentation.md) | Integrate monitoring tools into your application. |
|
|
20
28
|
|
|
21
|
-
|
|
22
|
-
- 🧠 **2025-01-28**: Added support for [DeepSeek R1](https://api-docs.deepseek.com/news/news250120), check out the [Competitive Analysis Workflow example](https://github.com/i-am-bee/beeai-framework/tree/main/examples/workflows/competitive-analysis)
|
|
23
|
-
- 🚀 **2025-01-09**:
|
|
24
|
-
- Introduced [Workflows](/docs/workflows.md), a way of building multi-agent systems.
|
|
25
|
-
- Added support for [Model Context Protocol](https://i-am-bee.github.io/beeai-framework/#/tools?id=using-the-mcptool-class), featured on the [official page](https://modelcontextprotocol.io/clients#beeai-framework).
|
|
26
|
-
- 🚀 **2024-12-09**: Added support for [LLaMa 3.3](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct).
|
|
27
|
-
- 🚀 **2024-11-21**: Added an experimental [Streamlit agent](https://github.com/i-am-bee/beeai-framework/blob/main/src/agents/experimental/streamlit/agent.ts).
|
|
29
|
+
## Installation
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
Install the framework using npm:
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
```shell
|
|
34
|
+
npm install beeai-framework
|
|
35
|
+
```
|
|
32
36
|
|
|
33
|
-
|
|
34
|
-
- 🚀 **Production-grade.** In an actual product, you have to reduce token spend through [memory strategies](/docs/memory.md), store and restore the agent state through [(de)serialization](/docs/serialization.md), generate [structured output](/examples/backend/structured.ts), or execute generated code in a [sandboxed environment](https://github.com/i-am-bee/bee-code-interpreter). Leave all that to Bee and focus on building!
|
|
35
|
-
- 🤗 **Built for open-source models.** Pick any LLM you want – including small and open-source models. The framework is designed to perform robustly with [Granite](https://www.ibm.com/granite/docs/) and [Llama 3.x](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct). A full agentic workflow can run on your laptop!
|
|
36
|
-
- 😢 **Bee cares about the sad path too.** Real-world applications encounter errors and failures. Bee lets you observe the full agent workflow through [events](/docs/emitter.md), collect [telemetry](/docs/instrumentation.md), [log](/docs/logger.md) diagnostic data, and throws clear and well-defined [exceptions](/docs/errors.md). Bees may be insects, but not bugs!
|
|
37
|
-
- 🌳 **A part of something greater.** Bee isn't just a framework, but a full ecosystem. Use [Bee UI](https://github.com/i-am-bee/bee-ui) to chat with your agents visually. [Bee Observe](https://github.com/i-am-bee/bee-observe) collects and manages telemetry. [Bee Code Interpreter](https://github.com/i-am-bee/bee-code-interpreter) runs generated code safely in a secure sandbox. The Bee ecosystem also integrates with [Model Context Protocol](https://i-am-bee.github.io/beeai-framework/#/tools?id=using-the-mcptool-class), allowing interoperability with the wider agent ecosystem!
|
|
37
|
+
or yarn:
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
```shell
|
|
40
|
+
yarn add beeai-framework
|
|
41
|
+
```
|
|
40
42
|
|
|
41
|
-
|
|
43
|
+
## Quick example
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
The following example demonstrates how to build a multi-agent workflow using the BeeAI Framework:
|
|
44
46
|
|
|
45
47
|
```ts
|
|
46
48
|
import "dotenv/config";
|
|
@@ -94,122 +96,37 @@ const { result } = await workflow.run(memory.messages).observe((emitter) => {
|
|
|
94
96
|
console.log(`Agent 🤖`, result.finalAnswer);
|
|
95
97
|
```
|
|
96
98
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
> [!TIP]
|
|
100
|
-
>
|
|
101
|
-
> 🚀 Would you like a fully set-up TypeScript project with Bee, Code Interpreter, and Observability? Check out our [Bee Framework Starter](https://github.com/i-am-bee/beeai-framework-starter).
|
|
99
|
+
### Running the example
|
|
102
100
|
|
|
103
|
-
> [!
|
|
101
|
+
> [!Note]
|
|
104
102
|
>
|
|
105
|
-
>
|
|
103
|
+
> To run this example, be sure that you have installed [groq](/typescript/docs/backend.md) and the appropriate .env files set up.
|
|
106
104
|
|
|
107
|
-
|
|
105
|
+
To run projects, use:
|
|
108
106
|
|
|
109
107
|
```shell
|
|
110
|
-
|
|
108
|
+
yarn start [project_name].ts
|
|
111
109
|
```
|
|
112
110
|
|
|
113
|
-
|
|
111
|
+
Using npm:
|
|
114
112
|
|
|
115
113
|
```shell
|
|
116
|
-
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
### Example
|
|
120
|
-
|
|
121
|
-
```ts
|
|
122
|
-
import { BeeAgent } from "beeai-framework/agents/bee/agent";
|
|
123
|
-
import { OllamaChatModel } from "beeai-framework/adapters/ollama/backend/chat";
|
|
124
|
-
import { TokenMemory } from "beeai-framework/memory/tokenMemory";
|
|
125
|
-
import { DuckDuckGoSearchTool } from "beeai-framework/tools/search/duckDuckGoSearch";
|
|
126
|
-
import { OpenMeteoTool } from "beeai-framework/tools/weather/openMeteo";
|
|
127
|
-
|
|
128
|
-
const llm = new OllamaChatModel("llama3.1"); // default is llama3.1 (8B), it is recommended to use 70B model
|
|
129
|
-
|
|
130
|
-
const agent = new BeeAgent({
|
|
131
|
-
llm, // for more explore 'beeai-framework/adapters'
|
|
132
|
-
memory: new TokenMemory(), // for more explore 'beeai-framework/memory'
|
|
133
|
-
tools: [new DuckDuckGoSearchTool(), new OpenMeteoTool()], // for more explore 'beeai-framework/tools'
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
const response = await agent
|
|
137
|
-
.run({ prompt: "What's the current weather in Las Vegas?" })
|
|
138
|
-
.observe((emitter) => {
|
|
139
|
-
emitter.on("update", async ({ data, update, meta }) => {
|
|
140
|
-
console.log(`Agent (${update.key}) 🤖 : `, update.value);
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
console.log(`Agent 🤖 : `, response.result.text);
|
|
114
|
+
npm run start [project_name].ts
|
|
145
115
|
```
|
|
146
116
|
|
|
147
|
-
➡️
|
|
148
|
-
|
|
149
|
-
➡️ you can run this example after local installation, using the command `yarn start examples/agents/simple.ts`
|
|
150
|
-
|
|
151
|
-
> [!TIP]
|
|
152
|
-
>
|
|
153
|
-
> To run this example, be sure that you have installed [ollama](https://ollama.com) with the [llama3.1](https://ollama.com/library/llama3.1) model downloaded.
|
|
154
|
-
|
|
155
|
-
> [!TIP]
|
|
156
|
-
>
|
|
157
|
-
> Documentation is available at https://i-am-bee.github.io/beeai-framework/
|
|
158
|
-
|
|
159
|
-
### Local Installation
|
|
160
|
-
|
|
161
|
-
> [!NOTE]
|
|
162
|
-
>
|
|
163
|
-
> `yarn` should be installed via Corepack ([tutorial](https://yarnpkg.com/corepack))
|
|
164
|
-
|
|
165
|
-
1. Clone the repository `git clone git@github.com:i-am-bee/beeai-framework`.
|
|
166
|
-
2. Install dependencies `yarn install --immutable && yarn prepare`.
|
|
167
|
-
3. Create `.env` (from `.env.template`) and fill in missing values (if any).
|
|
168
|
-
4. Start the agent `yarn run start:bee` (it runs `/examples/agents/bee.ts` file).
|
|
169
|
-
|
|
170
|
-
➡️ All examples can be found in the [examples](/examples) directory.
|
|
171
|
-
|
|
172
|
-
➡️ To run an arbitrary example, use the following command `yarn start examples/agents/bee.ts` (just pass the appropriate path to the desired example).
|
|
173
|
-
|
|
174
|
-
### 📦 Modules
|
|
175
|
-
|
|
176
|
-
The source directory (`src`) provides numerous modules that one can use.
|
|
177
|
-
|
|
178
|
-
| Name | Description |
|
|
179
|
-
| ---------------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
180
|
-
| [**agents**](/docs/agents.md) | Base classes defining the common interface for agent. |
|
|
181
|
-
| [**workflows**](/docs/workflows.md) | Build agentic applications in a declarative way via [workflows](/docs/workflows.md). |
|
|
182
|
-
| [**backend**](/docs/backend.md) | Functionalities that relates to AI models (chat, embedding, image, tool calling, ...) |
|
|
183
|
-
| [**template**](/docs/templates.md) | Prompt Templating system based on `Mustache` with various improvements. |
|
|
184
|
-
| [**memory**](/docs/memory.md) | Various types of memories to use with agent. |
|
|
185
|
-
| [**tools**](/docs/tools.md) | Tools that an agent can use. |
|
|
186
|
-
| [**cache**](/docs/cache.md) | Preset of different caching approaches that can be used together with tools. |
|
|
187
|
-
| [**errors**](/docs/errors.md) | Error classes and helpers to catch errors fast. |
|
|
188
|
-
| [**logger**](/docs/logger.md) | Core component for logging all actions within the framework. |
|
|
189
|
-
| [**serializer**](/docs/serialization.md) | Core component for the ability to serialize/deserialize modules into the serialized format. |
|
|
190
|
-
| [**version**](/docs/version.md) | Constants representing the framework (e.g., latest version) |
|
|
191
|
-
| [**emitter**](/docs/emitter.md) | Bringing visibility to the system by emitting events. |
|
|
192
|
-
| **internals** | Modules used by other modules within the framework. |
|
|
193
|
-
|
|
194
|
-
To see more in-depth explanation see [overview](/docs/overview.md).
|
|
195
|
-
|
|
196
|
-
## Roadmap
|
|
197
|
-
|
|
198
|
-
- Python version
|
|
199
|
-
- Multi-agent orchestration patterns
|
|
200
|
-
- Catalog of agents
|
|
117
|
+
➡️ Explore more in our [examples library](/typescript/examples).
|
|
201
118
|
|
|
202
119
|
## Contribution guidelines
|
|
203
120
|
|
|
204
|
-
The BeeAI Framework is an open-source project and we ❤️ contributions
|
|
121
|
+
The BeeAI Framework is an open-source project and we ❤️ contributions.<br>
|
|
205
122
|
|
|
206
|
-
If you'd like to
|
|
123
|
+
If you'd like to help build BeeAI, take a look at our [contribution guidelines](/typescript/docs/CONTRIBUTING.md).
|
|
207
124
|
|
|
208
|
-
|
|
125
|
+
## Bugs
|
|
209
126
|
|
|
210
|
-
We are using
|
|
127
|
+
We are using GitHub Issues to manage public bugs. We keep a close eye on this, so before filing a new issue, please check to make sure it hasn't already been logged.
|
|
211
128
|
|
|
212
|
-
|
|
129
|
+
## Code of conduct
|
|
213
130
|
|
|
214
131
|
This project and everyone participating in it are governed by the [Code of Conduct](./CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please read the [full text](./CODE_OF_CONDUCT.md) so that you can read which actions may or may not be tolerated.
|
|
215
132
|
|
|
@@ -219,7 +136,7 @@ All content in these repositories including code has been provided by IBM under
|
|
|
219
136
|
|
|
220
137
|
## Contributors
|
|
221
138
|
|
|
222
|
-
Special thanks to our contributors for helping us improve BeeAI Framework.
|
|
139
|
+
Special thanks to our contributors for helping us improve the BeeAI Framework.
|
|
223
140
|
|
|
224
141
|
<a href="https://github.com/i-am-bee/beeai-framework/graphs/contributors">
|
|
225
142
|
<img alt="Contributors list" src="https://contrib.rocks/image?repo=i-am-bee/beeai-framework" />
|
|
@@ -9,7 +9,7 @@ import '../../../backend/chat.cjs';
|
|
|
9
9
|
import '../../../backend/message.cjs';
|
|
10
10
|
import 'ai';
|
|
11
11
|
import '../../../context.cjs';
|
|
12
|
-
import '../../../emitter-
|
|
12
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
13
13
|
import '../../../internals/helpers/promise.cjs';
|
|
14
14
|
import '../../../errors.cjs';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -9,7 +9,7 @@ import '../../../backend/chat.js';
|
|
|
9
9
|
import '../../../backend/message.js';
|
|
10
10
|
import 'ai';
|
|
11
11
|
import '../../../context.js';
|
|
12
|
-
import '../../../emitter-
|
|
12
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
13
13
|
import '../../../internals/helpers/promise.js';
|
|
14
14
|
import '../../../errors.js';
|
|
15
15
|
import 'promise-based-task';
|
|
@@ -3,7 +3,7 @@ import { AmazonBedrockProvider } from '@ai-sdk/amazon-bedrock';
|
|
|
3
3
|
import { AmazonBedrockClient, AmazonBedrockClientSettings } from './client.cjs';
|
|
4
4
|
import '../../../backend/embedding.cjs';
|
|
5
5
|
import '../../../context.cjs';
|
|
6
|
-
import '../../../emitter-
|
|
6
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
@@ -3,7 +3,7 @@ import { AmazonBedrockProvider } from '@ai-sdk/amazon-bedrock';
|
|
|
3
3
|
import { AmazonBedrockClient, AmazonBedrockClientSettings } from './client.js';
|
|
4
4
|
import '../../../backend/embedding.js';
|
|
5
5
|
import '../../../context.js';
|
|
6
|
-
import '../../../emitter-
|
|
6
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
7
7
|
import '../../../internals/types.js';
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
@@ -8,7 +8,7 @@ import '../../../internals/types.cjs';
|
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import '../../../context.cjs';
|
|
11
|
-
import '../../../emitter-
|
|
11
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
12
12
|
import '../../../internals/helpers/promise.cjs';
|
|
13
13
|
import '../../../errors.cjs';
|
|
14
14
|
import 'promise-based-task';
|
|
@@ -8,7 +8,7 @@ import '../../../internals/types.js';
|
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import '../../../context.js';
|
|
11
|
-
import '../../../emitter-
|
|
11
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
12
12
|
import '../../../internals/helpers/promise.js';
|
|
13
13
|
import '../../../errors.js';
|
|
14
14
|
import 'promise-based-task';
|
|
@@ -3,7 +3,7 @@ import { AnthropicClientSettings, AnthropicClient } from './client.cjs';
|
|
|
3
3
|
import { AnthropicProvider } from '@ai-sdk/anthropic';
|
|
4
4
|
import '../../../backend/embedding.cjs';
|
|
5
5
|
import '../../../context.cjs';
|
|
6
|
-
import '../../../emitter-
|
|
6
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
@@ -3,7 +3,7 @@ import { AnthropicClientSettings, AnthropicClient } from './client.js';
|
|
|
3
3
|
import { AnthropicProvider } from '@ai-sdk/anthropic';
|
|
4
4
|
import '../../../backend/embedding.js';
|
|
5
5
|
import '../../../context.js';
|
|
6
|
-
import '../../../emitter-
|
|
6
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
7
7
|
import '../../../internals/types.js';
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
@@ -8,7 +8,7 @@ import '../../../internals/types.cjs';
|
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import '../../../context.cjs';
|
|
11
|
-
import '../../../emitter-
|
|
11
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
12
12
|
import '../../../internals/helpers/promise.cjs';
|
|
13
13
|
import '../../../errors.cjs';
|
|
14
14
|
import 'promise-based-task';
|
|
@@ -8,7 +8,7 @@ import '../../../internals/types.js';
|
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import '../../../context.js';
|
|
11
|
-
import '../../../emitter-
|
|
11
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
12
12
|
import '../../../internals/helpers/promise.js';
|
|
13
13
|
import '../../../errors.js';
|
|
14
14
|
import 'promise-based-task';
|
|
@@ -3,7 +3,7 @@ import { AzureOpenAIClient, AzureOpenAIClientSettings } from './client.cjs';
|
|
|
3
3
|
import { AzureOpenAIProvider } from '@ai-sdk/azure';
|
|
4
4
|
import '../../../backend/embedding.cjs';
|
|
5
5
|
import '../../../context.cjs';
|
|
6
|
-
import '../../../emitter-
|
|
6
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
@@ -3,7 +3,7 @@ import { AzureOpenAIClient, AzureOpenAIClientSettings } from './client.js';
|
|
|
3
3
|
import { AzureOpenAIProvider } from '@ai-sdk/azure';
|
|
4
4
|
import '../../../backend/embedding.js';
|
|
5
5
|
import '../../../context.js';
|
|
6
|
-
import '../../../emitter-
|
|
6
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
7
7
|
import '../../../internals/types.js';
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChatModel, ChatModelParameters, ChatModelEvents, ChatModelInput, ChatModelOutput, ChatModelCache } from '../../../backend/chat.cjs';
|
|
2
2
|
import { GetRunContext } from '../../../context.cjs';
|
|
3
|
-
import { E as Emitter } from '../../../emitter-
|
|
3
|
+
import { E as Emitter } from '../../../emitter-C9EN5B0j.cjs';
|
|
4
4
|
import '../../../backend/message.cjs';
|
|
5
5
|
import '../../../internals/serializable.cjs';
|
|
6
6
|
import '../../../internals/types.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChatModel, ChatModelParameters, ChatModelEvents, ChatModelInput, ChatModelOutput, ChatModelCache } from '../../../backend/chat.js';
|
|
2
2
|
import { GetRunContext } from '../../../context.js';
|
|
3
|
-
import { E as Emitter } from '../../../emitter-
|
|
3
|
+
import { E as Emitter } from '../../../emitter-BxVxGBbJ.js';
|
|
4
4
|
import '../../../backend/message.js';
|
|
5
5
|
import '../../../internals/serializable.js';
|
|
6
6
|
import '../../../internals/types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetRunContext } from '../../../context.cjs';
|
|
2
|
-
import { E as Emitter } from '../../../emitter-
|
|
2
|
+
import { E as Emitter } from '../../../emitter-C9EN5B0j.cjs';
|
|
3
3
|
import { EmbeddingModel, EmbeddingModelEvents, EmbeddingModelInput, EmbeddingModelOutput } from '../../../backend/embedding.cjs';
|
|
4
4
|
import '../../../internals/serializable.cjs';
|
|
5
5
|
import '../../../internals/types.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetRunContext } from '../../../context.js';
|
|
2
|
-
import { E as Emitter } from '../../../emitter-
|
|
2
|
+
import { E as Emitter } from '../../../emitter-BxVxGBbJ.js';
|
|
3
3
|
import { EmbeddingModel, EmbeddingModelEvents, EmbeddingModelInput, EmbeddingModelOutput } from '../../../backend/embedding.js';
|
|
4
4
|
import '../../../internals/serializable.js';
|
|
5
5
|
import '../../../internals/types.js';
|
|
@@ -8,7 +8,7 @@ import '../../../internals/types.cjs';
|
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import '../../../context.cjs';
|
|
11
|
-
import '../../../emitter-
|
|
11
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
12
12
|
import '../../../internals/helpers/promise.cjs';
|
|
13
13
|
import '../../../errors.cjs';
|
|
14
14
|
import 'promise-based-task';
|
|
@@ -8,7 +8,7 @@ import '../../../internals/types.js';
|
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import '../../../context.js';
|
|
11
|
-
import '../../../emitter-
|
|
11
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
12
12
|
import '../../../internals/helpers/promise.js';
|
|
13
13
|
import '../../../errors.js';
|
|
14
14
|
import 'promise-based-task';
|
|
@@ -7,7 +7,7 @@ import '../../../internals/types.cjs';
|
|
|
7
7
|
import '../../../internals/helpers/guards.cjs';
|
|
8
8
|
import '../../../backend/embedding.cjs';
|
|
9
9
|
import '../../../context.cjs';
|
|
10
|
-
import '../../../emitter-
|
|
10
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
11
11
|
import '../../../internals/helpers/promise.cjs';
|
|
12
12
|
import '../../../errors.cjs';
|
|
13
13
|
import '../../../backend/utils.cjs';
|
|
@@ -7,7 +7,7 @@ import '../../../internals/types.js';
|
|
|
7
7
|
import '../../../internals/helpers/guards.js';
|
|
8
8
|
import '../../../backend/embedding.js';
|
|
9
9
|
import '../../../context.js';
|
|
10
|
-
import '../../../emitter-
|
|
10
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
11
11
|
import '../../../internals/helpers/promise.js';
|
|
12
12
|
import '../../../errors.js';
|
|
13
13
|
import '../../../backend/utils.js';
|
|
@@ -8,7 +8,7 @@ import '../../../internals/types.cjs';
|
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import '../../../context.cjs';
|
|
11
|
-
import '../../../emitter-
|
|
11
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
12
12
|
import '../../../internals/helpers/promise.cjs';
|
|
13
13
|
import '../../../errors.cjs';
|
|
14
14
|
import 'promise-based-task';
|
|
@@ -8,7 +8,7 @@ import '../../../internals/types.js';
|
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import '../../../context.js';
|
|
11
|
-
import '../../../emitter-
|
|
11
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
12
12
|
import '../../../internals/helpers/promise.js';
|
|
13
13
|
import '../../../errors.js';
|
|
14
14
|
import 'promise-based-task';
|
|
@@ -10,11 +10,11 @@ class GroqClient extends client_cjs.BackendClient {
|
|
|
10
10
|
static {
|
|
11
11
|
__name(this, "GroqClient");
|
|
12
12
|
}
|
|
13
|
-
create(
|
|
13
|
+
create() {
|
|
14
14
|
return groq.createGroq({
|
|
15
|
-
...settings,
|
|
16
15
|
baseURL: env_cjs.getEnv("GROQ_API_BASE_URL"),
|
|
17
|
-
apiKey: env_cjs.getEnv("GROQ_API_KEY")
|
|
16
|
+
apiKey: env_cjs.getEnv("GROQ_API_KEY"),
|
|
17
|
+
...this.settings
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/adapters/groq/backend/client.ts"],"names":["GroqClient","BackendClient","create","
|
|
1
|
+
{"version":3,"sources":["../../../../src/adapters/groq/backend/client.ts"],"names":["GroqClient","BackendClient","create","createGroq","baseURL","getEnv","apiKey","settings"],"mappings":";;;;;;;;AAsBO,MAAMA,mBAAmBC,wBAAAA,CAAAA;EAtBhC;;;EAuBYC,MAAuB,GAAA;AAC/B,IAAA,OAAOC,eAAW,CAAA;AAChBC,MAAAA,OAAAA,EAASC,eAAO,mBAAA,CAAA;AAChBC,MAAAA,MAAAA,EAAQD,eAAO,cAAA,CAAA;AACf,MAAA,GAAG,IAAKE,CAAAA;KACV,CAAA;AACF;AACF","file":"client.cjs","sourcesContent":["/**\n * Copyright 2025 IBM Corp.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createGroq, GroqProvider, GroqProviderSettings } from \"@ai-sdk/groq\";\nimport { BackendClient } from \"@/backend/client.js\";\nimport { getEnv } from \"@/internals/env.js\";\n\nexport type GroqClientSettings = GroqProviderSettings;\n\nexport class GroqClient extends BackendClient<GroqClientSettings, GroqProvider> {\n protected create(): GroqProvider {\n return createGroq({\n baseURL: getEnv(\"GROQ_API_BASE_URL\"),\n apiKey: getEnv(\"GROQ_API_KEY\"),\n ...this.settings,\n });\n }\n}\n"]}
|
|
@@ -22,7 +22,7 @@ import '../../../internals/helpers/guards.cjs';
|
|
|
22
22
|
|
|
23
23
|
type GroqClientSettings = GroqProviderSettings;
|
|
24
24
|
declare class GroqClient extends BackendClient<GroqClientSettings, GroqProvider> {
|
|
25
|
-
protected create(
|
|
25
|
+
protected create(): GroqProvider;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export { GroqClient, type GroqClientSettings };
|
|
@@ -22,7 +22,7 @@ import '../../../internals/helpers/guards.js';
|
|
|
22
22
|
|
|
23
23
|
type GroqClientSettings = GroqProviderSettings;
|
|
24
24
|
declare class GroqClient extends BackendClient<GroqClientSettings, GroqProvider> {
|
|
25
|
-
protected create(
|
|
25
|
+
protected create(): GroqProvider;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export { GroqClient, type GroqClientSettings };
|
|
@@ -8,11 +8,11 @@ class GroqClient extends BackendClient {
|
|
|
8
8
|
static {
|
|
9
9
|
__name(this, "GroqClient");
|
|
10
10
|
}
|
|
11
|
-
create(
|
|
11
|
+
create() {
|
|
12
12
|
return createGroq({
|
|
13
|
-
...settings,
|
|
14
13
|
baseURL: getEnv("GROQ_API_BASE_URL"),
|
|
15
|
-
apiKey: getEnv("GROQ_API_KEY")
|
|
14
|
+
apiKey: getEnv("GROQ_API_KEY"),
|
|
15
|
+
...this.settings
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/adapters/groq/backend/client.ts"],"names":["GroqClient","BackendClient","create","
|
|
1
|
+
{"version":3,"sources":["../../../../src/adapters/groq/backend/client.ts"],"names":["GroqClient","BackendClient","create","createGroq","baseURL","getEnv","apiKey","settings"],"mappings":";;;;;;AAsBO,MAAMA,mBAAmBC,aAAAA,CAAAA;EAtBhC;;;EAuBYC,MAAuB,GAAA;AAC/B,IAAA,OAAOC,UAAW,CAAA;AAChBC,MAAAA,OAAAA,EAASC,OAAO,mBAAA,CAAA;AAChBC,MAAAA,MAAAA,EAAQD,OAAO,cAAA,CAAA;AACf,MAAA,GAAG,IAAKE,CAAAA;KACV,CAAA;AACF;AACF","file":"client.js","sourcesContent":["/**\n * Copyright 2025 IBM Corp.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createGroq, GroqProvider, GroqProviderSettings } from \"@ai-sdk/groq\";\nimport { BackendClient } from \"@/backend/client.js\";\nimport { getEnv } from \"@/internals/env.js\";\n\nexport type GroqClientSettings = GroqProviderSettings;\n\nexport class GroqClient extends BackendClient<GroqClientSettings, GroqProvider> {\n protected create(): GroqProvider {\n return createGroq({\n baseURL: getEnv(\"GROQ_API_BASE_URL\"),\n apiKey: getEnv(\"GROQ_API_KEY\"),\n ...this.settings,\n });\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import { GroqClientSettings, GroqClient } from './client.cjs';
|
|
|
3
3
|
import { GroqProvider } from '@ai-sdk/groq';
|
|
4
4
|
import '../../../backend/embedding.cjs';
|
|
5
5
|
import '../../../context.cjs';
|
|
6
|
-
import '../../../emitter-
|
|
6
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
@@ -3,7 +3,7 @@ import { GroqClientSettings, GroqClient } from './client.js';
|
|
|
3
3
|
import { GroqProvider } from '@ai-sdk/groq';
|
|
4
4
|
import '../../../backend/embedding.js';
|
|
5
5
|
import '../../../context.js';
|
|
6
|
-
import '../../../emitter-
|
|
6
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
7
7
|
import '../../../internals/types.js';
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
@@ -7,7 +7,7 @@ import '../../../internals/serializable.cjs';
|
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
9
9
|
import 'ai';
|
|
10
|
-
import '../../../emitter-
|
|
10
|
+
import '../../../emitter-C9EN5B0j.cjs';
|
|
11
11
|
import '../../../errors.cjs';
|
|
12
12
|
import 'promise-based-task';
|
|
13
13
|
import '../../../cache/base.cjs';
|
|
@@ -7,7 +7,7 @@ import '../../../internals/serializable.js';
|
|
|
7
7
|
import '../../../internals/types.js';
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
9
9
|
import 'ai';
|
|
10
|
-
import '../../../emitter-
|
|
10
|
+
import '../../../emitter-BxVxGBbJ.js';
|
|
11
11
|
import '../../../errors.js';
|
|
12
12
|
import 'promise-based-task';
|
|
13
13
|
import '../../../cache/base.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmbeddingModel, EmbeddingModelEvents, EmbeddingModelInput, EmbeddingModelOutput } from '../../../backend/embedding.cjs';
|
|
2
2
|
import { RunContext } from '../../../context.cjs';
|
|
3
|
-
import { E as Emitter } from '../../../emitter-
|
|
3
|
+
import { E as Emitter } from '../../../emitter-C9EN5B0j.cjs';
|
|
4
4
|
import { Embeddings } from '@langchain/core/embeddings';
|
|
5
5
|
import '../../../internals/serializable.cjs';
|
|
6
6
|
import '../../../internals/types.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmbeddingModel, EmbeddingModelEvents, EmbeddingModelInput, EmbeddingModelOutput } from '../../../backend/embedding.js';
|
|
2
2
|
import { RunContext } from '../../../context.js';
|
|
3
|
-
import { E as Emitter } from '../../../emitter-
|
|
3
|
+
import { E as Emitter } from '../../../emitter-BxVxGBbJ.js';
|
|
4
4
|
import { Embeddings } from '@langchain/core/embeddings';
|
|
5
5
|
import '../../../internals/serializable.js';
|
|
6
6
|
import '../../../internals/types.js';
|
|
@@ -4,7 +4,7 @@ import { BaseToolRunOptions, BaseToolOptions, JSONToolOutput, Tool, ToolEmitter,
|
|
|
4
4
|
import { GetRunContext } from '../../context.cjs';
|
|
5
5
|
import { RunnableConfig } from '@langchain/core/runnables';
|
|
6
6
|
import * as LCTools from '@langchain/core/tools';
|
|
7
|
-
import { E as Emitter } from '../../emitter-
|
|
7
|
+
import { E as Emitter } from '../../emitter-C9EN5B0j.cjs';
|
|
8
8
|
import '../../internals/serializable.cjs';
|
|
9
9
|
import '../../internals/types.cjs';
|
|
10
10
|
import '../../internals/helpers/guards.cjs';
|
|
@@ -4,7 +4,7 @@ import { BaseToolRunOptions, BaseToolOptions, JSONToolOutput, Tool, ToolEmitter,
|
|
|
4
4
|
import { GetRunContext } from '../../context.js';
|
|
5
5
|
import { RunnableConfig } from '@langchain/core/runnables';
|
|
6
6
|
import * as LCTools from '@langchain/core/tools';
|
|
7
|
-
import { E as Emitter } from '../../emitter-
|
|
7
|
+
import { E as Emitter } from '../../emitter-BxVxGBbJ.js';
|
|
8
8
|
import '../../internals/serializable.js';
|
|
9
9
|
import '../../internals/types.js';
|
|
10
10
|
import '../../internals/helpers/guards.js';
|