Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions environment_tests/test-exports-bun/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ export * from "langchain/evaluation";
export * from "langchain/smith";
export * from "langchain/runnables/remote";
export * from "langchain/indexes";
export * from "langchain/schema/query_constructor";
export * from "langchain/schema/prompt_template";
2 changes: 0 additions & 2 deletions environment_tests/test-exports-cf/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ export * from "langchain/evaluation";
export * from "langchain/smith";
export * from "langchain/runnables/remote";
export * from "langchain/indexes";
export * from "langchain/schema/query_constructor";
export * from "langchain/schema/prompt_template";
2 changes: 0 additions & 2 deletions environment_tests/test-exports-cjs/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ const evaluation = require("langchain/evaluation");
const smith = require("langchain/smith");
const runnables_remote = require("langchain/runnables/remote");
const indexes = require("langchain/indexes");
const schema_query_constructor = require("langchain/schema/query_constructor");
const schema_prompt_template = require("langchain/schema/prompt_template");
2 changes: 0 additions & 2 deletions environment_tests/test-exports-esbuild/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ import * as evaluation from "langchain/evaluation";
import * as smith from "langchain/smith";
import * as runnables_remote from "langchain/runnables/remote";
import * as indexes from "langchain/indexes";
import * as schema_query_constructor from "langchain/schema/query_constructor";
import * as schema_prompt_template from "langchain/schema/prompt_template";
2 changes: 0 additions & 2 deletions environment_tests/test-exports-esm/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ import * as evaluation from "langchain/evaluation";
import * as smith from "langchain/smith";
import * as runnables_remote from "langchain/runnables/remote";
import * as indexes from "langchain/indexes";
import * as schema_query_constructor from "langchain/schema/query_constructor";
import * as schema_prompt_template from "langchain/schema/prompt_template";
2 changes: 0 additions & 2 deletions environment_tests/test-exports-vercel/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ export * from "langchain/evaluation";
export * from "langchain/smith";
export * from "langchain/runnables/remote";
export * from "langchain/indexes";
export * from "langchain/schema/query_constructor";
export * from "langchain/schema/prompt_template";
2 changes: 0 additions & 2 deletions environment_tests/test-exports-vite/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ export * from "langchain/evaluation";
export * from "langchain/smith";
export * from "langchain/runnables/remote";
export * from "langchain/indexes";
export * from "langchain/schema/query_constructor";
export * from "langchain/schema/prompt_template";
154 changes: 0 additions & 154 deletions examples/src/chains/map_reduce_lcel.ts

This file was deleted.

3 changes: 1 addition & 2 deletions examples/src/retrievers/supabase_self_query.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { createClient } from "@supabase/supabase-js";

import { AttributeInfo } from "langchain/schema/query_constructor";
import { OpenAIEmbeddings, OpenAI } from "@langchain/openai";
import { SelfQueryRetriever } from "langchain/retrievers/self_query";
import { SupabaseTranslator } from "@langchain/community/structured_query/supabase";
Expand Down Expand Up @@ -53,7 +52,7 @@ const docs = [
* We also provide a description of each attribute and the type of the attribute.
* This is used to generate the query prompts.
*/
const attributeInfo: AttributeInfo[] = [
const attributeInfo = [
{
name: "genre",
description: "The genre of the movie",
Expand Down
22 changes: 0 additions & 22 deletions libs/langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1129,28 +1129,6 @@
},
"input": "./src/indexes/index.ts"
},
"./schema/query_constructor": {
"import": {
"types": "./dist/schema/query_constructor.d.ts",
"default": "./dist/schema/query_constructor.js"
},
"require": {
"types": "./dist/schema/query_constructor.d.cts",
"default": "./dist/schema/query_constructor.cjs"
},
"input": "./src/schema/query_constructor.ts"
},
"./schema/prompt_template": {
"import": {
"types": "./dist/schema/prompt_template.d.ts",
"default": "./dist/schema/prompt_template.js"
},
"require": {
"types": "./dist/schema/prompt_template.d.cts",
"default": "./dist/schema/prompt_template.cjs"
},
"input": "./src/schema/prompt_template.ts"
},
"./package.json": "./package.json"
}
}
2 changes: 0 additions & 2 deletions libs/langchain/src/load/import_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ export * as evaluation from "../evaluation/index.js";
export * as smith from "../smith/index.js";
export * as runnables__remote from "../runnables/remote.js";
export * as indexes from "../indexes/index.js";
export * as schema__query_constructor from "../schema/query_constructor.js";
export * as schema__prompt_template from "../schema/prompt_template.js";
import {
ChatOpenAI,
AzureChatOpenAI,
Expand Down
17 changes: 0 additions & 17 deletions libs/langchain/src/load/tests/cross_language.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,19 @@ const IMPORTANT_IMPORTS = JSON.parse(
);

const CURRENT_KNOWN_FAILURES = [
"langchain/schema/agent/AgentAction",
"langchain/schema/agent/AgentFinish",
"langchain/schema/prompt_template/BasePromptTemplate",
"langchain/schema/agent/AgentActionMessageLog",
"langchain/schema/agent/OpenAIToolAgentAction",
"langchain/prompts/chat/BaseMessagePromptTemplate",
"langchain/schema/output/ChatGeneration",
"langchain/schema/output/Generation",
"langchain/schema/document/Document",
"langchain/schema/runnable/DynamicRunnable",
"langchain/schema/prompt/PromptValue",
"langchain/llms/openai/BaseOpenAI",
"langchain/llms/openai/AzureOpenAI",
"langchain/llms/vertexai/VertexAI",
"langchain/llms/google_palm/GooglePalm",
"langchain/chat_models/azure_openai/AzureChatOpenAI",
"langchain/chat_models/google_palm/ChatGooglePalm",
"langchain/chat_models/vertexai/ChatVertexAI",
"langchain/schema/prompt_template/BaseChatPromptTemplate",
"langchain/prompts/few_shot_with_templates/FewShotPromptWithTemplates",
"langchain/prompts/base/StringPromptTemplate",
"langchain/prompts/chat/BaseStringMessagePromptTemplate",
"langchain/prompts/chat/ChatPromptValue",
"langchain/prompts/chat/ChatPromptValueConcrete",
"langchain/schema/runnable/HubRunnable",
"langchain/schema/runnable/RunnableBindingBase",
"langchain/schema/runnable/OpenAIFunctionsRouter",
"langchain/schema/runnable/RunnableEachBase",
"langchain/schema/runnable/RunnableConfigurableAlternatives",
"langchain/schema/runnable/RunnableConfigurableFields",
"langchain_core/agents/AgentAction",
"langchain_core/agents/AgentFinish",
"langchain_core/agents/AgentActionMessageLog",
Expand Down
Loading
Loading