@ai.ntellect/core 0.0.23 → 0.0.24
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/index.ts +5 -4
- package/llm/orchestrator/index.ts +2 -2
- package/llm/synthesizer/index.ts +2 -2
- package/package.json +1 -1
- package/types.ts +1 -1
package/index.ts
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
export * from "./
|
2
|
-
export * from "./
|
1
|
+
export * from "./agent";
|
2
|
+
export * from "./llm/orchestrator";
|
3
|
+
export * from "./llm/synthesizer";
|
4
|
+
|
3
5
|
export * from "./services/queue";
|
4
6
|
export * from "./types";
|
5
7
|
|
6
|
-
export * from "./memory";
|
7
|
-
export * from "./workflow";
|
8
|
+
export * from "./memory";
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { openai } from "@ai-sdk/openai";
|
2
2
|
import { generateObject } from "ai";
|
3
3
|
import { z } from "zod";
|
4
|
-
import { ActionSchema,
|
4
|
+
import { ActionSchema, BaseLLM } from "../../types";
|
5
5
|
import { orchestratorContext } from "./context";
|
6
6
|
|
7
|
-
export class Orchestrator implements
|
7
|
+
export class Orchestrator implements BaseLLM {
|
8
8
|
private readonly model = openai("gpt-4o-mini");
|
9
9
|
public tools: ActionSchema[];
|
10
10
|
|
package/llm/synthesizer/index.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { openai } from "@ai-sdk/openai";
|
2
2
|
import { generateObject, streamText, StreamTextResult } from "ai";
|
3
3
|
import { z } from "zod";
|
4
|
-
import {
|
4
|
+
import { BaseLLM } from "../../types";
|
5
5
|
import { summarizerContext } from "./context";
|
6
6
|
|
7
|
-
export class Summarizer implements
|
7
|
+
export class Summarizer implements BaseLLM {
|
8
8
|
private readonly model = openai("gpt-4-turbo");
|
9
9
|
|
10
10
|
async process(
|
package/package.json
CHANGED