langchain 0.1.10 → 0.1.12
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/agents/format_scratchpad/log.d.cts +1 -0
- package/agents/format_scratchpad/log_to_message.d.cts +1 -0
- package/agents/format_scratchpad/openai_tools.d.cts +1 -0
- package/agents/format_scratchpad/xml.d.cts +1 -0
- package/agents/format_scratchpad.d.cts +1 -0
- package/agents/load.d.cts +1 -0
- package/agents/openai/output_parser.d.cts +1 -0
- package/agents/react/output_parser.d.cts +1 -0
- package/agents/toolkits/aws_sfn.d.cts +1 -0
- package/agents/toolkits/connery.d.cts +1 -0
- package/agents/toolkits/sql.d.cts +1 -0
- package/agents/toolkits.d.cts +1 -0
- package/agents/xml/output_parser.d.cts +1 -0
- package/agents.d.cts +1 -0
- package/base_language.d.cts +1 -0
- package/cache/cloudflare_kv.d.cts +1 -0
- package/cache/file_system.d.cts +1 -0
- package/cache/ioredis.d.cts +1 -0
- package/cache/momento.d.cts +1 -0
- package/cache/redis.d.cts +1 -0
- package/cache/upstash_redis.d.cts +1 -0
- package/cache.d.cts +1 -0
- package/callbacks/handlers/llmonitor.d.cts +1 -0
- package/callbacks.d.cts +1 -0
- package/chains/combine_documents/reduce.d.cts +1 -0
- package/chains/combine_documents.d.cts +1 -0
- package/chains/graph_qa/cypher.d.cts +1 -0
- package/chains/history_aware_retriever.d.cts +1 -0
- package/chains/load.d.cts +1 -0
- package/chains/openai_functions.d.cts +1 -0
- package/chains/query_constructor/ir.d.cts +1 -0
- package/chains/query_constructor.d.cts +1 -0
- package/chains/retrieval.d.cts +1 -0
- package/chains/sql_db.d.cts +1 -0
- package/chains.d.cts +1 -0
- package/chat_models/anthropic.d.cts +1 -0
- package/chat_models/baiduwenxin.d.cts +1 -0
- package/chat_models/base.d.cts +1 -0
- package/chat_models/bedrock/web.d.cts +1 -0
- package/chat_models/bedrock.d.cts +1 -0
- package/chat_models/cloudflare_workersai.d.cts +1 -0
- package/chat_models/fake.d.cts +1 -0
- package/chat_models/fireworks.d.cts +1 -0
- package/chat_models/googlepalm.d.cts +1 -0
- package/chat_models/googlevertexai/web.d.cts +1 -0
- package/chat_models/googlevertexai.d.cts +1 -0
- package/chat_models/iflytek_xinghuo/web.d.cts +1 -0
- package/chat_models/iflytek_xinghuo.d.cts +1 -0
- package/chat_models/llama_cpp.d.cts +1 -0
- package/chat_models/minimax.d.cts +1 -0
- package/chat_models/ollama.d.cts +1 -0
- package/chat_models/openai.d.cts +1 -0
- package/chat_models/portkey.d.cts +1 -0
- package/chat_models/yandex.d.cts +1 -0
- package/dist/chains/history_aware_retriever.d.ts +2 -2
- package/dist/chains/retrieval.d.ts +2 -2
- package/dist/document.cjs +0 -6
- package/dist/document.js +0 -6
- package/dist/document_loaders/web/confluence.cjs +20 -6
- package/dist/document_loaders/web/confluence.d.ts +14 -2
- package/dist/document_loaders/web/confluence.js +20 -6
- package/dist/experimental/prompts/custom_format.cjs +12 -2
- package/dist/experimental/prompts/custom_format.js +12 -2
- package/dist/load/import_map.cjs +16 -15
- package/dist/load/import_map.d.ts +1 -0
- package/dist/load/import_map.js +17 -16
- package/dist/load/import_type.cjs +3 -0
- package/dist/load/import_type.d.ts +8 -0
- package/dist/load/import_type.js +2 -0
- package/dist/util/entrypoint_deprecation.cjs +4 -1
- package/dist/util/entrypoint_deprecation.js +4 -1
- package/document.d.cts +1 -0
- package/document_loaders/base.d.cts +1 -0
- package/document_loaders/fs/buffer.d.cts +1 -0
- package/document_loaders/fs/chatgpt.d.cts +1 -0
- package/document_loaders/fs/csv.d.cts +1 -0
- package/document_loaders/fs/directory.d.cts +1 -0
- package/document_loaders/fs/docx.d.cts +1 -0
- package/document_loaders/fs/epub.d.cts +1 -0
- package/document_loaders/fs/json.d.cts +1 -0
- package/document_loaders/fs/notion.d.cts +1 -0
- package/document_loaders/fs/obsidian.d.cts +1 -0
- package/document_loaders/fs/openai_whisper_audio.d.cts +1 -0
- package/document_loaders/fs/pdf.d.cts +1 -0
- package/document_loaders/fs/pptx.d.cts +1 -0
- package/document_loaders/fs/srt.d.cts +1 -0
- package/document_loaders/fs/text.d.cts +1 -0
- package/document_loaders/fs/unstructured.d.cts +1 -0
- package/document_loaders/web/apify_dataset.d.cts +1 -0
- package/document_loaders/web/assemblyai.d.cts +1 -0
- package/document_loaders/web/azure_blob_storage_container.d.cts +1 -0
- package/document_loaders/web/azure_blob_storage_file.d.cts +1 -0
- package/document_loaders/web/cheerio.d.cts +1 -0
- package/document_loaders/web/college_confidential.d.cts +1 -0
- package/document_loaders/web/confluence.d.cts +1 -0
- package/document_loaders/web/figma.d.cts +1 -0
- package/document_loaders/web/gitbook.d.cts +1 -0
- package/document_loaders/web/github.d.cts +1 -0
- package/document_loaders/web/hn.d.cts +1 -0
- package/document_loaders/web/imsdb.d.cts +1 -0
- package/document_loaders/web/notionapi.d.cts +1 -0
- package/document_loaders/web/notiondb.d.cts +1 -0
- package/document_loaders/web/pdf.d.cts +1 -0
- package/document_loaders/web/playwright.d.cts +1 -0
- package/document_loaders/web/puppeteer.d.cts +1 -0
- package/document_loaders/web/recursive_url.d.cts +1 -0
- package/document_loaders/web/s3.d.cts +1 -0
- package/document_loaders/web/searchapi.d.cts +1 -0
- package/document_loaders/web/serpapi.d.cts +1 -0
- package/document_loaders/web/sonix_audio.d.cts +1 -0
- package/document_loaders/web/sort_xyz_blockchain.d.cts +1 -0
- package/document_loaders/web/youtube.d.cts +1 -0
- package/document_transformers/html_to_text.d.cts +1 -0
- package/document_transformers/mozilla_readability.d.cts +1 -0
- package/document_transformers/openai_functions.d.cts +1 -0
- package/embeddings/base.d.cts +1 -0
- package/embeddings/bedrock.d.cts +1 -0
- package/embeddings/cache_backed.d.cts +1 -0
- package/embeddings/cloudflare_workersai.d.cts +1 -0
- package/embeddings/cohere.d.cts +1 -0
- package/embeddings/fake.d.cts +1 -0
- package/embeddings/googlepalm.d.cts +1 -0
- package/embeddings/googlevertexai.d.cts +1 -0
- package/embeddings/gradient_ai.d.cts +1 -0
- package/embeddings/hf.d.cts +1 -0
- package/embeddings/hf_transformers.d.cts +1 -0
- package/embeddings/llama_cpp.d.cts +1 -0
- package/embeddings/minimax.d.cts +1 -0
- package/embeddings/ollama.d.cts +1 -0
- package/embeddings/openai.d.cts +1 -0
- package/embeddings/tensorflow.d.cts +1 -0
- package/embeddings/voyage.d.cts +1 -0
- package/evaluation.d.cts +1 -0
- package/experimental/autogpt.d.cts +1 -0
- package/experimental/babyagi.d.cts +1 -0
- package/experimental/chains/violation_of_expectations.d.cts +1 -0
- package/experimental/chat_models/anthropic_functions.d.cts +1 -0
- package/experimental/chat_models/bittensor.d.cts +1 -0
- package/experimental/chat_models/ollama_functions.d.cts +1 -0
- package/experimental/generative_agents.d.cts +1 -0
- package/experimental/hubs/makersuite/googlemakersuitehub.d.cts +1 -0
- package/experimental/llms/bittensor.d.cts +1 -0
- package/experimental/masking.d.cts +1 -0
- package/experimental/multimodal_embeddings/googlevertexai.d.cts +1 -0
- package/experimental/openai_assistant.d.cts +1 -0
- package/experimental/openai_files.d.cts +1 -0
- package/experimental/plan_and_execute.d.cts +1 -0
- package/experimental/prompts/custom_format.d.cts +1 -0
- package/experimental/prompts/handlebars.d.cts +1 -0
- package/experimental/tools/pyinterpreter.d.cts +1 -0
- package/graphs/neo4j_graph.d.cts +1 -0
- package/hub.d.cts +1 -0
- package/indexes.d.cts +1 -0
- package/llms/ai21.d.cts +1 -0
- package/llms/aleph_alpha.d.cts +1 -0
- package/llms/base.d.cts +1 -0
- package/llms/bedrock/web.d.cts +1 -0
- package/llms/bedrock.d.cts +1 -0
- package/llms/cloudflare_workersai.d.cts +1 -0
- package/llms/cohere.d.cts +1 -0
- package/llms/fake.d.cts +1 -0
- package/llms/fireworks.d.cts +1 -0
- package/llms/googlepalm.d.cts +1 -0
- package/llms/googlevertexai/web.d.cts +1 -0
- package/llms/googlevertexai.d.cts +1 -0
- package/llms/gradient_ai.d.cts +1 -0
- package/llms/hf.d.cts +1 -0
- package/llms/llama_cpp.d.cts +1 -0
- package/llms/load.d.cts +1 -0
- package/llms/ollama.d.cts +1 -0
- package/llms/openai.d.cts +1 -0
- package/llms/portkey.d.cts +1 -0
- package/llms/raycast.d.cts +1 -0
- package/llms/replicate.d.cts +1 -0
- package/llms/sagemaker_endpoint.d.cts +1 -0
- package/llms/watsonx_ai.d.cts +1 -0
- package/llms/writer.d.cts +1 -0
- package/llms/yandex.d.cts +1 -0
- package/load/serializable.d.cts +1 -0
- package/load.d.cts +1 -0
- package/memory/zep.d.cts +1 -0
- package/memory.d.cts +1 -0
- package/output_parsers/expression.d.cts +1 -0
- package/output_parsers.d.cts +1 -0
- package/package.json +1743 -293
- package/prompts/load.d.cts +1 -0
- package/prompts.d.cts +1 -0
- package/retrievers/amazon_kendra.d.cts +1 -0
- package/retrievers/chaindesk.d.cts +1 -0
- package/retrievers/contextual_compression.d.cts +1 -0
- package/retrievers/databerry.d.cts +1 -0
- package/retrievers/document_compressors/chain_extract.d.cts +1 -0
- package/retrievers/document_compressors/embeddings_filter.d.cts +1 -0
- package/retrievers/document_compressors.d.cts +1 -0
- package/retrievers/hyde.d.cts +1 -0
- package/retrievers/metal.d.cts +1 -0
- package/retrievers/multi_query.d.cts +1 -0
- package/retrievers/multi_vector.d.cts +1 -0
- package/retrievers/parent_document.d.cts +1 -0
- package/retrievers/remote.d.cts +1 -0
- package/retrievers/score_threshold.d.cts +1 -0
- package/retrievers/self_query/chroma.d.cts +1 -0
- package/retrievers/self_query/functional.d.cts +1 -0
- package/retrievers/self_query/pinecone.d.cts +1 -0
- package/retrievers/self_query/supabase.d.cts +1 -0
- package/retrievers/self_query/vectara.d.cts +1 -0
- package/retrievers/self_query/weaviate.d.cts +1 -0
- package/retrievers/self_query.d.cts +1 -0
- package/retrievers/supabase.d.cts +1 -0
- package/retrievers/tavily_search_api.d.cts +1 -0
- package/retrievers/time_weighted.d.cts +1 -0
- package/retrievers/vectara_summary.d.cts +1 -0
- package/retrievers/vespa.d.cts +1 -0
- package/retrievers/zep.d.cts +1 -0
- package/runnables/remote.d.cts +1 -0
- package/runnables.d.cts +1 -0
- package/schema/document.d.cts +1 -0
- package/schema/output_parser.d.cts +1 -0
- package/schema/prompt_template.d.cts +1 -0
- package/schema/query_constructor.d.cts +1 -0
- package/schema/retriever.d.cts +1 -0
- package/schema/runnable.d.cts +1 -0
- package/schema/storage.d.cts +1 -0
- package/schema.d.cts +1 -0
- package/smith.d.cts +1 -0
- package/sql_db.d.cts +1 -0
- package/storage/convex.d.cts +1 -0
- package/storage/encoder_backed.d.cts +1 -0
- package/storage/file_system.d.cts +1 -0
- package/storage/in_memory.d.cts +1 -0
- package/storage/ioredis.d.cts +1 -0
- package/storage/upstash_redis.d.cts +1 -0
- package/storage/vercel_kv.d.cts +1 -0
- package/stores/doc/gcs.d.cts +1 -0
- package/stores/doc/in_memory.d.cts +1 -0
- package/stores/file/in_memory.d.cts +1 -0
- package/stores/file/node.d.cts +1 -0
- package/stores/message/cassandra.d.cts +1 -0
- package/stores/message/cloudflare_d1.d.cts +1 -0
- package/stores/message/convex.d.cts +1 -0
- package/stores/message/dynamodb.d.cts +1 -0
- package/stores/message/firestore.d.cts +1 -0
- package/stores/message/in_memory.d.cts +1 -0
- package/stores/message/ioredis.d.cts +1 -0
- package/stores/message/momento.d.cts +1 -0
- package/stores/message/mongodb.d.cts +1 -0
- package/stores/message/planetscale.d.cts +1 -0
- package/stores/message/redis.d.cts +1 -0
- package/stores/message/upstash_redis.d.cts +1 -0
- package/stores/message/xata.d.cts +1 -0
- package/text_splitter.d.cts +1 -0
- package/tools/aws_lambda.d.cts +1 -0
- package/tools/aws_sfn.d.cts +1 -0
- package/tools/calculator.d.cts +1 -0
- package/tools/chain.d.cts +1 -0
- package/tools/connery.d.cts +1 -0
- package/tools/gmail.d.cts +1 -0
- package/tools/google_calendar.d.cts +1 -0
- package/tools/google_places.d.cts +1 -0
- package/tools/render.d.cts +1 -0
- package/tools/retriever.d.cts +1 -0
- package/tools/sql.d.cts +1 -0
- package/tools/webbrowser.d.cts +1 -0
- package/tools.d.cts +1 -0
- package/util/convex.d.cts +1 -0
- package/util/document.d.cts +1 -0
- package/util/math.d.cts +1 -0
- package/util/time.d.cts +1 -0
- package/vectorstores/analyticdb.d.cts +1 -0
- package/vectorstores/base.d.cts +1 -0
- package/vectorstores/cassandra.d.cts +1 -0
- package/vectorstores/chroma.d.cts +1 -0
- package/vectorstores/clickhouse.d.cts +1 -0
- package/vectorstores/closevector/node.d.cts +1 -0
- package/vectorstores/closevector/web.d.cts +1 -0
- package/vectorstores/cloudflare_vectorize.d.cts +1 -0
- package/vectorstores/convex.d.cts +1 -0
- package/vectorstores/elasticsearch.d.cts +1 -0
- package/vectorstores/faiss.d.cts +1 -0
- package/vectorstores/googlevertexai.d.cts +1 -0
- package/vectorstores/hnswlib.d.cts +1 -0
- package/vectorstores/lancedb.d.cts +1 -0
- package/vectorstores/memory.d.cts +1 -0
- package/vectorstores/milvus.d.cts +1 -0
- package/vectorstores/momento_vector_index.d.cts +1 -0
- package/vectorstores/mongo.d.cts +1 -0
- package/vectorstores/mongodb_atlas.d.cts +1 -0
- package/vectorstores/myscale.d.cts +1 -0
- package/vectorstores/neo4j_vector.d.cts +1 -0
- package/vectorstores/opensearch.d.cts +1 -0
- package/vectorstores/pgvector.d.cts +1 -0
- package/vectorstores/pinecone.d.cts +1 -0
- package/vectorstores/prisma.d.cts +1 -0
- package/vectorstores/qdrant.d.cts +1 -0
- package/vectorstores/redis.d.cts +1 -0
- package/vectorstores/rockset.d.cts +1 -0
- package/vectorstores/singlestore.d.cts +1 -0
- package/vectorstores/supabase.d.cts +1 -0
- package/vectorstores/tigris.d.cts +1 -0
- package/vectorstores/typeorm.d.cts +1 -0
- package/vectorstores/typesense.d.cts +1 -0
- package/vectorstores/usearch.d.cts +1 -0
- package/vectorstores/vectara.d.cts +1 -0
- package/vectorstores/vercel_postgres.d.cts +1 -0
- package/vectorstores/voy.d.cts +1 -0
- package/vectorstores/weaviate.d.cts +1 -0
- package/vectorstores/xata.d.cts +1 -0
- package/vectorstores/zep.d.cts +1 -0
package/dist/load/import_map.js
CHANGED
|
@@ -9,6 +9,7 @@ export * as agents__format_scratchpad__log_to_message from "../agents/format_scr
|
|
|
9
9
|
export * as agents__react__output_parser from "../agents/react/output_parser.js";
|
|
10
10
|
export * as agents__xml__output_parser from "../agents/xml/output_parser.js";
|
|
11
11
|
export * as agents__openai__output_parser from "../agents/openai/output_parser.js";
|
|
12
|
+
export * as tools__chain from "../tools/chain.js";
|
|
12
13
|
export * as tools__render from "../tools/render.js";
|
|
13
14
|
export * as tools__retriever from "../tools/retriever.js";
|
|
14
15
|
export * as chains from "../chains/index.js";
|
|
@@ -66,28 +67,28 @@ export * as smith from "../smith/index.js";
|
|
|
66
67
|
export * as runnables__remote from "../runnables/remote.js";
|
|
67
68
|
export * as indexes from "../indexes/index.js";
|
|
68
69
|
import { ChatOpenAI, OpenAI, OpenAIEmbeddings } from "@langchain/openai";
|
|
69
|
-
import { PromptTemplate, AIMessagePromptTemplate, ChatMessagePromptTemplate, ChatPromptTemplate, HumanMessagePromptTemplate, MessagesPlaceholder, SystemMessagePromptTemplate, PipelinePromptTemplate } from "@langchain/core/prompts";
|
|
70
|
-
import { AIMessage, AIMessageChunk, BaseMessage, BaseMessageChunk, ChatMessage, ChatMessageChunk, FunctionMessage, FunctionMessageChunk, HumanMessage, HumanMessageChunk, SystemMessage, SystemMessageChunk, ToolMessage, ToolMessageChunk } from "@langchain/core/messages";
|
|
70
|
+
import { PromptTemplate, AIMessagePromptTemplate, ChatMessagePromptTemplate, ChatPromptTemplate, HumanMessagePromptTemplate, MessagesPlaceholder, SystemMessagePromptTemplate, PipelinePromptTemplate, } from "@langchain/core/prompts";
|
|
71
|
+
import { AIMessage, AIMessageChunk, BaseMessage, BaseMessageChunk, ChatMessage, ChatMessageChunk, FunctionMessage, FunctionMessageChunk, HumanMessage, HumanMessageChunk, SystemMessage, SystemMessageChunk, ToolMessage, ToolMessageChunk, } from "@langchain/core/messages";
|
|
71
72
|
import { StringPromptValue } from "@langchain/core/prompt_values";
|
|
72
|
-
import { RouterRunnable, RunnableAssign, RunnableBinding, RunnableBranch, RunnableEach, RunnableMap, RunnableParallel, RunnablePassthrough, RunnablePick, RunnableRetry, RunnableSequence, RunnableWithFallbacks, RunnableWithMessageHistory } from "@langchain/core/runnables";
|
|
73
|
+
import { RouterRunnable, RunnableAssign, RunnableBinding, RunnableBranch, RunnableEach, RunnableMap, RunnableParallel, RunnablePassthrough, RunnablePick, RunnableRetry, RunnableSequence, RunnableWithFallbacks, RunnableWithMessageHistory, } from "@langchain/core/runnables";
|
|
73
74
|
import { StringOutputParser } from "@langchain/core/output_parsers";
|
|
74
75
|
import { ChatGenerationChunk, GenerationChunk } from "@langchain/core/outputs";
|
|
75
76
|
import { ChatFireworks } from "@langchain/community/chat_models/fireworks";
|
|
76
77
|
import { Fireworks } from "@langchain/community/llms/fireworks";
|
|
77
78
|
const chat_models__openai = {
|
|
78
|
-
ChatOpenAI
|
|
79
|
+
ChatOpenAI,
|
|
79
80
|
};
|
|
80
81
|
export { chat_models__openai };
|
|
81
82
|
const llms__openai = {
|
|
82
|
-
OpenAI
|
|
83
|
+
OpenAI,
|
|
83
84
|
};
|
|
84
85
|
export { llms__openai };
|
|
85
86
|
const embeddings__openai = {
|
|
86
|
-
OpenAIEmbeddings
|
|
87
|
+
OpenAIEmbeddings,
|
|
87
88
|
};
|
|
88
89
|
export { embeddings__openai };
|
|
89
90
|
const prompts__prompt = {
|
|
90
|
-
PromptTemplate
|
|
91
|
+
PromptTemplate,
|
|
91
92
|
};
|
|
92
93
|
export { prompts__prompt };
|
|
93
94
|
const schema__messages = {
|
|
@@ -104,7 +105,7 @@ const schema__messages = {
|
|
|
104
105
|
SystemMessage,
|
|
105
106
|
SystemMessageChunk,
|
|
106
107
|
ToolMessage,
|
|
107
|
-
ToolMessageChunk
|
|
108
|
+
ToolMessageChunk,
|
|
108
109
|
};
|
|
109
110
|
export { schema__messages };
|
|
110
111
|
const prompts__chat = {
|
|
@@ -113,15 +114,15 @@ const prompts__chat = {
|
|
|
113
114
|
ChatPromptTemplate,
|
|
114
115
|
HumanMessagePromptTemplate,
|
|
115
116
|
MessagesPlaceholder,
|
|
116
|
-
SystemMessagePromptTemplate
|
|
117
|
+
SystemMessagePromptTemplate,
|
|
117
118
|
};
|
|
118
119
|
export { prompts__chat };
|
|
119
120
|
const prompts__pipeline = {
|
|
120
|
-
PipelinePromptTemplate
|
|
121
|
+
PipelinePromptTemplate,
|
|
121
122
|
};
|
|
122
123
|
export { prompts__pipeline };
|
|
123
124
|
const prompts__base = {
|
|
124
|
-
StringPromptValue
|
|
125
|
+
StringPromptValue,
|
|
125
126
|
};
|
|
126
127
|
export { prompts__base };
|
|
127
128
|
const schema__runnable = {
|
|
@@ -137,23 +138,23 @@ const schema__runnable = {
|
|
|
137
138
|
RunnableRetry,
|
|
138
139
|
RunnableSequence,
|
|
139
140
|
RunnableWithFallbacks,
|
|
140
|
-
RunnableWithMessageHistory
|
|
141
|
+
RunnableWithMessageHistory,
|
|
141
142
|
};
|
|
142
143
|
export { schema__runnable };
|
|
143
144
|
const schema__output_parser = {
|
|
144
|
-
StringOutputParser
|
|
145
|
+
StringOutputParser,
|
|
145
146
|
};
|
|
146
147
|
export { schema__output_parser };
|
|
147
148
|
const schema__output = {
|
|
148
149
|
ChatGenerationChunk,
|
|
149
|
-
GenerationChunk
|
|
150
|
+
GenerationChunk,
|
|
150
151
|
};
|
|
151
152
|
export { schema__output };
|
|
152
153
|
const chat_models__fireworks = {
|
|
153
|
-
ChatFireworks
|
|
154
|
+
ChatFireworks,
|
|
154
155
|
};
|
|
155
156
|
export { chat_models__fireworks };
|
|
156
157
|
const llms__fireworks = {
|
|
157
|
-
Fireworks
|
|
158
|
+
Fireworks,
|
|
158
159
|
};
|
|
159
160
|
export { llms__fireworks };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.logVersion010MigrationWarning = void 0;
|
|
4
|
+
const env_js_1 = require("./env.cjs");
|
|
4
5
|
function logVersion010MigrationWarning({ oldEntrypointName, newEntrypointName, newPackageName = "@langchain/community", }) {
|
|
5
6
|
let finalEntrypointName = "";
|
|
6
7
|
if (newEntrypointName === undefined) {
|
|
@@ -29,6 +30,8 @@ function logVersion010MigrationWarning({ oldEntrypointName, newEntrypointName, n
|
|
|
29
30
|
`This will be mandatory after the next "langchain" minor version bump to 0.2.`,
|
|
30
31
|
].join("\n");
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
+
if ((0, env_js_1.getEnvironmentVariable)("LANGCHAIN_SUPPRESS_MIGRATION_WARNINGS") !== "true") {
|
|
34
|
+
console.warn(warningText);
|
|
35
|
+
}
|
|
33
36
|
}
|
|
34
37
|
exports.logVersion010MigrationWarning = logVersion010MigrationWarning;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEnvironmentVariable } from "./env.js";
|
|
1
2
|
export function logVersion010MigrationWarning({ oldEntrypointName, newEntrypointName, newPackageName = "@langchain/community", }) {
|
|
2
3
|
let finalEntrypointName = "";
|
|
3
4
|
if (newEntrypointName === undefined) {
|
|
@@ -26,5 +27,7 @@ export function logVersion010MigrationWarning({ oldEntrypointName, newEntrypoint
|
|
|
26
27
|
`This will be mandatory after the next "langchain" minor version bump to 0.2.`,
|
|
27
28
|
].join("\n");
|
|
28
29
|
}
|
|
29
|
-
|
|
30
|
+
if (getEnvironmentVariable("LANGCHAIN_SUPPRESS_MIGRATION_WARNINGS") !== "true") {
|
|
31
|
+
console.warn(warningText);
|
|
32
|
+
}
|
|
30
33
|
}
|
package/document.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/document.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/document_loaders/base.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/buffer.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/chatgpt.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/csv.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/directory.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/docx.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/epub.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/json.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/notion.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/obsidian.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/openai_whisper_audio.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/pdf.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/pptx.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/srt.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/text.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/fs/unstructured.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/apify_dataset.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/assemblyai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/azure_blob_storage_container.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/azure_blob_storage_file.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/cheerio.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/college_confidential.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/confluence.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/figma.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/gitbook.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/github.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/hn.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/imsdb.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/notionapi.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/notiondb.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/pdf.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/playwright.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/puppeteer.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/recursive_url.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/s3.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/searchapi.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/serpapi.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/sonix_audio.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/sort_xyz_blockchain.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/document_loaders/web/youtube.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/document_transformers/html_to_text.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/document_transformers/mozilla_readability.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/document_transformers/openai_functions.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/base.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/bedrock.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/cache_backed.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/cloudflare_workersai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/cohere.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/fake.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/googlepalm.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/googlevertexai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/gradient_ai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/hf.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/hf_transformers.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/llama_cpp.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/minimax.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/ollama.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/openai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/tensorflow.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/embeddings/voyage.js'
|
package/evaluation.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/evaluation/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/experimental/autogpt/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/experimental/babyagi/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/chains/violation_of_expectations/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/chat_models/anthropic_functions.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/chat_models/bittensor.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/chat_models/ollama_functions.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/experimental/generative_agents/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../../dist/experimental/hubs/makersuite/googlemakersuitehub.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/llms/bittensor.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/experimental/masking/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/multimodal_embeddings/googlevertexai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/experimental/openai_assistant/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/experimental/openai_files/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/experimental/plan_and_execute/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/prompts/custom_format.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/prompts/handlebars.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/experimental/tools/pyinterpreter.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/graphs/neo4j_graph.js'
|
package/hub.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/hub.js'
|
package/indexes.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/indexes/index.js'
|
package/llms/ai21.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/ai21.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/aleph_alpha.js'
|
package/llms/base.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/base.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/llms/bedrock/web.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/bedrock/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/cloudflare_workersai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/cohere.js'
|
package/llms/fake.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/fake.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/fireworks.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/googlepalm.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../dist/llms/googlevertexai/web.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/googlevertexai/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/gradient_ai.js'
|
package/llms/hf.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/hf.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/llama_cpp.js'
|
package/llms/load.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/load.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/ollama.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/openai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/portkey.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/raycast.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/replicate.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/sagemaker_endpoint.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/watsonx_ai.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/writer.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/yandex.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/load/serializable.js'
|
package/load.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/load/index.js'
|
package/memory/zep.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/memory/zep.js'
|
package/memory.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/memory/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/output_parsers/expression.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/output_parsers/index.js'
|