Socket
Socket
Sign inDemoInstall

langchain-core

Package Overview
Dependencies
17
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

dist/documents/document.cjs

2

dist/callbacks/base.d.ts

@@ -7,3 +7,3 @@ import type { ChainValues } from "../utils/types.js";

import type { SerializedFields } from "../load/map_keys.js";
import { Document } from "../documents.js";
import { Document } from "../documents/document.js";
type Error = any;

@@ -10,0 +10,0 @@ /**

@@ -8,3 +8,3 @@ import { AgentAction, AgentFinish } from "../agents.js";

import { Serialized } from "../load/serializable.js";
import { Document } from "../documents.js";
import { Document } from "../documents/document.js";
type BaseCallbackManagerMethods = {

@@ -11,0 +11,0 @@ [K in keyof CallbackHandlerMethods]?: (...args: Parameters<Required<CallbackHandlerMethods>[K]>) => Promise<unknown>;

@@ -1,2 +0,2 @@

import { Document } from "../documents.js";
import { Document } from "../documents/document.js";
import { BaseExampleSelector } from "./base.js";

@@ -3,0 +3,0 @@ function sortedValues(values) {

@@ -7,4 +7,3 @@ export * as agents from "../agents.js";

export * as chat_history from "../chat_history.js";
export * as documents from "../documents.js";
export * as document_transformers from "../document_transformers.js";
export * as documents from "../documents/index.js";
export * as embeddings from "../embeddings.js";

@@ -25,2 +24,3 @@ export * as example_selectors from "../example_selectors/index.js";

export * as stores from "../stores.js";
export * as tools from "../tools.js";
export * as tracers__base from "../tracers/base.js";

@@ -27,0 +27,0 @@ export * as tracers__console from "../tracers/console.js";

@@ -8,4 +8,3 @@ // Auto-generated by `scripts/create-entrypoints.js`. Do not edit manually.

export * as chat_history from "../chat_history.js";
export * as documents from "../documents.js";
export * as document_transformers from "../document_transformers.js";
export * as documents from "../documents/index.js";
export * as embeddings from "../embeddings.js";

@@ -26,2 +25,3 @@ export * as example_selectors from "../example_selectors/index.js";

export * as stores from "../stores.js";
export * as tools from "../tools.js";
export * as tracers__base from "../tracers/base.js";

@@ -28,0 +28,0 @@ export * as tracers__console from "../tracers/console.js";

import { BaseCallbackConfig, CallbackManagerForRetrieverRun, Callbacks } from "./callbacks/manager.js";
import { Document } from "./documents.js";
import { Document } from "./documents/document.js";
import { Runnable } from "./runnables/base.js";

@@ -4,0 +4,0 @@ import { RunnableConfig } from "./runnables/config.js";

@@ -8,3 +8,3 @@ import { KVMap, BaseRun } from "langsmith/schemas";

import { BaseCallbackHandler, BaseCallbackHandlerInput, HandleLLMNewTokenCallbackFields, NewTokenIndices } from "../callbacks/base.js";
import type { Document } from "../documents.js";
import type { Document } from "../documents/document.js";
export type RunType = string;

@@ -11,0 +11,0 @@ export interface Run extends BaseRun {

import type { Embeddings } from "./embeddings.js";
import type { Document } from "./documents.js";
import type { Document } from "./documents/document.js";
import { BaseRetriever, BaseRetrieverInput } from "./retrievers.js";

@@ -4,0 +4,0 @@ import { Serializable } from "./load/serializable.js";

@@ -1,1 +0,1 @@

export * from './dist/documents.js'
export * from './dist/documents/index.js'

@@ -1,1 +0,1 @@

export * from './dist/documents.js'
export * from './dist/documents/index.js'
{
"name": "langchain-core",
"version": "0.0.2",
"version": "0.0.3",
"description": "Typescript bindings for langchain",

@@ -42,3 +42,4 @@ "type": "module",

"p-retry": "4",
"uuid": "^9.0.0"
"uuid": "^9.0.0",
"zod": "^3.22.3"
},

@@ -116,7 +117,2 @@ "devDependencies": {

},
"./document_transformers": {
"types": "./document_transformers.d.ts",
"import": "./document_transformers.js",
"require": "./document_transformers.cjs"
},
"./embeddings": {

@@ -202,2 +198,7 @@ "types": "./embeddings.d.ts",

},
"./tools": {
"types": "./tools.d.ts",
"import": "./tools.js",
"require": "./tools.cjs"
},
"./tracers/base": {

@@ -308,5 +309,2 @@ "types": "./tracers/base.d.ts",

"documents.d.ts",
"document_transformers.cjs",
"document_transformers.js",
"document_transformers.d.ts",
"embeddings.cjs",

@@ -360,2 +358,5 @@ "embeddings.js",

"stores.d.ts",
"tools.cjs",
"tools.js",
"tools.d.ts",
"tracers/base.cjs",

@@ -362,0 +363,0 @@ "tracers/base.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc