Skip to content

Commit

Permalink
refactor: move docs to ai from core
Browse files Browse the repository at this point in the history
  • Loading branch information
sroussey committed Jan 31, 2025
1 parent b8687cc commit b7ae548
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 12 deletions.
3 changes: 3 additions & 0 deletions packages/ai/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ export * from "./task";
export * from "./model/Model";
export * from "./model/ModelRegistry";
export * from "./model/ModelRepository";
export * from "./source/Document";
export * from "./source/DocumentConverterText";
export * from "./source/DocumentConverterMarkdown";
export * from "./provider/AiProviderRegistry";
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 2 additions & 9 deletions packages/ai/src/task/DocumentSplitterTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,8 @@
// * Licensed under the Apache License, Version 2.0 (the "License"); *
// *******************************************************************************

import {
Document,
DocumentFragment,
SingleTask,
TaskGraphBuilder,
TaskGraphBuilderHelper,
TaskRegistry,
} from "ellmers-core";

import { SingleTask, TaskGraphBuilder, TaskGraphBuilderHelper, TaskRegistry } from "ellmers-core";
import { Document, DocumentFragment } from "../source/Document";
export type DocumentSplitterTaskInput = {
parser: "txt" | "md";
file: Document;
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
// * Licensed under the Apache License, Version 2.0 (the "License"); *
// *******************************************************************************

export * from "./source/Document";
export * from "./source/DocumentConverterText";
export * from "./source/DocumentConverterMarkdown";
export * from "./task/index";
export * from "./storage/base/KVRepository";
export * from "./storage/taskoutput/TaskOutputRepository";
Expand Down

0 comments on commit b7ae548

Please sign in to comment.