Skip to content

Commit

Permalink
chore(core): externalize @cfworker/json-schema dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jdanyow committed Dec 5, 2024
1 parent da149c5 commit 3676ba0
Show file tree
Hide file tree
Showing 17 changed files with 11 additions and 1,868 deletions.
1 change: 1 addition & 0 deletions langchain-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"author": "LangChain",
"license": "MIT",
"dependencies": {
"@cfworker/json-schema": "^4.0.0",
"ansi-styles": "^5.0.0",
"camelcase": "6",
"decamelize": "1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion langchain-core/src/output_parsers/transform.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { deepCompareStrict } from "@cfworker/json-schema";
import { BaseOutputParser } from "./base.js";
import {
type BaseMessage,
Expand All @@ -12,7 +13,6 @@ import {
GenerationChunk,
ChatGenerationChunk,
} from "../outputs.js";
import { deepCompareStrict } from "../utils/@cfworker/json-schema/index.js";

/**
* Class to parse the output of an LLM call that also allows streaming inputs.
Expand Down
9 changes: 0 additions & 9 deletions langchain-core/src/utils/@cfworker/json-schema/LICENSE.md

This file was deleted.

75 changes: 0 additions & 75 deletions langchain-core/src/utils/@cfworker/json-schema/README.md

This file was deleted.

1 change: 0 additions & 1 deletion langchain-core/src/utils/@cfworker/json-schema/index.ts

This file was deleted.

49 changes: 0 additions & 49 deletions langchain-core/src/utils/@cfworker/json-schema/package.json

This file was deleted.

This file was deleted.

190 changes: 0 additions & 190 deletions langchain-core/src/utils/@cfworker/json-schema/src/dereference.ts

This file was deleted.

Loading

0 comments on commit 3676ba0

Please sign in to comment.