From c5206f0d9ec473cf70014e326e6abeef0cf09a93 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Mon, 13 Nov 2023 17:32:06 -0800 Subject: [PATCH] Generate api refs with typedoc (#3152) * Generate api refs with typedoc * update langchain build script * wrap api site with nextjs site and gitignore any auto gen docs * update gitignore * del file * update scripts * nit * improved script * remove api gen from docusaurus * omit readme from api docs gen * conditonal api docs build * gh action only runs on PR not push * update * set shell to bash and update readme * another updaye * stop escaping double quote * use shell script for conditional check * remove deploy preview * fix api ref links and codeblock link gen. also added api to header external link * refactor code, slight cleanup * fix: update docs build * chore: lint files * del gh actions for api docs * added script for adding ignore to all classes * better * ignore abstract * dont ignore abstract * cleanup * account for single line jsdoc * cr * nit * cr * nits * cr * cr * fixed * cr * add api docs redirects * cr * chore: lint files * cr * build api refs on core docs start * fix api refs staart * set port to 3001 * only log on error typedoc * Update .gitignore --------- Co-authored-by: jacoblee93 --- .github/workflows/test-exports.yml | 25 +- .gitignore | 7 +- docs/api_refs/.eslintrc.json | 3 + docs/api_refs/.gitignore | 39 + docs/api_refs/README.md | 11 + docs/api_refs/generate_typedoc.sh | 23 + docs/api_refs/next.config.js | 14 + docs/api_refs/package.json | 30 + docs/api_refs/postcss.config.js | 6 + .../_static => api_refs/src/app}/favicon.ico | Bin docs/api_refs/tailwind.config.ts | 20 + docs/api_refs/tsconfig.json | 27 + docs/api_refs/typedoc.json | 283 +++++ docs/{ => core_docs}/.eslintrc.js | 0 docs/{ => core_docs}/.gitignore | 0 docs/{ => core_docs}/.prettierignore | 0 docs/{ => core_docs}/README.md | 0 docs/{ => core_docs}/babel.config.js | 0 docs/{ => core_docs}/code-block-loader.js | 49 +- .../docs/_static/ApifyActors.png | Bin .../docs/_static/ChaindeskDashboard.png | Bin .../docs/_static/HeliconeDashboard.png | Bin .../docs/_static/HeliconeKeys.png | Bin .../docs/_static/MetalDash.png | Bin .../docs/_static/android-chrome-192x192.png | Bin .../docs/_static/android-chrome-512x512.png | Bin .../docs/_static/apple-touch-icon.png | Bin .../docs/_static/css/custom.css | 0 .../docs/_static/favicon-16x16.png | Bin .../docs/_static/favicon-32x32.png | Bin .../docs/_static}/favicon.ico | Bin .../docs/_static/js/mendablesearch.js | 0 .../docs/_static/lc_modules.jpg | Bin .../docs/_static/parrot-chainlink-icon.png | Bin .../docs/_static/parrot-icon.png | Bin .../expression_language_cheatsheet.mdx | 0 .../additional_resources/tutorials/index.mdx | 0 docs/{ => core_docs}/docs/community.md | 0 .../docs/ecosystem/integrations/databerry.md | 0 .../docs/ecosystem/integrations/helicone.md | 0 .../docs/ecosystem/integrations/index.mdx | 0 .../docs/ecosystem/integrations/llmonitor.md | 0 .../ecosystem/integrations/makersuite.mdx | 0 .../ecosystem/integrations/unstructured.mdx | 0 .../docs/expression_language/_category_.yml | 0 .../cookbook/_category_.yml | 0 .../cookbook/adding_memory.mdx | 0 .../expression_language/cookbook/agents.mdx | 0 .../expression_language/cookbook/index.mdx | 0 .../cookbook/multiple_chains.mdx | 0 .../cookbook/prompt_llm_parser.mdx | 0 .../cookbook/retrieval.mdx | 0 .../expression_language/cookbook/sql_db.mdx | 0 .../expression_language/cookbook/tools.mdx | 0 .../expression_language/how_to/_category_.yml | 0 .../how_to/cancellation.mdx | 0 .../docs/expression_language/how_to/map.mdx | 0 .../expression_language/how_to/routing.mdx | 0 .../docs/expression_language/index.mdx | 0 .../docs/expression_language/interface.mdx | 2 +- .../docs/expression_language/why.mdx | 0 .../docs/get_started/_category_.yml | 0 .../docs/get_started/installation.mdx | 0 .../docs/get_started/introduction.mdx | 0 .../docs/get_started/quickstart.mdx | 0 .../docs/guides/_category_.yml | 0 .../docs/guides/deployment/index.mdx | 0 .../docs/guides/deployment/nextjs.mdx | 0 .../docs/guides/deployment/sveltekit.mdx | 0 .../guides/evaluation/comparison/index.mdx | 0 .../pairwise_embedding_distance.mdx | 0 .../evaluation/comparison/pairwise_string.mdx | 0 .../evaluation/examples/comparisons.mdx | 0 .../docs/guides/evaluation/examples/index.mdx | 0 .../docs/guides/evaluation/index.mdx | 0 .../guides/evaluation/string/criteria.mdx | 0 .../evaluation/string/embedding_distance.mdx | 0 .../docs/guides/evaluation/string/index.mdx | 0 .../guides/evaluation/trajectory/index.mdx | 0 .../evaluation/trajectory/trajectory_eval.mdx | 0 .../{ => core_docs}/docs/guides/fallbacks.mdx | 0 .../docs/integrations/chat/anthropic.mdx | 0 .../integrations/chat/anthropic_functions.mdx | 0 .../docs/integrations/chat/azure.mdx | 0 .../docs/integrations/chat/baidu_wenxin.mdx | 0 .../docs/integrations/chat/bedrock.mdx | 0 .../chat/cloudflare_workersai.mdx | 0 .../docs/integrations/chat/fake.mdx | 0 .../docs/integrations/chat/fireworks.mdx | 0 .../docs/integrations/chat/google_palm.mdx | 0 .../integrations/chat/google_vertex_ai.mdx | 0 .../docs/integrations/chat/index.mdx | 0 .../docs/integrations/chat/llama_cpp.mdx | 0 .../docs/integrations/chat/minimax.mdx | 0 .../docs/integrations/chat/ni_bittensor.mdx | 0 .../docs/integrations/chat/ollama.mdx | 0 .../docs/integrations/chat/openai.mdx | 0 .../integrations/chat/prompt_layer_openai.mdx | 0 .../docs/integrations/chat/yandex.mdx | 0 .../integrations/chat_memory/cassandra.mdx | 0 .../chat_memory/cloudflare_d1.mdx | 0 .../docs/integrations/chat_memory/convex.mdx | 0 .../integrations/chat_memory/dynamodb.mdx | 0 .../integrations/chat_memory/firestore.mdx | 0 .../docs/integrations/chat_memory/momento.mdx | 0 .../docs/integrations/chat_memory/mongodb.mdx | 0 .../chat_memory/motorhead_memory.mdx | 0 .../integrations/chat_memory/planetscale.mdx | 0 .../docs/integrations/chat_memory/redis.mdx | 0 .../chat_memory/upstash_redis.mdx | 0 .../docs/integrations/chat_memory/xata.mdx | 0 .../integrations/chat_memory/zep_memory.mdx | 0 .../document_loaders/file_loaders/csv.mdx | 0 .../file_loaders/directory.mdx | 0 .../document_loaders/file_loaders/docx.mdx | 0 .../document_loaders/file_loaders/epub.mdx | 0 .../document_loaders/file_loaders/index.mdx | 0 .../document_loaders/file_loaders/json.mdx | 0 .../file_loaders/jsonlines.mdx | 0 .../file_loaders/notion_markdown.mdx | 0 .../file_loaders/openai_whisper_audio.mdx | 0 .../document_loaders/file_loaders/pdf.mdx | 0 .../file_loaders/subtitles.mdx | 0 .../document_loaders/file_loaders/text.mdx | 0 .../file_loaders/unstructured.mdx | 0 .../web_loaders/apify_dataset.mdx | 0 .../assemblyai_audio_transcription.mdx | 0 .../azure_blob_storage_container.mdx | 0 .../web_loaders/azure_blob_storage_file.mdx | 0 .../web_loaders/college_confidential.mdx | 0 .../web_loaders/confluence.mdx | 0 .../document_loaders/web_loaders/figma.mdx | 0 .../document_loaders/web_loaders/gitbook.mdx | 0 .../document_loaders/web_loaders/github.mdx | 0 .../document_loaders/web_loaders/hn.mdx | 0 .../document_loaders/web_loaders/imsdb.mdx | 0 .../document_loaders/web_loaders/index.mdx | 0 .../web_loaders/notionapi.mdx | 0 .../document_loaders/web_loaders/pdf.mdx | 0 .../web_loaders/recursive_url_loader.mdx | 0 .../document_loaders/web_loaders/s3.mdx | 0 .../web_loaders/searchapi.mdx | 0 .../document_loaders/web_loaders/serpapi.mdx | 0 .../web_loaders/sonix_audio_transcription.mdx | 0 .../web_loaders/sort_xyz_blockchain.mdx | 0 .../web_loaders/web_cheerio.mdx | 0 .../web_loaders/web_playwright.mdx | 0 .../web_loaders/web_puppeteer.mdx | 0 .../document_loaders/web_loaders/youtube.mdx | 0 .../document_transformers/html-to-text.mdx | 0 .../mozilla_readability.mdx | 0 .../openai_metadata_tagger.mdx | 0 .../docs/integrations/llms/ai21.mdx | 0 .../docs/integrations/llms/aleph_alpha.mdx | 0 .../docs/integrations/llms/aws_sagemaker.mdx | 0 .../docs/integrations/llms/azure.mdx | 0 .../docs/integrations/llms/bedrock.mdx | 0 .../llms/cloudflare_workersai.mdx | 0 .../docs/integrations/llms/cohere.mdx | 0 .../docs/integrations/llms/fake.mdx | 0 .../docs/integrations/llms/fireworks.mdx | 0 .../docs/integrations/llms/google_palm.mdx | 0 .../integrations/llms/google_vertex_ai.mdx | 0 .../llms/huggingface_inference.mdx | 0 .../docs/integrations/llms/index.mdx | 0 .../docs/integrations/llms/llama_cpp.mdx | 0 .../docs/integrations/llms/ni_bittensor.mdx | 0 .../docs/integrations/llms/ollama.mdx | 0 .../docs/integrations/llms/openai.mdx | 0 .../integrations/llms/prompt_layer_openai.mdx | 0 .../docs/integrations/llms/raycast.mdx | 0 .../docs/integrations/llms/replicate.mdx | 0 .../docs/integrations/llms/writer.mdx | 0 .../docs/integrations/llms/yandex.mdx | 0 .../docs/integrations/platforms/anthropic.mdx | 0 .../docs/integrations/platforms/aws.mdx | 0 .../docs/integrations/platforms/google.mdx | 0 .../docs/integrations/platforms/microsoft.mdx | 0 .../docs/integrations/platforms/openai.mdx | 0 .../retrievers/chaindesk-retriever.mdx | 0 .../retrievers/chatgpt-retriever-plugin.mdx | 0 .../docs/integrations/retrievers/hyde.mdx | 0 .../retrievers/kendra-retriever.mdx | 0 .../retrievers/metal-retriever.mdx | 0 .../retrievers/remote-retriever.mdx | 0 .../retrievers/supabase-hybrid.mdx | 0 .../docs/integrations/retrievers/tavily.mdx | 0 .../retrievers/time-weighted-retriever.mdx | 0 .../integrations/retrievers/vectorstore.mdx | 0 .../retrievers/vespa-retriever.mdx | 0 .../integrations/retrievers/zep-retriever.mdx | 0 .../text_embedding/azure_openai.mdx | 0 .../integrations/text_embedding/bedrock.mdx | 0 .../text_embedding/cloudflare_ai.mdx | 0 .../integrations/text_embedding/cohere.mdx | 0 .../text_embedding/google_palm.mdx | 0 .../text_embedding/google_vertex_ai.mdx | 0 .../text_embedding/hugging_face_inference.mdx | 0 .../integrations/text_embedding/llama_cpp.mdx | 0 .../integrations/text_embedding/minimax.mdx | 0 .../integrations/text_embedding/ollama.mdx | 0 .../integrations/text_embedding/openai.mdx | 0 .../text_embedding/tensorflow.mdx | 0 .../text_embedding/transformers.mdx | 0 .../integrations/text_embedding/voyageai.mdx | 0 .../docs/integrations/toolkits/json.mdx | 0 .../docs/integrations/toolkits/openapi.mdx | 0 .../docs/integrations/toolkits/sfn_agent.mdx | 0 .../docs/integrations/toolkits/sql.mdx | 0 .../integrations/toolkits/vectorstore.mdx | 0 .../docs/integrations/tools/aiplugin-tool.mdx | 0 .../integrations/tools/google_calendar.mdx | 0 .../docs/integrations/tools/lambda_agent.mdx | 0 .../docs/integrations/tools/webbrowser.mdx | 0 .../docs/integrations/tools/wolframalpha.mdx | 0 .../docs/integrations/tools/zapier_agent.mdx | 0 .../integrations/vectorstores/analyticdb.mdx | 0 .../integrations/vectorstores/cassandra.mdx | 0 .../docs/integrations/vectorstores/chroma.mdx | 0 .../integrations/vectorstores/closevector.mdx | 0 .../vectorstores/cloudflare_vectorize.mdx | 0 .../docs/integrations/vectorstores/convex.mdx | 0 .../vectorstores/elasticsearch.mdx | 0 .../docs/integrations/vectorstores/faiss.mdx | 0 .../vectorstores/googlevertexai.mdx | 2 +- .../integrations/vectorstores/hnswlib.mdx | 0 .../integrations/vectorstores/lancedb.mdx | 0 .../docs/integrations/vectorstores/memory.mdx | 0 .../docs/integrations/vectorstores/milvus.mdx | 0 .../vectorstores/momento_vector_index.mdx | 0 .../vectorstores/mongodb_atlas.mdx | 0 .../integrations/vectorstores/myscale.mdx | 0 .../integrations/vectorstores/neo4jvector.mdx | 0 .../integrations/vectorstores/opensearch.mdx | 0 .../integrations/vectorstores/pgvector.mdx | 0 .../integrations/vectorstores/pinecone.mdx | 0 .../docs/integrations/vectorstores/prisma.mdx | 0 .../docs/integrations/vectorstores/qdrant.mdx | 0 .../docs/integrations/vectorstores/redis.mdx | 0 .../integrations/vectorstores/singlestore.mdx | 0 .../integrations/vectorstores/supabase.mdx | 0 .../docs/integrations/vectorstores/tigris.mdx | 0 .../integrations/vectorstores/typeorm.mdx | 0 .../integrations/vectorstores/typesense.mdx | 0 .../integrations/vectorstores/usearch.mdx | 0 .../integrations/vectorstores/vectara.mdx | 0 .../vectorstores/vercel_postgres.mdx | 0 .../docs/integrations/vectorstores/voy.mdx | 0 .../integrations/vectorstores/weaviate.mdx | 0 .../docs/integrations/vectorstores/xata.mdx | 0 .../docs/integrations/vectorstores/zep.mdx | 0 .../agent_types/chat_conversation_agent.mdx | 0 .../docs/modules/agents/agent_types/index.mdx | 0 .../agents/agent_types/openai_assistant.mdx | 0 .../agent_types/openai_functions_agent.mdx | 0 .../agents/agent_types/openai_tools_agent.mdx | 0 .../agents/agent_types/plan_and_execute.mdx | 0 .../docs/modules/agents/agent_types/react.mdx | 0 .../agents/agent_types/structured_chat.mdx | 0 .../docs/modules/agents/agent_types/xml.mdx | 0 .../docs/modules/agents/how_to/_category_.yml | 0 .../agents/how_to/agent_structured.mdx | 0 .../docs/modules/agents/how_to/callbacks.mdx | 0 .../agents/how_to/cancelling_requests.mdx | 0 .../agents/how_to/custom_llm_agent.mdx | 0 .../agents/how_to/custom_llm_chat_agent.mdx | 0 .../agents/how_to/custom_mrkl_agent.mdx | 0 .../agents/how_to/handle_parsing_errors.mdx | 0 .../agents/how_to/logging_and_tracing.mdx | 0 .../docs/modules/agents/how_to/timeouts.mdx | 0 .../docs/modules/agents/index.mdx | 0 .../docs/modules/agents/toolkits/index.mdx | 0 .../agents/tools/how_to/_category_.yml | 0 .../tools/how_to/agents_with_vectorstores.mdx | 0 .../modules/agents/tools/how_to/dynamic.mdx | 0 .../docs/modules/agents/tools/index.mdx | 0 .../modules/callbacks/how_to/_category_.yml | 0 .../callbacks/how_to/background_callbacks.mdx | 0 .../callbacks/how_to/create_handlers.mdx | 0 .../callbacks/how_to/creating_subclasses.mdx | 0 .../docs/modules/callbacks/how_to/tags.mdx | 3 + .../docs/modules/callbacks/index.mdx | 4 +- .../chains/additional/analyze_document.mdx | 0 .../additional/constitutional_chain.mdx | 0 .../chains/additional/cypher_chain.mdx | 0 .../docs/modules/chains/additional/index.mdx | 0 .../modules/chains/additional/moderation.mdx | 0 .../chains/additional/multi_prompt_router.mdx | 0 .../additional/multi_retrieval_qa_router.mdx | 0 .../openai_functions/extraction.mdx | 0 .../additional/openai_functions/index.mdx | 0 .../additional/openai_functions/openapi.mdx | 0 .../additional/openai_functions/tagging.mdx | 0 .../docs/modules/chains/document/index.mdx | 0 .../modules/chains/document/map_reduce.mdx | 0 .../docs/modules/chains/document/refine.mdx | 0 .../docs/modules/chains/document/stuff.mdx | 0 .../modules/chains/foundational/index.mdx | 0 .../modules/chains/foundational/llm_chain.mdx | 0 .../chains/foundational/sequential_chains.mdx | 0 .../docs/modules/chains/how_to/debugging.mdx | 0 .../docs/modules/chains/how_to/index.mdx | 0 .../docs/modules/chains/how_to/memory.mdx | 0 .../docs/modules/chains/index.mdx | 0 .../docs/modules/chains/popular/api.mdx | 0 .../modules/chains/popular/chat_vector_db.mdx | 0 .../chains/popular/chat_vector_db_legacy.mdx | 4 +- .../docs/modules/chains/popular/index.mdx | 0 .../docs/modules/chains/popular/sqlite.mdx | 0 .../modules/chains/popular/sqlite_legacy.mdx | 0 .../chains/popular/structured_output.mdx | 0 .../docs/modules/chains/popular/summarize.mdx | 0 .../modules/chains/popular/vector_db_qa.mdx | 0 .../chains/popular/vector_db_qa_legacy.mdx | 0 .../document_loaders/how_to/_category_.yml | 0 .../how_to/creating_documents.mdx | 0 .../document_loaders/how_to/csv.mdx | 0 .../document_loaders/how_to/custom.mdx | 0 .../how_to/file_directory.mdx | 0 .../document_loaders/how_to/json.mdx | 0 .../document_loaders/how_to/pdf.mdx | 0 .../document_loaders/index.mdx | 0 .../document_transformers/index.mdx | 0 .../text_splitters/_category_.yml | 0 .../character_text_splitter.mdx | 0 .../text_splitters/code_splitter.mdx | 0 .../contextual_chunk_headers.mdx | 0 .../text_splitters/custom_text_splitter.mdx | 0 .../recursive_text_splitter.mdx | 0 .../text_splitters/token.mdx | 0 .../experimental/_category_.yml | 0 .../graph_databases/_category_.yml | 0 .../experimental/graph_databases/neo4j.mdx | 0 .../multimodal_embeddings/_category_.yml | 0 .../google_vertex_ai.mdx | 0 .../docs/modules/data_connection/index.mdx | 0 .../retrievers/how_to/_category_.yml | 0 .../how_to/contextual_compression.mdx | 0 .../how_to/multi-query-retriever.mdx | 0 .../how_to/multi-vector-retriever.mdx | 0 .../how_to/parent-document-retriever.mdx | 0 .../how_to/self_query/chroma-self-query.mdx | 0 .../how_to/self_query/hnswlib-self-query.mdx | 0 .../retrievers/how_to/self_query/index.mdx | 0 .../how_to/self_query/memory-self-query.mdx | 0 .../how_to/self_query/pinecone-self-query.mdx | 0 .../how_to/self_query/supabase-self-query.mdx | 0 .../how_to/self_query/weaviate-self-query.mdx | 0 .../similarity-score-threshold-retriever.mdx | 0 .../how_to/time_weighted_vectorstore.mdx | 0 .../retrievers/how_to/vectorstore.mdx | 0 .../data_connection/retrievers/index.mdx | 0 .../text_embedding/how_to/_category_.yml | 0 .../text_embedding/how_to/api_errors.mdx | 0 .../how_to/caching_embeddings.mdx | 0 .../text_embedding/how_to/rate_limits.mdx | 0 .../text_embedding/how_to/timeouts.mdx | 0 .../data_connection/text_embedding/index.mdx | 0 .../data_connection/vectorstores/index.mdx | 2 +- docs/{ => core_docs}/docs/modules/index.mdx | 0 .../docs/modules/memory/how_to/_category_.yml | 0 .../docs/modules/memory/how_to/buffer.mdx | 0 .../memory/how_to/buffer_memory_chat.mdx | 0 .../modules/memory/how_to/buffer_window.mdx | 0 .../memory/how_to/buffer_window_memory.md | 0 .../memory/how_to/entity_summary_memory.mdx | 0 .../modules/memory/how_to/multiple_memory.mdx | 0 .../docs/modules/memory/how_to/summary.mdx | 0 .../modules/memory/how_to/summary_buffer.mdx | 0 .../how_to/vectorstore_retriever_memory.mdx | 0 .../docs/modules/memory/index.mdx | 2 +- .../docs/modules/model_io/index.mdx | 0 .../models/chat/how_to/_category_.yml | 0 .../chat/how_to/cancelling_requests.mdx | 0 .../chat/how_to/dealing_with_api_errors.mdx | 0 .../chat/how_to/dealing_with_rate_limits.mdx | 0 .../models/chat/how_to/function_calling.mdx | 0 .../models/chat/how_to/llm_caching.mdx | 0 .../model_io/models/chat/how_to/llm_chain.mdx | 0 .../model_io/models/chat/how_to/prompts.mdx | 0 .../model_io/models/chat/how_to/streaming.mdx | 0 .../models/chat/how_to/subscribing_events.mdx | 0 .../model_io/models/chat/how_to/timeouts.mdx | 0 .../modules/model_io/models/chat/index.mdx | 0 .../docs/modules/model_io/models/index.mdx | 0 .../models/llms/how_to/_category_.yml | 0 .../llms/how_to/cancelling_requests.mdx | 0 .../llms/how_to/dealing_with_api_errors.mdx | 0 .../llms/how_to/dealing_with_rate_limits.mdx | 0 .../models/llms/how_to/llm_caching.mdx | 0 .../models/llms/how_to/streaming_llm.mdx | 0 .../models/llms/how_to/subscribing_events.mdx | 0 .../model_io/models/llms/how_to/timeouts.mdx | 0 .../modules/model_io/models/llms/index.mdx | 0 .../modules/model_io/output_parsers/bytes.mdx | 0 .../combining_output_parser.mdx | 0 .../output_parsers/comma_separated.mdx | 0 .../output_parsers/custom_list_parser.mdx | 0 .../output_parsers/how_to/_category_.yml | 0 .../how_to/use_with_llm_chain.mdx | 0 .../modules/model_io/output_parsers/index.mdx | 0 .../output_parsers/json_functions.mdx | 0 .../output_parsers/output_fixing_parser.mdx | 0 .../model_io/output_parsers/string.mdx | 0 .../model_io/output_parsers/structured.mdx | 0 .../prompts/example_selectors/index.mdx | 0 .../example_selectors/length_based.mdx | 0 .../prompts/example_selectors/similarity.mdx | 0 .../docs/modules/model_io/prompts/index.mdx | 0 .../prompts/prompt_selectors/index.mdx | 0 .../prompts/prompt_templates/index.mdx | 0 .../prompts/prompt_templates/partial.mdx | 0 .../prompt_templates/prompt_composition.mdx | 0 .../docs/production/deployment.md | 0 .../docs/production/tracing.md | 0 docs/{ => core_docs}/docs/security.md | 0 .../agent_simulations/generative_agents.mdx | 0 .../use_cases/agent_simulations/index.mdx | 0 .../violation_of_expectations_chain.mdx | 0 docs/{ => core_docs}/docs/use_cases/api.mdx | 0 .../use_cases/autonomous_agents/auto_gpt.mdx | 0 .../use_cases/autonomous_agents/baby_agi.mdx | 0 .../use_cases/autonomous_agents/index.mdx | 0 .../use_cases/autonomous_agents/sales_gpt.mdx | 0 .../docs/use_cases/chatbots.mdx | 0 .../docs/use_cases/extraction.mdx | 0 .../advanced_conversational_qa.mdx | 0 .../conversational_retrieval_agents.mdx | 0 .../use_cases/question_answering/index.mdx | 0 .../question_answering/local_retrieval_qa.mdx | 0 .../docs/use_cases/summarization.mdx | 0 .../docs/use_cases/tabular.mdx | 0 docs/{ => core_docs}/docusaurus.config.js | 12 +- docs/{ => core_docs}/package.json | 7 +- docs/{ => core_docs}/sidebars.js | 9 - docs/{ => core_docs}/src/css/custom.css | 0 docs/{ => core_docs}/src/pages/index.js | 0 .../src/theme/CodeBlock/index.js | 0 docs/{ => core_docs}/src/theme/SearchBar.js | 0 docs/{ => core_docs}/static/.nojekyll | 0 .../static/img/DataberryDashboard.png | Bin .../static/img/HeliconeDashboard.png | Bin .../static/img/HeliconeKeys.png | Bin .../static/img/android-chrome-192x192.png | Bin .../static/img/android-chrome-512x512.png | Bin .../static/img/apple-touch-icon.png | Bin .../static/img/contextual_compression.jpg | Bin .../static/img/data_connection.jpg | Bin .../static/img/favicon-16x16.png | Bin .../static/img/favicon-32x32.png | Bin docs/core_docs/static/img/favicon.ico | Bin 0 -> 15406 bytes .../img/langchain-js-runnable-cheatsheet.png | Bin .../{ => core_docs}/static/img/map_reduce.jpg | Bin .../{ => core_docs}/static/img/map_rerank.jpg | Bin docs/{ => core_docs}/static/img/model_io.jpg | Bin .../static/img/nextjs-agent-conversation.png | Bin .../static/img/parrot-chainlink-icon.png | Bin .../static/img/parrot-icon.png | Bin .../static/img/qa_data_load.png | Bin docs/{ => core_docs}/static/img/qa_flow.jpeg | Bin docs/{ => core_docs}/static/img/qa_intro.png | Bin docs/{ => core_docs}/static/img/refine.jpg | Bin docs/{ => core_docs}/static/img/sales_gpt.png | Bin docs/{ => core_docs}/static/img/stuff.jpg | Bin .../static/img/summary_chains.png | Bin .../static/img/sveltekit-chat-langchain.png | Bin .../static/js/google_analytics.js | 0 docs/{ => core_docs}/vercel.json | 56 +- docs/docs/modules/callbacks/how_to/tags.mdx | 3 - .../agents/custom_llm_agent_chat_runnable.ts | 9 + examples/src/llms/portkey-chat.ts | 9 + langchain/package.json | 3 +- langchain/scripts/build-api-refs.sh | 5 + langchain/scripts/build-for-api-ref-docs.js | 69 ++ langchain/scripts/create-entrypoints.js | 13 +- .../generate-docs-llm-compatibility-table.js | 4 +- langchain/tsconfig.json | 282 +---- package.json | 6 +- yarn.lock | 1008 ++++++++++++++++- 479 files changed, 1649 insertions(+), 402 deletions(-) create mode 100644 docs/api_refs/.eslintrc.json create mode 100644 docs/api_refs/.gitignore create mode 100644 docs/api_refs/README.md create mode 100644 docs/api_refs/generate_typedoc.sh create mode 100644 docs/api_refs/next.config.js create mode 100644 docs/api_refs/package.json create mode 100644 docs/api_refs/postcss.config.js rename docs/{docs/_static => api_refs/src/app}/favicon.ico (100%) create mode 100644 docs/api_refs/tailwind.config.ts create mode 100644 docs/api_refs/tsconfig.json create mode 100644 docs/api_refs/typedoc.json rename docs/{ => core_docs}/.eslintrc.js (100%) rename docs/{ => core_docs}/.gitignore (100%) rename docs/{ => core_docs}/.prettierignore (100%) rename docs/{ => core_docs}/README.md (100%) rename docs/{ => core_docs}/babel.config.js (100%) rename docs/{ => core_docs}/code-block-loader.js (59%) rename docs/{ => core_docs}/docs/_static/ApifyActors.png (100%) rename docs/{ => core_docs}/docs/_static/ChaindeskDashboard.png (100%) rename docs/{ => core_docs}/docs/_static/HeliconeDashboard.png (100%) rename docs/{ => core_docs}/docs/_static/HeliconeKeys.png (100%) rename docs/{ => core_docs}/docs/_static/MetalDash.png (100%) rename docs/{ => core_docs}/docs/_static/android-chrome-192x192.png (100%) rename docs/{ => core_docs}/docs/_static/android-chrome-512x512.png (100%) rename docs/{ => core_docs}/docs/_static/apple-touch-icon.png (100%) rename docs/{ => core_docs}/docs/_static/css/custom.css (100%) rename docs/{ => core_docs}/docs/_static/favicon-16x16.png (100%) rename docs/{ => core_docs}/docs/_static/favicon-32x32.png (100%) rename docs/{static/img => core_docs/docs/_static}/favicon.ico (100%) rename docs/{ => core_docs}/docs/_static/js/mendablesearch.js (100%) rename docs/{ => core_docs}/docs/_static/lc_modules.jpg (100%) rename docs/{ => core_docs}/docs/_static/parrot-chainlink-icon.png (100%) rename docs/{ => core_docs}/docs/_static/parrot-icon.png (100%) rename docs/{ => core_docs}/docs/additional_resources/tutorials/expression_language_cheatsheet.mdx (100%) rename docs/{ => core_docs}/docs/additional_resources/tutorials/index.mdx (100%) rename docs/{ => core_docs}/docs/community.md (100%) rename docs/{ => core_docs}/docs/ecosystem/integrations/databerry.md (100%) rename docs/{ => core_docs}/docs/ecosystem/integrations/helicone.md (100%) rename docs/{ => core_docs}/docs/ecosystem/integrations/index.mdx (100%) rename docs/{ => core_docs}/docs/ecosystem/integrations/llmonitor.md (100%) rename docs/{ => core_docs}/docs/ecosystem/integrations/makersuite.mdx (100%) rename docs/{ => core_docs}/docs/ecosystem/integrations/unstructured.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/_category_.yml (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/_category_.yml (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/adding_memory.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/agents.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/index.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/multiple_chains.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/prompt_llm_parser.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/retrieval.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/sql_db.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/cookbook/tools.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/expression_language/how_to/cancellation.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/how_to/map.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/how_to/routing.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/index.mdx (100%) rename docs/{ => core_docs}/docs/expression_language/interface.mdx (94%) rename docs/{ => core_docs}/docs/expression_language/why.mdx (100%) rename docs/{ => core_docs}/docs/get_started/_category_.yml (100%) rename docs/{ => core_docs}/docs/get_started/installation.mdx (100%) rename docs/{ => core_docs}/docs/get_started/introduction.mdx (100%) rename docs/{ => core_docs}/docs/get_started/quickstart.mdx (100%) rename docs/{ => core_docs}/docs/guides/_category_.yml (100%) rename docs/{ => core_docs}/docs/guides/deployment/index.mdx (100%) rename docs/{ => core_docs}/docs/guides/deployment/nextjs.mdx (100%) rename docs/{ => core_docs}/docs/guides/deployment/sveltekit.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/comparison/index.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/comparison/pairwise_embedding_distance.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/comparison/pairwise_string.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/examples/comparisons.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/examples/index.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/index.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/string/criteria.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/string/embedding_distance.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/string/index.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/trajectory/index.mdx (100%) rename docs/{ => core_docs}/docs/guides/evaluation/trajectory/trajectory_eval.mdx (100%) rename docs/{ => core_docs}/docs/guides/fallbacks.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/anthropic.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/anthropic_functions.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/azure.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/baidu_wenxin.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/bedrock.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/cloudflare_workersai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/fake.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/fireworks.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/google_palm.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/google_vertex_ai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/index.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/llama_cpp.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/minimax.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/ni_bittensor.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/ollama.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/openai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/prompt_layer_openai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat/yandex.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/cassandra.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/cloudflare_d1.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/convex.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/dynamodb.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/firestore.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/momento.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/mongodb.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/motorhead_memory.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/planetscale.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/redis.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/upstash_redis.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/xata.mdx (100%) rename docs/{ => core_docs}/docs/integrations/chat_memory/zep_memory.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/csv.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/directory.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/docx.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/epub.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/index.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/json.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/jsonlines.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/notion_markdown.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/openai_whisper_audio.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/pdf.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/subtitles.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/text.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/file_loaders/unstructured.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/apify_dataset.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/assemblyai_audio_transcription.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/azure_blob_storage_container.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/azure_blob_storage_file.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/college_confidential.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/confluence.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/figma.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/gitbook.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/github.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/hn.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/imsdb.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/index.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/notionapi.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/pdf.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/recursive_url_loader.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/s3.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/searchapi.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/serpapi.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/sonix_audio_transcription.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/sort_xyz_blockchain.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/web_cheerio.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/web_playwright.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/web_puppeteer.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_loaders/web_loaders/youtube.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_transformers/html-to-text.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_transformers/mozilla_readability.mdx (100%) rename docs/{ => core_docs}/docs/integrations/document_transformers/openai_metadata_tagger.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/ai21.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/aleph_alpha.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/aws_sagemaker.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/azure.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/bedrock.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/cloudflare_workersai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/cohere.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/fake.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/fireworks.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/google_palm.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/google_vertex_ai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/huggingface_inference.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/index.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/llama_cpp.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/ni_bittensor.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/ollama.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/openai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/prompt_layer_openai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/raycast.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/replicate.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/writer.mdx (100%) rename docs/{ => core_docs}/docs/integrations/llms/yandex.mdx (100%) rename docs/{ => core_docs}/docs/integrations/platforms/anthropic.mdx (100%) rename docs/{ => core_docs}/docs/integrations/platforms/aws.mdx (100%) rename docs/{ => core_docs}/docs/integrations/platforms/google.mdx (100%) rename docs/{ => core_docs}/docs/integrations/platforms/microsoft.mdx (100%) rename docs/{ => core_docs}/docs/integrations/platforms/openai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/chaindesk-retriever.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/chatgpt-retriever-plugin.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/hyde.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/kendra-retriever.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/metal-retriever.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/remote-retriever.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/supabase-hybrid.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/tavily.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/time-weighted-retriever.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/vectorstore.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/vespa-retriever.mdx (100%) rename docs/{ => core_docs}/docs/integrations/retrievers/zep-retriever.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/azure_openai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/bedrock.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/cloudflare_ai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/cohere.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/google_palm.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/google_vertex_ai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/hugging_face_inference.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/llama_cpp.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/minimax.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/ollama.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/openai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/tensorflow.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/transformers.mdx (100%) rename docs/{ => core_docs}/docs/integrations/text_embedding/voyageai.mdx (100%) rename docs/{ => core_docs}/docs/integrations/toolkits/json.mdx (100%) rename docs/{ => core_docs}/docs/integrations/toolkits/openapi.mdx (100%) rename docs/{ => core_docs}/docs/integrations/toolkits/sfn_agent.mdx (100%) rename docs/{ => core_docs}/docs/integrations/toolkits/sql.mdx (100%) rename docs/{ => core_docs}/docs/integrations/toolkits/vectorstore.mdx (100%) rename docs/{ => core_docs}/docs/integrations/tools/aiplugin-tool.mdx (100%) rename docs/{ => core_docs}/docs/integrations/tools/google_calendar.mdx (100%) rename docs/{ => core_docs}/docs/integrations/tools/lambda_agent.mdx (100%) rename docs/{ => core_docs}/docs/integrations/tools/webbrowser.mdx (100%) rename docs/{ => core_docs}/docs/integrations/tools/wolframalpha.mdx (100%) rename docs/{ => core_docs}/docs/integrations/tools/zapier_agent.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/analyticdb.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/cassandra.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/chroma.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/closevector.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/cloudflare_vectorize.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/convex.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/elasticsearch.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/faiss.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/googlevertexai.mdx (97%) rename docs/{ => core_docs}/docs/integrations/vectorstores/hnswlib.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/lancedb.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/memory.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/milvus.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/momento_vector_index.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/mongodb_atlas.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/myscale.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/neo4jvector.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/opensearch.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/pgvector.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/pinecone.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/prisma.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/qdrant.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/redis.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/singlestore.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/supabase.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/tigris.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/typeorm.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/typesense.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/usearch.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/vectara.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/vercel_postgres.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/voy.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/weaviate.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/xata.mdx (100%) rename docs/{ => core_docs}/docs/integrations/vectorstores/zep.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/chat_conversation_agent.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/openai_assistant.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/openai_functions_agent.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/openai_tools_agent.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/plan_and_execute.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/react.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/structured_chat.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/agent_types/xml.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/agent_structured.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/callbacks.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/cancelling_requests.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/custom_llm_agent.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/custom_llm_chat_agent.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/custom_mrkl_agent.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/handle_parsing_errors.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/logging_and_tracing.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/how_to/timeouts.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/toolkits/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/tools/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/agents/tools/how_to/agents_with_vectorstores.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/tools/how_to/dynamic.mdx (100%) rename docs/{ => core_docs}/docs/modules/agents/tools/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/callbacks/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/callbacks/how_to/background_callbacks.mdx (100%) rename docs/{ => core_docs}/docs/modules/callbacks/how_to/create_handlers.mdx (100%) rename docs/{ => core_docs}/docs/modules/callbacks/how_to/creating_subclasses.mdx (100%) create mode 100644 docs/core_docs/docs/modules/callbacks/how_to/tags.mdx rename docs/{ => core_docs}/docs/modules/callbacks/index.mdx (91%) rename docs/{ => core_docs}/docs/modules/chains/additional/analyze_document.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/constitutional_chain.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/cypher_chain.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/moderation.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/multi_prompt_router.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/multi_retrieval_qa_router.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/openai_functions/extraction.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/openai_functions/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/openai_functions/openapi.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/additional/openai_functions/tagging.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/document/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/document/map_reduce.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/document/refine.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/document/stuff.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/foundational/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/foundational/llm_chain.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/foundational/sequential_chains.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/how_to/debugging.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/how_to/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/how_to/memory.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/api.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/chat_vector_db.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/chat_vector_db_legacy.mdx (90%) rename docs/{ => core_docs}/docs/modules/chains/popular/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/sqlite.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/sqlite_legacy.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/structured_output.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/summarize.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/vector_db_qa.mdx (100%) rename docs/{ => core_docs}/docs/modules/chains/popular/vector_db_qa_legacy.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_loaders/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_loaders/how_to/creating_documents.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_loaders/how_to/csv.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_loaders/how_to/custom.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_loaders/how_to/file_directory.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_loaders/how_to/json.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_loaders/how_to/pdf.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_loaders/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_transformers/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_transformers/text_splitters/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_transformers/text_splitters/character_text_splitter.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_transformers/text_splitters/contextual_chunk_headers.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_transformers/text_splitters/custom_text_splitter.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/document_transformers/text_splitters/token.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/experimental/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/data_connection/experimental/graph_databases/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/data_connection/experimental/graph_databases/neo4j.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/experimental/multimodal_embeddings/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/data_connection/experimental/multimodal_embeddings/google_vertex_ai.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/contextual_compression.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/multi-query-retriever.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/multi-vector-retriever.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/parent-document-retriever.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/self_query/chroma-self-query.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/self_query/hnswlib-self-query.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/self_query/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/self_query/memory-self-query.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/self_query/pinecone-self-query.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/self_query/supabase-self-query.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/self_query/weaviate-self-query.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/similarity-score-threshold-retriever.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/time_weighted_vectorstore.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/how_to/vectorstore.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/retrievers/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/text_embedding/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/data_connection/text_embedding/how_to/api_errors.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/text_embedding/how_to/caching_embeddings.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/text_embedding/how_to/rate_limits.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/text_embedding/how_to/timeouts.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/text_embedding/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/data_connection/vectorstores/index.mdx (94%) rename docs/{ => core_docs}/docs/modules/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/buffer.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/buffer_memory_chat.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/buffer_window.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/buffer_window_memory.md (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/entity_summary_memory.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/multiple_memory.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/summary.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/summary_buffer.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/how_to/vectorstore_retriever_memory.mdx (100%) rename docs/{ => core_docs}/docs/modules/memory/index.mdx (95%) rename docs/{ => core_docs}/docs/modules/model_io/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/cancelling_requests.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/dealing_with_api_errors.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/dealing_with_rate_limits.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/function_calling.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/llm_caching.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/llm_chain.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/prompts.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/streaming.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/subscribing_events.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/how_to/timeouts.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/chat/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/how_to/cancelling_requests.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/how_to/dealing_with_api_errors.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/how_to/dealing_with_rate_limits.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/how_to/llm_caching.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/how_to/streaming_llm.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/how_to/subscribing_events.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/how_to/timeouts.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/models/llms/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/bytes.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/combining_output_parser.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/comma_separated.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/custom_list_parser.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/how_to/_category_.yml (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/how_to/use_with_llm_chain.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/json_functions.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/output_fixing_parser.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/string.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/output_parsers/structured.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/prompts/example_selectors/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/prompts/example_selectors/length_based.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/prompts/example_selectors/similarity.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/prompts/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/prompts/prompt_selectors/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/prompts/prompt_templates/index.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/prompts/prompt_templates/partial.mdx (100%) rename docs/{ => core_docs}/docs/modules/model_io/prompts/prompt_templates/prompt_composition.mdx (100%) rename docs/{ => core_docs}/docs/production/deployment.md (100%) rename docs/{ => core_docs}/docs/production/tracing.md (100%) rename docs/{ => core_docs}/docs/security.md (100%) rename docs/{ => core_docs}/docs/use_cases/agent_simulations/generative_agents.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/agent_simulations/index.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/agent_simulations/violation_of_expectations_chain.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/api.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/autonomous_agents/auto_gpt.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/autonomous_agents/baby_agi.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/autonomous_agents/index.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/autonomous_agents/sales_gpt.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/chatbots.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/extraction.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/question_answering/advanced_conversational_qa.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/question_answering/conversational_retrieval_agents.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/question_answering/index.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/question_answering/local_retrieval_qa.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/summarization.mdx (100%) rename docs/{ => core_docs}/docs/use_cases/tabular.mdx (100%) rename docs/{ => core_docs}/docusaurus.config.js (96%) rename docs/{ => core_docs}/package.json (85%) rename docs/{ => core_docs}/sidebars.js (96%) rename docs/{ => core_docs}/src/css/custom.css (100%) rename docs/{ => core_docs}/src/pages/index.js (100%) rename docs/{ => core_docs}/src/theme/CodeBlock/index.js (100%) rename docs/{ => core_docs}/src/theme/SearchBar.js (100%) rename docs/{ => core_docs}/static/.nojekyll (100%) rename docs/{ => core_docs}/static/img/DataberryDashboard.png (100%) rename docs/{ => core_docs}/static/img/HeliconeDashboard.png (100%) rename docs/{ => core_docs}/static/img/HeliconeKeys.png (100%) rename docs/{ => core_docs}/static/img/android-chrome-192x192.png (100%) rename docs/{ => core_docs}/static/img/android-chrome-512x512.png (100%) rename docs/{ => core_docs}/static/img/apple-touch-icon.png (100%) rename docs/{ => core_docs}/static/img/contextual_compression.jpg (100%) rename docs/{ => core_docs}/static/img/data_connection.jpg (100%) rename docs/{ => core_docs}/static/img/favicon-16x16.png (100%) rename docs/{ => core_docs}/static/img/favicon-32x32.png (100%) create mode 100644 docs/core_docs/static/img/favicon.ico rename docs/{ => core_docs}/static/img/langchain-js-runnable-cheatsheet.png (100%) rename docs/{ => core_docs}/static/img/map_reduce.jpg (100%) rename docs/{ => core_docs}/static/img/map_rerank.jpg (100%) rename docs/{ => core_docs}/static/img/model_io.jpg (100%) rename docs/{ => core_docs}/static/img/nextjs-agent-conversation.png (100%) rename docs/{ => core_docs}/static/img/parrot-chainlink-icon.png (100%) rename docs/{ => core_docs}/static/img/parrot-icon.png (100%) rename docs/{ => core_docs}/static/img/qa_data_load.png (100%) rename docs/{ => core_docs}/static/img/qa_flow.jpeg (100%) rename docs/{ => core_docs}/static/img/qa_intro.png (100%) rename docs/{ => core_docs}/static/img/refine.jpg (100%) rename docs/{ => core_docs}/static/img/sales_gpt.png (100%) rename docs/{ => core_docs}/static/img/stuff.jpg (100%) rename docs/{ => core_docs}/static/img/summary_chains.png (100%) rename docs/{ => core_docs}/static/img/sveltekit-chat-langchain.png (100%) rename docs/{ => core_docs}/static/js/google_analytics.js (100%) rename docs/{ => core_docs}/vercel.json (91%) delete mode 100644 docs/docs/modules/callbacks/how_to/tags.mdx create mode 100644 langchain/scripts/build-api-refs.sh create mode 100644 langchain/scripts/build-for-api-ref-docs.js diff --git a/.github/workflows/test-exports.yml b/.github/workflows/test-exports.yml index 208afa4e608a..c386daf863bf 100644 --- a/.github/workflows/test-exports.yml +++ b/.github/workflows/test-exports.yml @@ -1,8 +1,8 @@ name: Environment tests on: - workflow_dispatch: # Allows triggering the workflow manually in GitHub UI - workflow_call: # Allows triggering the workflow from another workflow + workflow_dispatch: # Allows triggering the workflow manually in GitHub UI + workflow_call: # Allows triggering the workflow from another workflow # If another push to the same PR or branch happens while this workflow is still running, # cancel the earlier run in favor of the next run. @@ -35,6 +35,9 @@ jobs: run: yarn install --immutable - name: Build run: yarn workspace langchain build + shell: bash + env: + SKIP_API_DOCS: true - name: Test esbuild exports run: docker compose -f docker-compose.yml run test-exports-esbuild @@ -52,6 +55,9 @@ jobs: run: yarn install --immutable - name: Build run: yarn workspace langchain build + shell: bash + env: + SKIP_API_DOCS: true - name: Test esm exports run: docker compose -f docker-compose.yml run test-exports-esm @@ -69,6 +75,9 @@ jobs: run: yarn install --immutable - name: Build run: yarn workspace langchain build + shell: bash + env: + SKIP_API_DOCS: true - name: Test cjs exports run: docker compose -f docker-compose.yml run test-exports-cjs @@ -86,6 +95,9 @@ jobs: run: yarn install --immutable - name: Build run: yarn workspace langchain build + shell: bash + env: + SKIP_API_DOCS: true - name: Test cf exports run: docker compose -f docker-compose.yml run test-exports-cf @@ -103,6 +115,9 @@ jobs: run: yarn install --immutable - name: Build run: yarn workspace langchain build + shell: bash + env: + SKIP_API_DOCS: true - name: Test vercel exports run: docker compose -f docker-compose.yml run test-exports-vercel @@ -120,6 +135,9 @@ jobs: run: yarn install --immutable - name: Build run: yarn workspace langchain build + shell: bash + env: + SKIP_API_DOCS: true - name: Test vite exports run: docker compose -f docker-compose.yml run test-exports-vite @@ -137,6 +155,9 @@ jobs: run: yarn install --immutable - name: Build run: yarn workspace langchain build + shell: bash + env: + SKIP_API_DOCS: true - name: Test bun exports run: docker compose -f docker-compose.yml run test-exports-bun diff --git a/.gitignore b/.gitignore index 99a8b426468f..3117dec5e79e 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,9 @@ firestore-debug.log tmp/ **/convex/.gitignore -**/convex/tsconfig.json \ No newline at end of file +**/convex/tsconfig.json + +langchain/api_refs_docs_build/dist/**/* + +.docusaurus/ +docs/build/ \ No newline at end of file diff --git a/docs/api_refs/.eslintrc.json b/docs/api_refs/.eslintrc.json new file mode 100644 index 000000000000..bffb357a7122 --- /dev/null +++ b/docs/api_refs/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/docs/api_refs/.gitignore b/docs/api_refs/.gitignore new file mode 100644 index 000000000000..7e0e84cd6449 --- /dev/null +++ b/docs/api_refs/.gitignore @@ -0,0 +1,39 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js +.yarn/install-state.gz + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts + +# Autogenerated docs +/public/* diff --git a/docs/api_refs/README.md b/docs/api_refs/README.md new file mode 100644 index 000000000000..8610d9e659eb --- /dev/null +++ b/docs/api_refs/README.md @@ -0,0 +1,11 @@ +# Auto-generated API documentation for LangChainJS + +Do not edit the contents of this directory directly. + +## Usage + +To build the API refs run `yarn build` from the root of this directory, then `yarn dev` or `yarn start` to serve the docs locally. +This app uses [Typedoc](https://typedoc.org/) to generate API references from the source code. The generated HTML is then placed inside the `/public` directory, which is served by [Next.js](https://nextjs.org/). +There is a default redirect when requests are made to `/` which redirects to `/index.html`. + +The API references are gitignored by default, so they will not be committed to the repo. diff --git a/docs/api_refs/generate_typedoc.sh b/docs/api_refs/generate_typedoc.sh new file mode 100644 index 000000000000..2d4a1ee287e3 --- /dev/null +++ b/docs/api_refs/generate_typedoc.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +BASE_DIR="../../langchain" + +# Create a directory to temp hold the files in src +# `api_refs_docs_build` is gitignored by default. +mkdir -p "$BASE_DIR/api_refs_docs_build/dist" + +# Copy the contents of src to docs/dist +cp -r "$BASE_DIR/src/." "$BASE_DIR/api_refs_docs_build/dist/" + +# This command will add `@ignore` to JSDoc comments +# for properties which should be ignored. +yarn add-ignore-comments + +# This command will generate the docs +yarn typedoc + +# Remove the current contents of langchain/src +rm -rf "$BASE_DIR/api_refs_docs_build/*" + +# Copy the unedited contents from docs/dist to langchain/src +cp -r "$BASE_DIR/api_refs_docs_build/dist/." "$BASE_DIR/src/" diff --git a/docs/api_refs/next.config.js b/docs/api_refs/next.config.js new file mode 100644 index 000000000000..f82bed7eb2c9 --- /dev/null +++ b/docs/api_refs/next.config.js @@ -0,0 +1,14 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + async redirects() { + return [ + { + source: '/', + destination: '/index.html', + permanent: false, + }, + ] + }, +} + +module.exports = nextConfig diff --git a/docs/api_refs/package.json b/docs/api_refs/package.json new file mode 100644 index 000000000000..856e8ee2291c --- /dev/null +++ b/docs/api_refs/package.json @@ -0,0 +1,30 @@ +{ + "name": "api_refs", + "version": "0.1.0", + "private": true, + "scripts": { + "dev": "next dev", + "typedoc": "npx typedoc --options typedoc.json", + "build:typedoc": "bash ./generate_typedoc.sh", + "add-ignore-comments": "cd ../../langchain && node scripts/build-for-api-ref-docs.js", + "build": "yarn build:typedoc && next build", + "start": "yarn build && next start -p 3001", + "lint": "next lint" + }, + "dependencies": { + "next": "14.0.1", + "react": "^18", + "react-dom": "^18" + }, + "devDependencies": { + "@types/node": "^20", + "@types/react": "^18", + "@types/react-dom": "^18", + "autoprefixer": "^10.0.1", + "eslint": "^8", + "eslint-config-next": "14.0.1", + "postcss": "^8", + "tailwindcss": "^3.3.0", + "typescript": "^5" + } +} diff --git a/docs/api_refs/postcss.config.js b/docs/api_refs/postcss.config.js new file mode 100644 index 000000000000..33ad091d26d8 --- /dev/null +++ b/docs/api_refs/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/docs/docs/_static/favicon.ico b/docs/api_refs/src/app/favicon.ico similarity index 100% rename from docs/docs/_static/favicon.ico rename to docs/api_refs/src/app/favicon.ico diff --git a/docs/api_refs/tailwind.config.ts b/docs/api_refs/tailwind.config.ts new file mode 100644 index 000000000000..1af3b8f01934 --- /dev/null +++ b/docs/api_refs/tailwind.config.ts @@ -0,0 +1,20 @@ +import type { Config } from 'tailwindcss' + +const config: Config = { + content: [ + './src/pages/**/*.{js,ts,jsx,tsx,mdx}', + './src/components/**/*.{js,ts,jsx,tsx,mdx}', + './src/app/**/*.{js,ts,jsx,tsx,mdx}', + ], + theme: { + extend: { + backgroundImage: { + 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', + 'gradient-conic': + 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', + }, + }, + }, + plugins: [], +} +export default config diff --git a/docs/api_refs/tsconfig.json b/docs/api_refs/tsconfig.json new file mode 100644 index 000000000000..e59724b283f9 --- /dev/null +++ b/docs/api_refs/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./src/*"] + } + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/docs/api_refs/typedoc.json b/docs/api_refs/typedoc.json new file mode 100644 index 000000000000..c85e10d6f751 --- /dev/null +++ b/docs/api_refs/typedoc.json @@ -0,0 +1,283 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "out": "public", + "sort": [ + "kind", + "visibility", + "instance-first", + "required-first", + "alphabetical" + ], + "tsconfig": "../../langchain/tsconfig.json", + "readme": "none", + "excludePrivate": true, + "excludeInternal": true, + "excludeExternals": true, + "excludeNotDocumented": false, + "includeVersion": true, + "sourceLinkTemplate": "https://github.com/langchain-ai/langchainjs/blob/{gitRevision}/{path}#L{line}", + "logLevel": "Error", + "entryPoints": [ + "../../langchain/src/load/index.ts", + "../../langchain/src/load/serializable.ts", + "../../langchain/src/agents/index.ts", + "../../langchain/src/agents/load.ts", + "../../langchain/src/agents/toolkits/index.ts", + "../../langchain/src/agents/toolkits/aws_sfn.ts", + "../../langchain/src/agents/toolkits/sql/index.ts", + "../../langchain/src/agents/format_scratchpad/openai_functions.ts", + "../../langchain/src/agents/format_scratchpad/openai_tools.ts", + "../../langchain/src/agents/format_scratchpad/log.ts", + "../../langchain/src/agents/format_scratchpad/xml.ts", + "../../langchain/src/agents/format_scratchpad/log_to_message.ts", + "../../langchain/src/agents/react/output_parser.ts", + "../../langchain/src/agents/xml/output_parser.ts", + "../../langchain/src/agents/openai/output_parser.ts", + "../../langchain/src/base_language/index.ts", + "../../langchain/src/tools/index.ts", + "../../langchain/src/tools/aws_lambda.ts", + "../../langchain/src/tools/aws_sfn.ts", + "../../langchain/src/tools/calculator.ts", + "../../langchain/src/tools/render.ts", + "../../langchain/src/tools/sql.ts", + "../../langchain/src/tools/webbrowser.ts", + "../../langchain/src/tools/google_calendar/index.ts", + "../../langchain/src/chains/index.ts", + "../../langchain/src/chains/combine_documents/reduce.ts", + "../../langchain/src/chains/load.ts", + "../../langchain/src/chains/openai_functions/index.ts", + "../../langchain/src/chains/query_constructor/index.ts", + "../../langchain/src/chains/query_constructor/ir.ts", + "../../langchain/src/chains/sql_db/index.ts", + "../../langchain/src/chains/graph_qa/cypher.ts", + "../../langchain/src/embeddings/base.ts", + "../../langchain/src/embeddings/bedrock.ts", + "../../langchain/src/embeddings/cache_backed.ts", + "../../langchain/src/embeddings/cloudflare_workersai.ts", + "../../langchain/src/embeddings/fake.ts", + "../../langchain/src/embeddings/ollama.ts", + "../../langchain/src/embeddings/openai.ts", + "../../langchain/src/embeddings/cohere.ts", + "../../langchain/src/embeddings/tensorflow.ts", + "../../langchain/src/embeddings/hf.ts", + "../../langchain/src/embeddings/hf_transformers.ts", + "../../langchain/src/embeddings/googlevertexai.ts", + "../../langchain/src/embeddings/googlepalm.ts", + "../../langchain/src/embeddings/minimax.ts", + "../../langchain/src/embeddings/voyage.ts", + "../../langchain/src/embeddings/llama_cpp.ts", + "../../langchain/src/llms/load.ts", + "../../langchain/src/llms/base.ts", + "../../langchain/src/llms/openai.ts", + "../../langchain/src/llms/ai21.ts", + "../../langchain/src/llms/aleph_alpha.ts", + "../../langchain/src/llms/cloudflare_workersai.ts", + "../../langchain/src/llms/cohere.ts", + "../../langchain/src/llms/hf.ts", + "../../langchain/src/llms/raycast.ts", + "../../langchain/src/llms/ollama.ts", + "../../langchain/src/llms/replicate.ts", + "../../langchain/src/llms/googlevertexai/index.ts", + "../../langchain/src/llms/googlevertexai/web.ts", + "../../langchain/src/llms/googlepalm.ts", + "../../langchain/src/llms/fireworks.ts", + "../../langchain/src/llms/sagemaker_endpoint.ts", + "../../langchain/src/llms/bedrock/index.ts", + "../../langchain/src/llms/bedrock/web.ts", + "../../langchain/src/llms/llama_cpp.ts", + "../../langchain/src/llms/writer.ts", + "../../langchain/src/llms/portkey.ts", + "../../langchain/src/llms/yandex.ts", + "../../langchain/src/llms/fake.ts", + "../../langchain/src/prompts/index.ts", + "../../langchain/src/prompts/load.ts", + "../../langchain/src/vectorstores/analyticdb.ts", + "../../langchain/src/vectorstores/base.ts", + "../../langchain/src/vectorstores/cassandra.ts", + "../../langchain/src/vectorstores/convex.ts", + "../../langchain/src/vectorstores/elasticsearch.ts", + "../../langchain/src/vectorstores/memory.ts", + "../../langchain/src/vectorstores/cloudflare_vectorize.ts", + "../../langchain/src/vectorstores/closevector/web.ts", + "../../langchain/src/vectorstores/closevector/node.ts", + "../../langchain/src/vectorstores/chroma.ts", + "../../langchain/src/vectorstores/googlevertexai.ts", + "../../langchain/src/vectorstores/hnswlib.ts", + "../../langchain/src/vectorstores/faiss.ts", + "../../langchain/src/vectorstores/weaviate.ts", + "../../langchain/src/vectorstores/lancedb.ts", + "../../langchain/src/vectorstores/momento_vector_index.ts", + "../../langchain/src/vectorstores/mongo.ts", + "../../langchain/src/vectorstores/mongodb_atlas.ts", + "../../langchain/src/vectorstores/pinecone.ts", + "../../langchain/src/vectorstores/qdrant.ts", + "../../langchain/src/vectorstores/supabase.ts", + "../../langchain/src/vectorstores/opensearch.ts", + "../../langchain/src/vectorstores/pgvector.ts", + "../../langchain/src/vectorstores/milvus.ts", + "../../langchain/src/vectorstores/neo4j_vector.ts", + "../../langchain/src/vectorstores/prisma.ts", + "../../langchain/src/vectorstores/typeorm.ts", + "../../langchain/src/vectorstores/myscale.ts", + "../../langchain/src/vectorstores/redis.ts", + "../../langchain/src/vectorstores/typesense.ts", + "../../langchain/src/vectorstores/singlestore.ts", + "../../langchain/src/vectorstores/tigris.ts", + "../../langchain/src/vectorstores/usearch.ts", + "../../langchain/src/vectorstores/vectara.ts", + "../../langchain/src/vectorstores/vercel_postgres.ts", + "../../langchain/src/vectorstores/voy.ts", + "../../langchain/src/vectorstores/xata.ts", + "../../langchain/src/vectorstores/zep.ts", + "../../langchain/src/text_splitter.ts", + "../../langchain/src/memory/index.ts", + "../../langchain/src/memory/zep.ts", + "../../langchain/src/document.ts", + "../../langchain/src/document_loaders/base.ts", + "../../langchain/src/document_loaders/web/apify_dataset.ts", + "../../langchain/src/document_loaders/web/assemblyai.ts", + "../../langchain/src/document_loaders/web/azure_blob_storage_container.ts", + "../../langchain/src/document_loaders/web/azure_blob_storage_file.ts", + "../../langchain/src/document_loaders/web/cheerio.ts", + "../../langchain/src/document_loaders/web/puppeteer.ts", + "../../langchain/src/document_loaders/web/playwright.ts", + "../../langchain/src/document_loaders/web/college_confidential.ts", + "../../langchain/src/document_loaders/web/gitbook.ts", + "../../langchain/src/document_loaders/web/hn.ts", + "../../langchain/src/document_loaders/web/imsdb.ts", + "../../langchain/src/document_loaders/web/figma.ts", + "../../langchain/src/document_loaders/web/github.ts", + "../../langchain/src/document_loaders/web/notiondb.ts", + "../../langchain/src/document_loaders/web/notionapi.ts", + "../../langchain/src/document_loaders/web/pdf.ts", + "../../langchain/src/document_loaders/web/recursive_url.ts", + "../../langchain/src/document_loaders/web/s3.ts", + "../../langchain/src/document_loaders/web/sonix_audio.ts", + "../../langchain/src/document_loaders/web/confluence.ts", + "../../langchain/src/document_loaders/web/searchapi.ts", + "../../langchain/src/document_loaders/web/serpapi.ts", + "../../langchain/src/document_loaders/web/sort_xyz_blockchain.ts", + "../../langchain/src/document_loaders/web/youtube.ts", + "../../langchain/src/document_loaders/fs/directory.ts", + "../../langchain/src/document_loaders/fs/buffer.ts", + "../../langchain/src/document_loaders/fs/text.ts", + "../../langchain/src/document_loaders/fs/json.ts", + "../../langchain/src/document_loaders/fs/srt.ts", + "../../langchain/src/document_loaders/fs/pdf.ts", + "../../langchain/src/document_loaders/fs/docx.ts", + "../../langchain/src/document_loaders/fs/epub.ts", + "../../langchain/src/document_loaders/fs/csv.ts", + "../../langchain/src/document_loaders/fs/notion.ts", + "../../langchain/src/document_loaders/fs/unstructured.ts", + "../../langchain/src/document_loaders/fs/openai_whisper_audio.ts", + "../../langchain/src/document_transformers/html_to_text.ts", + "../../langchain/src/document_transformers/mozilla_readability.ts", + "../../langchain/src/document_transformers/openai_functions.ts", + "../../langchain/src/chat_models/base.ts", + "../../langchain/src/chat_models/openai.ts", + "../../langchain/src/chat_models/portkey.ts", + "../../langchain/src/chat_models/anthropic.ts", + "../../langchain/src/chat_models/bedrock/index.ts", + "../../langchain/src/chat_models/bedrock/web.ts", + "../../langchain/src/chat_models/cloudflare_workersai.ts", + "../../langchain/src/chat_models/googlevertexai/index.ts", + "../../langchain/src/chat_models/googlevertexai/web.ts", + "../../langchain/src/chat_models/googlepalm.ts", + "../../langchain/src/chat_models/fireworks.ts", + "../../langchain/src/chat_models/baiduwenxin.ts", + "../../langchain/src/chat_models/iflytek_xinghuo/index.ts", + "../../langchain/src/chat_models/iflytek_xinghuo/web.ts", + "../../langchain/src/chat_models/ollama.ts", + "../../langchain/src/chat_models/minimax.ts", + "../../langchain/src/chat_models/llama_cpp.ts", + "../../langchain/src/chat_models/yandex.ts", + "../../langchain/src/chat_models/fake.ts", + "../../langchain/src/schema/index.ts", + "../../langchain/src/schema/document.ts", + "../../langchain/src/schema/output_parser.ts", + "../../langchain/src/schema/prompt_template.ts", + "../../langchain/src/schema/query_constructor.ts", + "../../langchain/src/schema/retriever.ts", + "../../langchain/src/schema/runnable/index.ts", + "../../langchain/src/schema/storage.ts", + "../../langchain/src/sql_db.ts", + "../../langchain/src/callbacks/index.ts", + "../../langchain/src/callbacks/handlers/llmonitor.ts", + "../../langchain/src/output_parsers/index.ts", + "../../langchain/src/output_parsers/expression.ts", + "../../langchain/src/retrievers/amazon_kendra.ts", + "../../langchain/src/retrievers/remote/index.ts", + "../../langchain/src/retrievers/supabase.ts", + "../../langchain/src/retrievers/zep.ts", + "../../langchain/src/retrievers/metal.ts", + "../../langchain/src/retrievers/chaindesk.ts", + "../../langchain/src/retrievers/databerry.ts", + "../../langchain/src/retrievers/contextual_compression.ts", + "../../langchain/src/retrievers/document_compressors/index.ts", + "../../langchain/src/retrievers/multi_query.ts", + "../../langchain/src/retrievers/multi_vector.ts", + "../../langchain/src/retrievers/parent_document.ts", + "../../langchain/src/retrievers/tavily_search_api.ts", + "../../langchain/src/retrievers/time_weighted.ts", + "../../langchain/src/retrievers/document_compressors/chain_extract.ts", + "../../langchain/src/retrievers/document_compressors/embeddings_filter.ts", + "../../langchain/src/retrievers/hyde.ts", + "../../langchain/src/retrievers/score_threshold.ts", + "../../langchain/src/retrievers/self_query/index.ts", + "../../langchain/src/retrievers/self_query/chroma.ts", + "../../langchain/src/retrievers/self_query/functional.ts", + "../../langchain/src/retrievers/self_query/pinecone.ts", + "../../langchain/src/retrievers/self_query/supabase.ts", + "../../langchain/src/retrievers/self_query/weaviate.ts", + "../../langchain/src/retrievers/vespa.ts", + "../../langchain/src/cache/index.ts", + "../../langchain/src/cache/cloudflare_kv.ts", + "../../langchain/src/cache/momento.ts", + "../../langchain/src/cache/redis.ts", + "../../langchain/src/cache/ioredis.ts", + "../../langchain/src/cache/upstash_redis.ts", + "../../langchain/src/stores/doc/in_memory.ts", + "../../langchain/src/stores/doc/gcs.ts", + "../../langchain/src/stores/file/in_memory.ts", + "../../langchain/src/stores/file/node.ts", + "../../langchain/src/stores/message/cassandra.ts", + "../../langchain/src/stores/message/convex.ts", + "../../langchain/src/stores/message/cloudflare_d1.ts", + "../../langchain/src/stores/message/in_memory.ts", + "../../langchain/src/stores/message/dynamodb.ts", + "../../langchain/src/stores/message/firestore.ts", + "../../langchain/src/stores/message/momento.ts", + "../../langchain/src/stores/message/mongodb.ts", + "../../langchain/src/stores/message/redis.ts", + "../../langchain/src/stores/message/ioredis.ts", + "../../langchain/src/stores/message/upstash_redis.ts", + "../../langchain/src/stores/message/planetscale.ts", + "../../langchain/src/stores/message/xata.ts", + "../../langchain/src/storage/convex.ts", + "../../langchain/src/storage/encoder_backed.ts", + "../../langchain/src/storage/in_memory.ts", + "../../langchain/src/storage/ioredis.ts", + "../../langchain/src/storage/vercel_kv.ts", + "../../langchain/src/storage/upstash_redis.ts", + "../../langchain/src/storage/file_system.ts", + "../../langchain/src/graphs/neo4j_graph.ts", + "../../langchain/src/hub.ts", + "../../langchain/src/util/convex.ts", + "../../langchain/src/util/document.ts", + "../../langchain/src/util/math.ts", + "../../langchain/src/util/time.ts", + "../../langchain/src/experimental/autogpt/index.ts", + "../../langchain/src/experimental/openai_assistant/index.ts", + "../../langchain/src/experimental/babyagi/index.ts", + "../../langchain/src/experimental/generative_agents/index.ts", + "../../langchain/src/experimental/plan_and_execute/index.ts", + "../../langchain/src/experimental/multimodal_embeddings/googlevertexai.ts", + "../../langchain/src/experimental/chat_models/anthropic_functions.ts", + "../../langchain/src/experimental/chat_models/bittensor.ts", + "../../langchain/src/experimental/llms/bittensor.ts", + "../../langchain/src/experimental/hubs/makersuite/googlemakersuitehub.ts", + "../../langchain/src/experimental/chains/violation_of_expectations/index.ts", + "../../langchain/src/evaluation/index.ts", + "../../langchain/src/runnables/remote.ts" + ] +} diff --git a/docs/.eslintrc.js b/docs/core_docs/.eslintrc.js similarity index 100% rename from docs/.eslintrc.js rename to docs/core_docs/.eslintrc.js diff --git a/docs/.gitignore b/docs/core_docs/.gitignore similarity index 100% rename from docs/.gitignore rename to docs/core_docs/.gitignore diff --git a/docs/.prettierignore b/docs/core_docs/.prettierignore similarity index 100% rename from docs/.prettierignore rename to docs/core_docs/.prettierignore diff --git a/docs/README.md b/docs/core_docs/README.md similarity index 100% rename from docs/README.md rename to docs/core_docs/README.md diff --git a/docs/babel.config.js b/docs/core_docs/babel.config.js similarity index 100% rename from docs/babel.config.js rename to docs/core_docs/babel.config.js diff --git a/docs/code-block-loader.js b/docs/core_docs/code-block-loader.js similarity index 59% rename from docs/code-block-loader.js rename to docs/core_docs/code-block-loader.js index 35ed30bafb65..0931ccd94477 100644 --- a/docs/code-block-loader.js +++ b/docs/core_docs/code-block-loader.js @@ -13,6 +13,15 @@ const fs = require("fs"); */ async function webpackLoader(content, map, meta) { const cb = this.async(); + const BASE_URL = "https://api.js.langchain.com"; + // Directories generated inside the API docs (excluding "modules"). + const CATEGORIES = [ + "classes", + "functions", + "interfaces", + "types", + "variables", + ]; if (!this.resourcePath.endsWith(".ts")) { cb(null, JSON.stringify({ content, imports: [] }), map, meta); @@ -48,22 +57,40 @@ async function webpackLoader(content, map, meta) { } }); + /** + * Somewhat of a hacky solution to finding the exact path of the docs file. + * Maps over all categories in the API docs and if the file exists, returns the path. + * @param {string} moduleName + * @param {string} imported + * @returns {string | undefined} + */ + const findExactPath = (moduleName, imported) => { + let modulePath; + CATEGORIES.forEach((category) => { + const componentPath = `${category}/${moduleName}.${imported}.html`; + const docsPath = path.resolve( + __dirname, + "..", + "api_refs", + "public", + componentPath + ); + if (fs.existsSync(docsPath)) { + modulePath = componentPath; + } + }); + return modulePath; + }; + imports.forEach((imp) => { const { imported, source } = imp; const moduleName = source.split("/").slice(1).join("_"); - const docsPath = path.resolve(__dirname, "docs", "api", moduleName); - const available = fs.readdirSync(docsPath, { withFileTypes: true }); - const found = available.find( - (dirent) => - dirent.isDirectory() && - fs.existsSync(path.resolve(docsPath, dirent.name, imported + ".md")) - ); - if (found) { - imp.docs = - "/" + path.join("docs", "api", moduleName, found.name, imported); + const exactPath = findExactPath(moduleName, imported); + if (exactPath) { + imp.docs = BASE_URL + "/" + exactPath; } else { throw new Error( - `Could not find docs for ${source}.${imported} in docs/api/` + `Could not find docs for ${source}.${imported} in api_refs/public/` ); } }); diff --git a/docs/docs/_static/ApifyActors.png b/docs/core_docs/docs/_static/ApifyActors.png similarity index 100% rename from docs/docs/_static/ApifyActors.png rename to docs/core_docs/docs/_static/ApifyActors.png diff --git a/docs/docs/_static/ChaindeskDashboard.png b/docs/core_docs/docs/_static/ChaindeskDashboard.png similarity index 100% rename from docs/docs/_static/ChaindeskDashboard.png rename to docs/core_docs/docs/_static/ChaindeskDashboard.png diff --git a/docs/docs/_static/HeliconeDashboard.png b/docs/core_docs/docs/_static/HeliconeDashboard.png similarity index 100% rename from docs/docs/_static/HeliconeDashboard.png rename to docs/core_docs/docs/_static/HeliconeDashboard.png diff --git a/docs/docs/_static/HeliconeKeys.png b/docs/core_docs/docs/_static/HeliconeKeys.png similarity index 100% rename from docs/docs/_static/HeliconeKeys.png rename to docs/core_docs/docs/_static/HeliconeKeys.png diff --git a/docs/docs/_static/MetalDash.png b/docs/core_docs/docs/_static/MetalDash.png similarity index 100% rename from docs/docs/_static/MetalDash.png rename to docs/core_docs/docs/_static/MetalDash.png diff --git a/docs/docs/_static/android-chrome-192x192.png b/docs/core_docs/docs/_static/android-chrome-192x192.png similarity index 100% rename from docs/docs/_static/android-chrome-192x192.png rename to docs/core_docs/docs/_static/android-chrome-192x192.png diff --git a/docs/docs/_static/android-chrome-512x512.png b/docs/core_docs/docs/_static/android-chrome-512x512.png similarity index 100% rename from docs/docs/_static/android-chrome-512x512.png rename to docs/core_docs/docs/_static/android-chrome-512x512.png diff --git a/docs/docs/_static/apple-touch-icon.png b/docs/core_docs/docs/_static/apple-touch-icon.png similarity index 100% rename from docs/docs/_static/apple-touch-icon.png rename to docs/core_docs/docs/_static/apple-touch-icon.png diff --git a/docs/docs/_static/css/custom.css b/docs/core_docs/docs/_static/css/custom.css similarity index 100% rename from docs/docs/_static/css/custom.css rename to docs/core_docs/docs/_static/css/custom.css diff --git a/docs/docs/_static/favicon-16x16.png b/docs/core_docs/docs/_static/favicon-16x16.png similarity index 100% rename from docs/docs/_static/favicon-16x16.png rename to docs/core_docs/docs/_static/favicon-16x16.png diff --git a/docs/docs/_static/favicon-32x32.png b/docs/core_docs/docs/_static/favicon-32x32.png similarity index 100% rename from docs/docs/_static/favicon-32x32.png rename to docs/core_docs/docs/_static/favicon-32x32.png diff --git a/docs/static/img/favicon.ico b/docs/core_docs/docs/_static/favicon.ico similarity index 100% rename from docs/static/img/favicon.ico rename to docs/core_docs/docs/_static/favicon.ico diff --git a/docs/docs/_static/js/mendablesearch.js b/docs/core_docs/docs/_static/js/mendablesearch.js similarity index 100% rename from docs/docs/_static/js/mendablesearch.js rename to docs/core_docs/docs/_static/js/mendablesearch.js diff --git a/docs/docs/_static/lc_modules.jpg b/docs/core_docs/docs/_static/lc_modules.jpg similarity index 100% rename from docs/docs/_static/lc_modules.jpg rename to docs/core_docs/docs/_static/lc_modules.jpg diff --git a/docs/docs/_static/parrot-chainlink-icon.png b/docs/core_docs/docs/_static/parrot-chainlink-icon.png similarity index 100% rename from docs/docs/_static/parrot-chainlink-icon.png rename to docs/core_docs/docs/_static/parrot-chainlink-icon.png diff --git a/docs/docs/_static/parrot-icon.png b/docs/core_docs/docs/_static/parrot-icon.png similarity index 100% rename from docs/docs/_static/parrot-icon.png rename to docs/core_docs/docs/_static/parrot-icon.png diff --git a/docs/docs/additional_resources/tutorials/expression_language_cheatsheet.mdx b/docs/core_docs/docs/additional_resources/tutorials/expression_language_cheatsheet.mdx similarity index 100% rename from docs/docs/additional_resources/tutorials/expression_language_cheatsheet.mdx rename to docs/core_docs/docs/additional_resources/tutorials/expression_language_cheatsheet.mdx diff --git a/docs/docs/additional_resources/tutorials/index.mdx b/docs/core_docs/docs/additional_resources/tutorials/index.mdx similarity index 100% rename from docs/docs/additional_resources/tutorials/index.mdx rename to docs/core_docs/docs/additional_resources/tutorials/index.mdx diff --git a/docs/docs/community.md b/docs/core_docs/docs/community.md similarity index 100% rename from docs/docs/community.md rename to docs/core_docs/docs/community.md diff --git a/docs/docs/ecosystem/integrations/databerry.md b/docs/core_docs/docs/ecosystem/integrations/databerry.md similarity index 100% rename from docs/docs/ecosystem/integrations/databerry.md rename to docs/core_docs/docs/ecosystem/integrations/databerry.md diff --git a/docs/docs/ecosystem/integrations/helicone.md b/docs/core_docs/docs/ecosystem/integrations/helicone.md similarity index 100% rename from docs/docs/ecosystem/integrations/helicone.md rename to docs/core_docs/docs/ecosystem/integrations/helicone.md diff --git a/docs/docs/ecosystem/integrations/index.mdx b/docs/core_docs/docs/ecosystem/integrations/index.mdx similarity index 100% rename from docs/docs/ecosystem/integrations/index.mdx rename to docs/core_docs/docs/ecosystem/integrations/index.mdx diff --git a/docs/docs/ecosystem/integrations/llmonitor.md b/docs/core_docs/docs/ecosystem/integrations/llmonitor.md similarity index 100% rename from docs/docs/ecosystem/integrations/llmonitor.md rename to docs/core_docs/docs/ecosystem/integrations/llmonitor.md diff --git a/docs/docs/ecosystem/integrations/makersuite.mdx b/docs/core_docs/docs/ecosystem/integrations/makersuite.mdx similarity index 100% rename from docs/docs/ecosystem/integrations/makersuite.mdx rename to docs/core_docs/docs/ecosystem/integrations/makersuite.mdx diff --git a/docs/docs/ecosystem/integrations/unstructured.mdx b/docs/core_docs/docs/ecosystem/integrations/unstructured.mdx similarity index 100% rename from docs/docs/ecosystem/integrations/unstructured.mdx rename to docs/core_docs/docs/ecosystem/integrations/unstructured.mdx diff --git a/docs/docs/expression_language/_category_.yml b/docs/core_docs/docs/expression_language/_category_.yml similarity index 100% rename from docs/docs/expression_language/_category_.yml rename to docs/core_docs/docs/expression_language/_category_.yml diff --git a/docs/docs/expression_language/cookbook/_category_.yml b/docs/core_docs/docs/expression_language/cookbook/_category_.yml similarity index 100% rename from docs/docs/expression_language/cookbook/_category_.yml rename to docs/core_docs/docs/expression_language/cookbook/_category_.yml diff --git a/docs/docs/expression_language/cookbook/adding_memory.mdx b/docs/core_docs/docs/expression_language/cookbook/adding_memory.mdx similarity index 100% rename from docs/docs/expression_language/cookbook/adding_memory.mdx rename to docs/core_docs/docs/expression_language/cookbook/adding_memory.mdx diff --git a/docs/docs/expression_language/cookbook/agents.mdx b/docs/core_docs/docs/expression_language/cookbook/agents.mdx similarity index 100% rename from docs/docs/expression_language/cookbook/agents.mdx rename to docs/core_docs/docs/expression_language/cookbook/agents.mdx diff --git a/docs/docs/expression_language/cookbook/index.mdx b/docs/core_docs/docs/expression_language/cookbook/index.mdx similarity index 100% rename from docs/docs/expression_language/cookbook/index.mdx rename to docs/core_docs/docs/expression_language/cookbook/index.mdx diff --git a/docs/docs/expression_language/cookbook/multiple_chains.mdx b/docs/core_docs/docs/expression_language/cookbook/multiple_chains.mdx similarity index 100% rename from docs/docs/expression_language/cookbook/multiple_chains.mdx rename to docs/core_docs/docs/expression_language/cookbook/multiple_chains.mdx diff --git a/docs/docs/expression_language/cookbook/prompt_llm_parser.mdx b/docs/core_docs/docs/expression_language/cookbook/prompt_llm_parser.mdx similarity index 100% rename from docs/docs/expression_language/cookbook/prompt_llm_parser.mdx rename to docs/core_docs/docs/expression_language/cookbook/prompt_llm_parser.mdx diff --git a/docs/docs/expression_language/cookbook/retrieval.mdx b/docs/core_docs/docs/expression_language/cookbook/retrieval.mdx similarity index 100% rename from docs/docs/expression_language/cookbook/retrieval.mdx rename to docs/core_docs/docs/expression_language/cookbook/retrieval.mdx diff --git a/docs/docs/expression_language/cookbook/sql_db.mdx b/docs/core_docs/docs/expression_language/cookbook/sql_db.mdx similarity index 100% rename from docs/docs/expression_language/cookbook/sql_db.mdx rename to docs/core_docs/docs/expression_language/cookbook/sql_db.mdx diff --git a/docs/docs/expression_language/cookbook/tools.mdx b/docs/core_docs/docs/expression_language/cookbook/tools.mdx similarity index 100% rename from docs/docs/expression_language/cookbook/tools.mdx rename to docs/core_docs/docs/expression_language/cookbook/tools.mdx diff --git a/docs/docs/expression_language/how_to/_category_.yml b/docs/core_docs/docs/expression_language/how_to/_category_.yml similarity index 100% rename from docs/docs/expression_language/how_to/_category_.yml rename to docs/core_docs/docs/expression_language/how_to/_category_.yml diff --git a/docs/docs/expression_language/how_to/cancellation.mdx b/docs/core_docs/docs/expression_language/how_to/cancellation.mdx similarity index 100% rename from docs/docs/expression_language/how_to/cancellation.mdx rename to docs/core_docs/docs/expression_language/how_to/cancellation.mdx diff --git a/docs/docs/expression_language/how_to/map.mdx b/docs/core_docs/docs/expression_language/how_to/map.mdx similarity index 100% rename from docs/docs/expression_language/how_to/map.mdx rename to docs/core_docs/docs/expression_language/how_to/map.mdx diff --git a/docs/docs/expression_language/how_to/routing.mdx b/docs/core_docs/docs/expression_language/how_to/routing.mdx similarity index 100% rename from docs/docs/expression_language/how_to/routing.mdx rename to docs/core_docs/docs/expression_language/how_to/routing.mdx diff --git a/docs/docs/expression_language/index.mdx b/docs/core_docs/docs/expression_language/index.mdx similarity index 100% rename from docs/docs/expression_language/index.mdx rename to docs/core_docs/docs/expression_language/index.mdx diff --git a/docs/docs/expression_language/interface.mdx b/docs/core_docs/docs/expression_language/interface.mdx similarity index 94% rename from docs/docs/expression_language/interface.mdx rename to docs/core_docs/docs/expression_language/interface.mdx index 550d75c5821a..d6e926b74d77 100644 --- a/docs/docs/expression_language/interface.mdx +++ b/docs/core_docs/docs/expression_language/interface.mdx @@ -6,7 +6,7 @@ import CodeBlock from "@theme/CodeBlock"; # Interface -In an effort to make it as easy as possible to create custom chains, we've implemented a ["Runnable"](/docs/api/schema_runnable/classes/Runnable) protocol that most components implement. +In an effort to make it as easy as possible to create custom chains, we've implemented a ["Runnable"](https://api.js.langchain.com/classes/schema_runnable.Runnable.html) protocol that most components implement. This is a standard interface with a few different methods, which make it easy to define custom chains as well as making it possible to invoke them in a standard way. The standard interface exposed includes: - `stream`: stream back chunks of the response diff --git a/docs/docs/expression_language/why.mdx b/docs/core_docs/docs/expression_language/why.mdx similarity index 100% rename from docs/docs/expression_language/why.mdx rename to docs/core_docs/docs/expression_language/why.mdx diff --git a/docs/docs/get_started/_category_.yml b/docs/core_docs/docs/get_started/_category_.yml similarity index 100% rename from docs/docs/get_started/_category_.yml rename to docs/core_docs/docs/get_started/_category_.yml diff --git a/docs/docs/get_started/installation.mdx b/docs/core_docs/docs/get_started/installation.mdx similarity index 100% rename from docs/docs/get_started/installation.mdx rename to docs/core_docs/docs/get_started/installation.mdx diff --git a/docs/docs/get_started/introduction.mdx b/docs/core_docs/docs/get_started/introduction.mdx similarity index 100% rename from docs/docs/get_started/introduction.mdx rename to docs/core_docs/docs/get_started/introduction.mdx diff --git a/docs/docs/get_started/quickstart.mdx b/docs/core_docs/docs/get_started/quickstart.mdx similarity index 100% rename from docs/docs/get_started/quickstart.mdx rename to docs/core_docs/docs/get_started/quickstart.mdx diff --git a/docs/docs/guides/_category_.yml b/docs/core_docs/docs/guides/_category_.yml similarity index 100% rename from docs/docs/guides/_category_.yml rename to docs/core_docs/docs/guides/_category_.yml diff --git a/docs/docs/guides/deployment/index.mdx b/docs/core_docs/docs/guides/deployment/index.mdx similarity index 100% rename from docs/docs/guides/deployment/index.mdx rename to docs/core_docs/docs/guides/deployment/index.mdx diff --git a/docs/docs/guides/deployment/nextjs.mdx b/docs/core_docs/docs/guides/deployment/nextjs.mdx similarity index 100% rename from docs/docs/guides/deployment/nextjs.mdx rename to docs/core_docs/docs/guides/deployment/nextjs.mdx diff --git a/docs/docs/guides/deployment/sveltekit.mdx b/docs/core_docs/docs/guides/deployment/sveltekit.mdx similarity index 100% rename from docs/docs/guides/deployment/sveltekit.mdx rename to docs/core_docs/docs/guides/deployment/sveltekit.mdx diff --git a/docs/docs/guides/evaluation/comparison/index.mdx b/docs/core_docs/docs/guides/evaluation/comparison/index.mdx similarity index 100% rename from docs/docs/guides/evaluation/comparison/index.mdx rename to docs/core_docs/docs/guides/evaluation/comparison/index.mdx diff --git a/docs/docs/guides/evaluation/comparison/pairwise_embedding_distance.mdx b/docs/core_docs/docs/guides/evaluation/comparison/pairwise_embedding_distance.mdx similarity index 100% rename from docs/docs/guides/evaluation/comparison/pairwise_embedding_distance.mdx rename to docs/core_docs/docs/guides/evaluation/comparison/pairwise_embedding_distance.mdx diff --git a/docs/docs/guides/evaluation/comparison/pairwise_string.mdx b/docs/core_docs/docs/guides/evaluation/comparison/pairwise_string.mdx similarity index 100% rename from docs/docs/guides/evaluation/comparison/pairwise_string.mdx rename to docs/core_docs/docs/guides/evaluation/comparison/pairwise_string.mdx diff --git a/docs/docs/guides/evaluation/examples/comparisons.mdx b/docs/core_docs/docs/guides/evaluation/examples/comparisons.mdx similarity index 100% rename from docs/docs/guides/evaluation/examples/comparisons.mdx rename to docs/core_docs/docs/guides/evaluation/examples/comparisons.mdx diff --git a/docs/docs/guides/evaluation/examples/index.mdx b/docs/core_docs/docs/guides/evaluation/examples/index.mdx similarity index 100% rename from docs/docs/guides/evaluation/examples/index.mdx rename to docs/core_docs/docs/guides/evaluation/examples/index.mdx diff --git a/docs/docs/guides/evaluation/index.mdx b/docs/core_docs/docs/guides/evaluation/index.mdx similarity index 100% rename from docs/docs/guides/evaluation/index.mdx rename to docs/core_docs/docs/guides/evaluation/index.mdx diff --git a/docs/docs/guides/evaluation/string/criteria.mdx b/docs/core_docs/docs/guides/evaluation/string/criteria.mdx similarity index 100% rename from docs/docs/guides/evaluation/string/criteria.mdx rename to docs/core_docs/docs/guides/evaluation/string/criteria.mdx diff --git a/docs/docs/guides/evaluation/string/embedding_distance.mdx b/docs/core_docs/docs/guides/evaluation/string/embedding_distance.mdx similarity index 100% rename from docs/docs/guides/evaluation/string/embedding_distance.mdx rename to docs/core_docs/docs/guides/evaluation/string/embedding_distance.mdx diff --git a/docs/docs/guides/evaluation/string/index.mdx b/docs/core_docs/docs/guides/evaluation/string/index.mdx similarity index 100% rename from docs/docs/guides/evaluation/string/index.mdx rename to docs/core_docs/docs/guides/evaluation/string/index.mdx diff --git a/docs/docs/guides/evaluation/trajectory/index.mdx b/docs/core_docs/docs/guides/evaluation/trajectory/index.mdx similarity index 100% rename from docs/docs/guides/evaluation/trajectory/index.mdx rename to docs/core_docs/docs/guides/evaluation/trajectory/index.mdx diff --git a/docs/docs/guides/evaluation/trajectory/trajectory_eval.mdx b/docs/core_docs/docs/guides/evaluation/trajectory/trajectory_eval.mdx similarity index 100% rename from docs/docs/guides/evaluation/trajectory/trajectory_eval.mdx rename to docs/core_docs/docs/guides/evaluation/trajectory/trajectory_eval.mdx diff --git a/docs/docs/guides/fallbacks.mdx b/docs/core_docs/docs/guides/fallbacks.mdx similarity index 100% rename from docs/docs/guides/fallbacks.mdx rename to docs/core_docs/docs/guides/fallbacks.mdx diff --git a/docs/docs/integrations/chat/anthropic.mdx b/docs/core_docs/docs/integrations/chat/anthropic.mdx similarity index 100% rename from docs/docs/integrations/chat/anthropic.mdx rename to docs/core_docs/docs/integrations/chat/anthropic.mdx diff --git a/docs/docs/integrations/chat/anthropic_functions.mdx b/docs/core_docs/docs/integrations/chat/anthropic_functions.mdx similarity index 100% rename from docs/docs/integrations/chat/anthropic_functions.mdx rename to docs/core_docs/docs/integrations/chat/anthropic_functions.mdx diff --git a/docs/docs/integrations/chat/azure.mdx b/docs/core_docs/docs/integrations/chat/azure.mdx similarity index 100% rename from docs/docs/integrations/chat/azure.mdx rename to docs/core_docs/docs/integrations/chat/azure.mdx diff --git a/docs/docs/integrations/chat/baidu_wenxin.mdx b/docs/core_docs/docs/integrations/chat/baidu_wenxin.mdx similarity index 100% rename from docs/docs/integrations/chat/baidu_wenxin.mdx rename to docs/core_docs/docs/integrations/chat/baidu_wenxin.mdx diff --git a/docs/docs/integrations/chat/bedrock.mdx b/docs/core_docs/docs/integrations/chat/bedrock.mdx similarity index 100% rename from docs/docs/integrations/chat/bedrock.mdx rename to docs/core_docs/docs/integrations/chat/bedrock.mdx diff --git a/docs/docs/integrations/chat/cloudflare_workersai.mdx b/docs/core_docs/docs/integrations/chat/cloudflare_workersai.mdx similarity index 100% rename from docs/docs/integrations/chat/cloudflare_workersai.mdx rename to docs/core_docs/docs/integrations/chat/cloudflare_workersai.mdx diff --git a/docs/docs/integrations/chat/fake.mdx b/docs/core_docs/docs/integrations/chat/fake.mdx similarity index 100% rename from docs/docs/integrations/chat/fake.mdx rename to docs/core_docs/docs/integrations/chat/fake.mdx diff --git a/docs/docs/integrations/chat/fireworks.mdx b/docs/core_docs/docs/integrations/chat/fireworks.mdx similarity index 100% rename from docs/docs/integrations/chat/fireworks.mdx rename to docs/core_docs/docs/integrations/chat/fireworks.mdx diff --git a/docs/docs/integrations/chat/google_palm.mdx b/docs/core_docs/docs/integrations/chat/google_palm.mdx similarity index 100% rename from docs/docs/integrations/chat/google_palm.mdx rename to docs/core_docs/docs/integrations/chat/google_palm.mdx diff --git a/docs/docs/integrations/chat/google_vertex_ai.mdx b/docs/core_docs/docs/integrations/chat/google_vertex_ai.mdx similarity index 100% rename from docs/docs/integrations/chat/google_vertex_ai.mdx rename to docs/core_docs/docs/integrations/chat/google_vertex_ai.mdx diff --git a/docs/docs/integrations/chat/index.mdx b/docs/core_docs/docs/integrations/chat/index.mdx similarity index 100% rename from docs/docs/integrations/chat/index.mdx rename to docs/core_docs/docs/integrations/chat/index.mdx diff --git a/docs/docs/integrations/chat/llama_cpp.mdx b/docs/core_docs/docs/integrations/chat/llama_cpp.mdx similarity index 100% rename from docs/docs/integrations/chat/llama_cpp.mdx rename to docs/core_docs/docs/integrations/chat/llama_cpp.mdx diff --git a/docs/docs/integrations/chat/minimax.mdx b/docs/core_docs/docs/integrations/chat/minimax.mdx similarity index 100% rename from docs/docs/integrations/chat/minimax.mdx rename to docs/core_docs/docs/integrations/chat/minimax.mdx diff --git a/docs/docs/integrations/chat/ni_bittensor.mdx b/docs/core_docs/docs/integrations/chat/ni_bittensor.mdx similarity index 100% rename from docs/docs/integrations/chat/ni_bittensor.mdx rename to docs/core_docs/docs/integrations/chat/ni_bittensor.mdx diff --git a/docs/docs/integrations/chat/ollama.mdx b/docs/core_docs/docs/integrations/chat/ollama.mdx similarity index 100% rename from docs/docs/integrations/chat/ollama.mdx rename to docs/core_docs/docs/integrations/chat/ollama.mdx diff --git a/docs/docs/integrations/chat/openai.mdx b/docs/core_docs/docs/integrations/chat/openai.mdx similarity index 100% rename from docs/docs/integrations/chat/openai.mdx rename to docs/core_docs/docs/integrations/chat/openai.mdx diff --git a/docs/docs/integrations/chat/prompt_layer_openai.mdx b/docs/core_docs/docs/integrations/chat/prompt_layer_openai.mdx similarity index 100% rename from docs/docs/integrations/chat/prompt_layer_openai.mdx rename to docs/core_docs/docs/integrations/chat/prompt_layer_openai.mdx diff --git a/docs/docs/integrations/chat/yandex.mdx b/docs/core_docs/docs/integrations/chat/yandex.mdx similarity index 100% rename from docs/docs/integrations/chat/yandex.mdx rename to docs/core_docs/docs/integrations/chat/yandex.mdx diff --git a/docs/docs/integrations/chat_memory/cassandra.mdx b/docs/core_docs/docs/integrations/chat_memory/cassandra.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/cassandra.mdx rename to docs/core_docs/docs/integrations/chat_memory/cassandra.mdx diff --git a/docs/docs/integrations/chat_memory/cloudflare_d1.mdx b/docs/core_docs/docs/integrations/chat_memory/cloudflare_d1.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/cloudflare_d1.mdx rename to docs/core_docs/docs/integrations/chat_memory/cloudflare_d1.mdx diff --git a/docs/docs/integrations/chat_memory/convex.mdx b/docs/core_docs/docs/integrations/chat_memory/convex.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/convex.mdx rename to docs/core_docs/docs/integrations/chat_memory/convex.mdx diff --git a/docs/docs/integrations/chat_memory/dynamodb.mdx b/docs/core_docs/docs/integrations/chat_memory/dynamodb.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/dynamodb.mdx rename to docs/core_docs/docs/integrations/chat_memory/dynamodb.mdx diff --git a/docs/docs/integrations/chat_memory/firestore.mdx b/docs/core_docs/docs/integrations/chat_memory/firestore.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/firestore.mdx rename to docs/core_docs/docs/integrations/chat_memory/firestore.mdx diff --git a/docs/docs/integrations/chat_memory/momento.mdx b/docs/core_docs/docs/integrations/chat_memory/momento.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/momento.mdx rename to docs/core_docs/docs/integrations/chat_memory/momento.mdx diff --git a/docs/docs/integrations/chat_memory/mongodb.mdx b/docs/core_docs/docs/integrations/chat_memory/mongodb.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/mongodb.mdx rename to docs/core_docs/docs/integrations/chat_memory/mongodb.mdx diff --git a/docs/docs/integrations/chat_memory/motorhead_memory.mdx b/docs/core_docs/docs/integrations/chat_memory/motorhead_memory.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/motorhead_memory.mdx rename to docs/core_docs/docs/integrations/chat_memory/motorhead_memory.mdx diff --git a/docs/docs/integrations/chat_memory/planetscale.mdx b/docs/core_docs/docs/integrations/chat_memory/planetscale.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/planetscale.mdx rename to docs/core_docs/docs/integrations/chat_memory/planetscale.mdx diff --git a/docs/docs/integrations/chat_memory/redis.mdx b/docs/core_docs/docs/integrations/chat_memory/redis.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/redis.mdx rename to docs/core_docs/docs/integrations/chat_memory/redis.mdx diff --git a/docs/docs/integrations/chat_memory/upstash_redis.mdx b/docs/core_docs/docs/integrations/chat_memory/upstash_redis.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/upstash_redis.mdx rename to docs/core_docs/docs/integrations/chat_memory/upstash_redis.mdx diff --git a/docs/docs/integrations/chat_memory/xata.mdx b/docs/core_docs/docs/integrations/chat_memory/xata.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/xata.mdx rename to docs/core_docs/docs/integrations/chat_memory/xata.mdx diff --git a/docs/docs/integrations/chat_memory/zep_memory.mdx b/docs/core_docs/docs/integrations/chat_memory/zep_memory.mdx similarity index 100% rename from docs/docs/integrations/chat_memory/zep_memory.mdx rename to docs/core_docs/docs/integrations/chat_memory/zep_memory.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/csv.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/csv.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/csv.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/csv.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/directory.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/directory.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/directory.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/directory.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/docx.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/docx.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/docx.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/docx.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/epub.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/epub.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/epub.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/epub.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/index.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/index.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/index.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/index.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/json.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/json.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/json.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/json.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/jsonlines.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/jsonlines.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/jsonlines.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/jsonlines.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/notion_markdown.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/notion_markdown.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/notion_markdown.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/notion_markdown.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/openai_whisper_audio.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/openai_whisper_audio.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/openai_whisper_audio.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/openai_whisper_audio.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/pdf.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/pdf.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/pdf.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/pdf.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/subtitles.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/subtitles.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/subtitles.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/subtitles.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/text.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/text.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/text.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/text.mdx diff --git a/docs/docs/integrations/document_loaders/file_loaders/unstructured.mdx b/docs/core_docs/docs/integrations/document_loaders/file_loaders/unstructured.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/file_loaders/unstructured.mdx rename to docs/core_docs/docs/integrations/document_loaders/file_loaders/unstructured.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/apify_dataset.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/apify_dataset.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/apify_dataset.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/apify_dataset.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/assemblyai_audio_transcription.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/assemblyai_audio_transcription.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/assemblyai_audio_transcription.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/assemblyai_audio_transcription.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/azure_blob_storage_container.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/azure_blob_storage_container.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/azure_blob_storage_container.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/azure_blob_storage_container.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/azure_blob_storage_file.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/azure_blob_storage_file.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/azure_blob_storage_file.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/azure_blob_storage_file.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/college_confidential.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/college_confidential.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/college_confidential.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/college_confidential.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/confluence.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/confluence.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/confluence.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/confluence.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/figma.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/figma.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/figma.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/figma.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/gitbook.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/gitbook.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/gitbook.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/gitbook.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/github.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/github.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/github.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/github.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/hn.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/hn.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/hn.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/hn.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/imsdb.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/imsdb.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/imsdb.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/imsdb.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/index.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/index.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/index.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/index.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/notionapi.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/notionapi.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/notionapi.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/notionapi.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/pdf.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/pdf.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/pdf.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/pdf.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/recursive_url_loader.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/recursive_url_loader.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/recursive_url_loader.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/recursive_url_loader.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/s3.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/s3.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/s3.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/s3.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/searchapi.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/searchapi.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/searchapi.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/searchapi.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/serpapi.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/serpapi.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/serpapi.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/serpapi.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/sonix_audio_transcription.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/sonix_audio_transcription.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/sonix_audio_transcription.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/sonix_audio_transcription.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/sort_xyz_blockchain.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/sort_xyz_blockchain.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/sort_xyz_blockchain.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/sort_xyz_blockchain.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/web_cheerio.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/web_cheerio.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/web_cheerio.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/web_cheerio.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/web_playwright.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/web_playwright.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/web_playwright.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/web_playwright.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/web_puppeteer.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/web_puppeteer.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/web_puppeteer.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/web_puppeteer.mdx diff --git a/docs/docs/integrations/document_loaders/web_loaders/youtube.mdx b/docs/core_docs/docs/integrations/document_loaders/web_loaders/youtube.mdx similarity index 100% rename from docs/docs/integrations/document_loaders/web_loaders/youtube.mdx rename to docs/core_docs/docs/integrations/document_loaders/web_loaders/youtube.mdx diff --git a/docs/docs/integrations/document_transformers/html-to-text.mdx b/docs/core_docs/docs/integrations/document_transformers/html-to-text.mdx similarity index 100% rename from docs/docs/integrations/document_transformers/html-to-text.mdx rename to docs/core_docs/docs/integrations/document_transformers/html-to-text.mdx diff --git a/docs/docs/integrations/document_transformers/mozilla_readability.mdx b/docs/core_docs/docs/integrations/document_transformers/mozilla_readability.mdx similarity index 100% rename from docs/docs/integrations/document_transformers/mozilla_readability.mdx rename to docs/core_docs/docs/integrations/document_transformers/mozilla_readability.mdx diff --git a/docs/docs/integrations/document_transformers/openai_metadata_tagger.mdx b/docs/core_docs/docs/integrations/document_transformers/openai_metadata_tagger.mdx similarity index 100% rename from docs/docs/integrations/document_transformers/openai_metadata_tagger.mdx rename to docs/core_docs/docs/integrations/document_transformers/openai_metadata_tagger.mdx diff --git a/docs/docs/integrations/llms/ai21.mdx b/docs/core_docs/docs/integrations/llms/ai21.mdx similarity index 100% rename from docs/docs/integrations/llms/ai21.mdx rename to docs/core_docs/docs/integrations/llms/ai21.mdx diff --git a/docs/docs/integrations/llms/aleph_alpha.mdx b/docs/core_docs/docs/integrations/llms/aleph_alpha.mdx similarity index 100% rename from docs/docs/integrations/llms/aleph_alpha.mdx rename to docs/core_docs/docs/integrations/llms/aleph_alpha.mdx diff --git a/docs/docs/integrations/llms/aws_sagemaker.mdx b/docs/core_docs/docs/integrations/llms/aws_sagemaker.mdx similarity index 100% rename from docs/docs/integrations/llms/aws_sagemaker.mdx rename to docs/core_docs/docs/integrations/llms/aws_sagemaker.mdx diff --git a/docs/docs/integrations/llms/azure.mdx b/docs/core_docs/docs/integrations/llms/azure.mdx similarity index 100% rename from docs/docs/integrations/llms/azure.mdx rename to docs/core_docs/docs/integrations/llms/azure.mdx diff --git a/docs/docs/integrations/llms/bedrock.mdx b/docs/core_docs/docs/integrations/llms/bedrock.mdx similarity index 100% rename from docs/docs/integrations/llms/bedrock.mdx rename to docs/core_docs/docs/integrations/llms/bedrock.mdx diff --git a/docs/docs/integrations/llms/cloudflare_workersai.mdx b/docs/core_docs/docs/integrations/llms/cloudflare_workersai.mdx similarity index 100% rename from docs/docs/integrations/llms/cloudflare_workersai.mdx rename to docs/core_docs/docs/integrations/llms/cloudflare_workersai.mdx diff --git a/docs/docs/integrations/llms/cohere.mdx b/docs/core_docs/docs/integrations/llms/cohere.mdx similarity index 100% rename from docs/docs/integrations/llms/cohere.mdx rename to docs/core_docs/docs/integrations/llms/cohere.mdx diff --git a/docs/docs/integrations/llms/fake.mdx b/docs/core_docs/docs/integrations/llms/fake.mdx similarity index 100% rename from docs/docs/integrations/llms/fake.mdx rename to docs/core_docs/docs/integrations/llms/fake.mdx diff --git a/docs/docs/integrations/llms/fireworks.mdx b/docs/core_docs/docs/integrations/llms/fireworks.mdx similarity index 100% rename from docs/docs/integrations/llms/fireworks.mdx rename to docs/core_docs/docs/integrations/llms/fireworks.mdx diff --git a/docs/docs/integrations/llms/google_palm.mdx b/docs/core_docs/docs/integrations/llms/google_palm.mdx similarity index 100% rename from docs/docs/integrations/llms/google_palm.mdx rename to docs/core_docs/docs/integrations/llms/google_palm.mdx diff --git a/docs/docs/integrations/llms/google_vertex_ai.mdx b/docs/core_docs/docs/integrations/llms/google_vertex_ai.mdx similarity index 100% rename from docs/docs/integrations/llms/google_vertex_ai.mdx rename to docs/core_docs/docs/integrations/llms/google_vertex_ai.mdx diff --git a/docs/docs/integrations/llms/huggingface_inference.mdx b/docs/core_docs/docs/integrations/llms/huggingface_inference.mdx similarity index 100% rename from docs/docs/integrations/llms/huggingface_inference.mdx rename to docs/core_docs/docs/integrations/llms/huggingface_inference.mdx diff --git a/docs/docs/integrations/llms/index.mdx b/docs/core_docs/docs/integrations/llms/index.mdx similarity index 100% rename from docs/docs/integrations/llms/index.mdx rename to docs/core_docs/docs/integrations/llms/index.mdx diff --git a/docs/docs/integrations/llms/llama_cpp.mdx b/docs/core_docs/docs/integrations/llms/llama_cpp.mdx similarity index 100% rename from docs/docs/integrations/llms/llama_cpp.mdx rename to docs/core_docs/docs/integrations/llms/llama_cpp.mdx diff --git a/docs/docs/integrations/llms/ni_bittensor.mdx b/docs/core_docs/docs/integrations/llms/ni_bittensor.mdx similarity index 100% rename from docs/docs/integrations/llms/ni_bittensor.mdx rename to docs/core_docs/docs/integrations/llms/ni_bittensor.mdx diff --git a/docs/docs/integrations/llms/ollama.mdx b/docs/core_docs/docs/integrations/llms/ollama.mdx similarity index 100% rename from docs/docs/integrations/llms/ollama.mdx rename to docs/core_docs/docs/integrations/llms/ollama.mdx diff --git a/docs/docs/integrations/llms/openai.mdx b/docs/core_docs/docs/integrations/llms/openai.mdx similarity index 100% rename from docs/docs/integrations/llms/openai.mdx rename to docs/core_docs/docs/integrations/llms/openai.mdx diff --git a/docs/docs/integrations/llms/prompt_layer_openai.mdx b/docs/core_docs/docs/integrations/llms/prompt_layer_openai.mdx similarity index 100% rename from docs/docs/integrations/llms/prompt_layer_openai.mdx rename to docs/core_docs/docs/integrations/llms/prompt_layer_openai.mdx diff --git a/docs/docs/integrations/llms/raycast.mdx b/docs/core_docs/docs/integrations/llms/raycast.mdx similarity index 100% rename from docs/docs/integrations/llms/raycast.mdx rename to docs/core_docs/docs/integrations/llms/raycast.mdx diff --git a/docs/docs/integrations/llms/replicate.mdx b/docs/core_docs/docs/integrations/llms/replicate.mdx similarity index 100% rename from docs/docs/integrations/llms/replicate.mdx rename to docs/core_docs/docs/integrations/llms/replicate.mdx diff --git a/docs/docs/integrations/llms/writer.mdx b/docs/core_docs/docs/integrations/llms/writer.mdx similarity index 100% rename from docs/docs/integrations/llms/writer.mdx rename to docs/core_docs/docs/integrations/llms/writer.mdx diff --git a/docs/docs/integrations/llms/yandex.mdx b/docs/core_docs/docs/integrations/llms/yandex.mdx similarity index 100% rename from docs/docs/integrations/llms/yandex.mdx rename to docs/core_docs/docs/integrations/llms/yandex.mdx diff --git a/docs/docs/integrations/platforms/anthropic.mdx b/docs/core_docs/docs/integrations/platforms/anthropic.mdx similarity index 100% rename from docs/docs/integrations/platforms/anthropic.mdx rename to docs/core_docs/docs/integrations/platforms/anthropic.mdx diff --git a/docs/docs/integrations/platforms/aws.mdx b/docs/core_docs/docs/integrations/platforms/aws.mdx similarity index 100% rename from docs/docs/integrations/platforms/aws.mdx rename to docs/core_docs/docs/integrations/platforms/aws.mdx diff --git a/docs/docs/integrations/platforms/google.mdx b/docs/core_docs/docs/integrations/platforms/google.mdx similarity index 100% rename from docs/docs/integrations/platforms/google.mdx rename to docs/core_docs/docs/integrations/platforms/google.mdx diff --git a/docs/docs/integrations/platforms/microsoft.mdx b/docs/core_docs/docs/integrations/platforms/microsoft.mdx similarity index 100% rename from docs/docs/integrations/platforms/microsoft.mdx rename to docs/core_docs/docs/integrations/platforms/microsoft.mdx diff --git a/docs/docs/integrations/platforms/openai.mdx b/docs/core_docs/docs/integrations/platforms/openai.mdx similarity index 100% rename from docs/docs/integrations/platforms/openai.mdx rename to docs/core_docs/docs/integrations/platforms/openai.mdx diff --git a/docs/docs/integrations/retrievers/chaindesk-retriever.mdx b/docs/core_docs/docs/integrations/retrievers/chaindesk-retriever.mdx similarity index 100% rename from docs/docs/integrations/retrievers/chaindesk-retriever.mdx rename to docs/core_docs/docs/integrations/retrievers/chaindesk-retriever.mdx diff --git a/docs/docs/integrations/retrievers/chatgpt-retriever-plugin.mdx b/docs/core_docs/docs/integrations/retrievers/chatgpt-retriever-plugin.mdx similarity index 100% rename from docs/docs/integrations/retrievers/chatgpt-retriever-plugin.mdx rename to docs/core_docs/docs/integrations/retrievers/chatgpt-retriever-plugin.mdx diff --git a/docs/docs/integrations/retrievers/hyde.mdx b/docs/core_docs/docs/integrations/retrievers/hyde.mdx similarity index 100% rename from docs/docs/integrations/retrievers/hyde.mdx rename to docs/core_docs/docs/integrations/retrievers/hyde.mdx diff --git a/docs/docs/integrations/retrievers/kendra-retriever.mdx b/docs/core_docs/docs/integrations/retrievers/kendra-retriever.mdx similarity index 100% rename from docs/docs/integrations/retrievers/kendra-retriever.mdx rename to docs/core_docs/docs/integrations/retrievers/kendra-retriever.mdx diff --git a/docs/docs/integrations/retrievers/metal-retriever.mdx b/docs/core_docs/docs/integrations/retrievers/metal-retriever.mdx similarity index 100% rename from docs/docs/integrations/retrievers/metal-retriever.mdx rename to docs/core_docs/docs/integrations/retrievers/metal-retriever.mdx diff --git a/docs/docs/integrations/retrievers/remote-retriever.mdx b/docs/core_docs/docs/integrations/retrievers/remote-retriever.mdx similarity index 100% rename from docs/docs/integrations/retrievers/remote-retriever.mdx rename to docs/core_docs/docs/integrations/retrievers/remote-retriever.mdx diff --git a/docs/docs/integrations/retrievers/supabase-hybrid.mdx b/docs/core_docs/docs/integrations/retrievers/supabase-hybrid.mdx similarity index 100% rename from docs/docs/integrations/retrievers/supabase-hybrid.mdx rename to docs/core_docs/docs/integrations/retrievers/supabase-hybrid.mdx diff --git a/docs/docs/integrations/retrievers/tavily.mdx b/docs/core_docs/docs/integrations/retrievers/tavily.mdx similarity index 100% rename from docs/docs/integrations/retrievers/tavily.mdx rename to docs/core_docs/docs/integrations/retrievers/tavily.mdx diff --git a/docs/docs/integrations/retrievers/time-weighted-retriever.mdx b/docs/core_docs/docs/integrations/retrievers/time-weighted-retriever.mdx similarity index 100% rename from docs/docs/integrations/retrievers/time-weighted-retriever.mdx rename to docs/core_docs/docs/integrations/retrievers/time-weighted-retriever.mdx diff --git a/docs/docs/integrations/retrievers/vectorstore.mdx b/docs/core_docs/docs/integrations/retrievers/vectorstore.mdx similarity index 100% rename from docs/docs/integrations/retrievers/vectorstore.mdx rename to docs/core_docs/docs/integrations/retrievers/vectorstore.mdx diff --git a/docs/docs/integrations/retrievers/vespa-retriever.mdx b/docs/core_docs/docs/integrations/retrievers/vespa-retriever.mdx similarity index 100% rename from docs/docs/integrations/retrievers/vespa-retriever.mdx rename to docs/core_docs/docs/integrations/retrievers/vespa-retriever.mdx diff --git a/docs/docs/integrations/retrievers/zep-retriever.mdx b/docs/core_docs/docs/integrations/retrievers/zep-retriever.mdx similarity index 100% rename from docs/docs/integrations/retrievers/zep-retriever.mdx rename to docs/core_docs/docs/integrations/retrievers/zep-retriever.mdx diff --git a/docs/docs/integrations/text_embedding/azure_openai.mdx b/docs/core_docs/docs/integrations/text_embedding/azure_openai.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/azure_openai.mdx rename to docs/core_docs/docs/integrations/text_embedding/azure_openai.mdx diff --git a/docs/docs/integrations/text_embedding/bedrock.mdx b/docs/core_docs/docs/integrations/text_embedding/bedrock.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/bedrock.mdx rename to docs/core_docs/docs/integrations/text_embedding/bedrock.mdx diff --git a/docs/docs/integrations/text_embedding/cloudflare_ai.mdx b/docs/core_docs/docs/integrations/text_embedding/cloudflare_ai.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/cloudflare_ai.mdx rename to docs/core_docs/docs/integrations/text_embedding/cloudflare_ai.mdx diff --git a/docs/docs/integrations/text_embedding/cohere.mdx b/docs/core_docs/docs/integrations/text_embedding/cohere.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/cohere.mdx rename to docs/core_docs/docs/integrations/text_embedding/cohere.mdx diff --git a/docs/docs/integrations/text_embedding/google_palm.mdx b/docs/core_docs/docs/integrations/text_embedding/google_palm.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/google_palm.mdx rename to docs/core_docs/docs/integrations/text_embedding/google_palm.mdx diff --git a/docs/docs/integrations/text_embedding/google_vertex_ai.mdx b/docs/core_docs/docs/integrations/text_embedding/google_vertex_ai.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/google_vertex_ai.mdx rename to docs/core_docs/docs/integrations/text_embedding/google_vertex_ai.mdx diff --git a/docs/docs/integrations/text_embedding/hugging_face_inference.mdx b/docs/core_docs/docs/integrations/text_embedding/hugging_face_inference.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/hugging_face_inference.mdx rename to docs/core_docs/docs/integrations/text_embedding/hugging_face_inference.mdx diff --git a/docs/docs/integrations/text_embedding/llama_cpp.mdx b/docs/core_docs/docs/integrations/text_embedding/llama_cpp.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/llama_cpp.mdx rename to docs/core_docs/docs/integrations/text_embedding/llama_cpp.mdx diff --git a/docs/docs/integrations/text_embedding/minimax.mdx b/docs/core_docs/docs/integrations/text_embedding/minimax.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/minimax.mdx rename to docs/core_docs/docs/integrations/text_embedding/minimax.mdx diff --git a/docs/docs/integrations/text_embedding/ollama.mdx b/docs/core_docs/docs/integrations/text_embedding/ollama.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/ollama.mdx rename to docs/core_docs/docs/integrations/text_embedding/ollama.mdx diff --git a/docs/docs/integrations/text_embedding/openai.mdx b/docs/core_docs/docs/integrations/text_embedding/openai.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/openai.mdx rename to docs/core_docs/docs/integrations/text_embedding/openai.mdx diff --git a/docs/docs/integrations/text_embedding/tensorflow.mdx b/docs/core_docs/docs/integrations/text_embedding/tensorflow.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/tensorflow.mdx rename to docs/core_docs/docs/integrations/text_embedding/tensorflow.mdx diff --git a/docs/docs/integrations/text_embedding/transformers.mdx b/docs/core_docs/docs/integrations/text_embedding/transformers.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/transformers.mdx rename to docs/core_docs/docs/integrations/text_embedding/transformers.mdx diff --git a/docs/docs/integrations/text_embedding/voyageai.mdx b/docs/core_docs/docs/integrations/text_embedding/voyageai.mdx similarity index 100% rename from docs/docs/integrations/text_embedding/voyageai.mdx rename to docs/core_docs/docs/integrations/text_embedding/voyageai.mdx diff --git a/docs/docs/integrations/toolkits/json.mdx b/docs/core_docs/docs/integrations/toolkits/json.mdx similarity index 100% rename from docs/docs/integrations/toolkits/json.mdx rename to docs/core_docs/docs/integrations/toolkits/json.mdx diff --git a/docs/docs/integrations/toolkits/openapi.mdx b/docs/core_docs/docs/integrations/toolkits/openapi.mdx similarity index 100% rename from docs/docs/integrations/toolkits/openapi.mdx rename to docs/core_docs/docs/integrations/toolkits/openapi.mdx diff --git a/docs/docs/integrations/toolkits/sfn_agent.mdx b/docs/core_docs/docs/integrations/toolkits/sfn_agent.mdx similarity index 100% rename from docs/docs/integrations/toolkits/sfn_agent.mdx rename to docs/core_docs/docs/integrations/toolkits/sfn_agent.mdx diff --git a/docs/docs/integrations/toolkits/sql.mdx b/docs/core_docs/docs/integrations/toolkits/sql.mdx similarity index 100% rename from docs/docs/integrations/toolkits/sql.mdx rename to docs/core_docs/docs/integrations/toolkits/sql.mdx diff --git a/docs/docs/integrations/toolkits/vectorstore.mdx b/docs/core_docs/docs/integrations/toolkits/vectorstore.mdx similarity index 100% rename from docs/docs/integrations/toolkits/vectorstore.mdx rename to docs/core_docs/docs/integrations/toolkits/vectorstore.mdx diff --git a/docs/docs/integrations/tools/aiplugin-tool.mdx b/docs/core_docs/docs/integrations/tools/aiplugin-tool.mdx similarity index 100% rename from docs/docs/integrations/tools/aiplugin-tool.mdx rename to docs/core_docs/docs/integrations/tools/aiplugin-tool.mdx diff --git a/docs/docs/integrations/tools/google_calendar.mdx b/docs/core_docs/docs/integrations/tools/google_calendar.mdx similarity index 100% rename from docs/docs/integrations/tools/google_calendar.mdx rename to docs/core_docs/docs/integrations/tools/google_calendar.mdx diff --git a/docs/docs/integrations/tools/lambda_agent.mdx b/docs/core_docs/docs/integrations/tools/lambda_agent.mdx similarity index 100% rename from docs/docs/integrations/tools/lambda_agent.mdx rename to docs/core_docs/docs/integrations/tools/lambda_agent.mdx diff --git a/docs/docs/integrations/tools/webbrowser.mdx b/docs/core_docs/docs/integrations/tools/webbrowser.mdx similarity index 100% rename from docs/docs/integrations/tools/webbrowser.mdx rename to docs/core_docs/docs/integrations/tools/webbrowser.mdx diff --git a/docs/docs/integrations/tools/wolframalpha.mdx b/docs/core_docs/docs/integrations/tools/wolframalpha.mdx similarity index 100% rename from docs/docs/integrations/tools/wolframalpha.mdx rename to docs/core_docs/docs/integrations/tools/wolframalpha.mdx diff --git a/docs/docs/integrations/tools/zapier_agent.mdx b/docs/core_docs/docs/integrations/tools/zapier_agent.mdx similarity index 100% rename from docs/docs/integrations/tools/zapier_agent.mdx rename to docs/core_docs/docs/integrations/tools/zapier_agent.mdx diff --git a/docs/docs/integrations/vectorstores/analyticdb.mdx b/docs/core_docs/docs/integrations/vectorstores/analyticdb.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/analyticdb.mdx rename to docs/core_docs/docs/integrations/vectorstores/analyticdb.mdx diff --git a/docs/docs/integrations/vectorstores/cassandra.mdx b/docs/core_docs/docs/integrations/vectorstores/cassandra.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/cassandra.mdx rename to docs/core_docs/docs/integrations/vectorstores/cassandra.mdx diff --git a/docs/docs/integrations/vectorstores/chroma.mdx b/docs/core_docs/docs/integrations/vectorstores/chroma.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/chroma.mdx rename to docs/core_docs/docs/integrations/vectorstores/chroma.mdx diff --git a/docs/docs/integrations/vectorstores/closevector.mdx b/docs/core_docs/docs/integrations/vectorstores/closevector.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/closevector.mdx rename to docs/core_docs/docs/integrations/vectorstores/closevector.mdx diff --git a/docs/docs/integrations/vectorstores/cloudflare_vectorize.mdx b/docs/core_docs/docs/integrations/vectorstores/cloudflare_vectorize.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/cloudflare_vectorize.mdx rename to docs/core_docs/docs/integrations/vectorstores/cloudflare_vectorize.mdx diff --git a/docs/docs/integrations/vectorstores/convex.mdx b/docs/core_docs/docs/integrations/vectorstores/convex.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/convex.mdx rename to docs/core_docs/docs/integrations/vectorstores/convex.mdx diff --git a/docs/docs/integrations/vectorstores/elasticsearch.mdx b/docs/core_docs/docs/integrations/vectorstores/elasticsearch.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/elasticsearch.mdx rename to docs/core_docs/docs/integrations/vectorstores/elasticsearch.mdx diff --git a/docs/docs/integrations/vectorstores/faiss.mdx b/docs/core_docs/docs/integrations/vectorstores/faiss.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/faiss.mdx rename to docs/core_docs/docs/integrations/vectorstores/faiss.mdx diff --git a/docs/docs/integrations/vectorstores/googlevertexai.mdx b/docs/core_docs/docs/integrations/vectorstores/googlevertexai.mdx similarity index 97% rename from docs/docs/integrations/vectorstores/googlevertexai.mdx rename to docs/core_docs/docs/integrations/vectorstores/googlevertexai.mdx index a9b4e11e4997..6e6a1ca10a00 100644 --- a/docs/docs/integrations/vectorstores/googlevertexai.mdx +++ b/docs/core_docs/docs/integrations/vectorstores/googlevertexai.mdx @@ -60,7 +60,7 @@ for Matching Engine: You will also need a document store. While an `InMemoryDocstore` is ok for initial testing, you will want to use something like a -[GoogleCloudStorageDocstore](/docs/api/stores_doc_gcs/classes/GoogleCloudStorageDocstore) to store it more permanently. +[GoogleCloudStorageDocstore](https://api.js.langchain.com/classes/stores_doc_gcs.GoogleCloudStorageDocstore.html) to store it more permanently. ```typescript import { MatchingEngine } from "langchain/vectorstores/googlevertexai"; diff --git a/docs/docs/integrations/vectorstores/hnswlib.mdx b/docs/core_docs/docs/integrations/vectorstores/hnswlib.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/hnswlib.mdx rename to docs/core_docs/docs/integrations/vectorstores/hnswlib.mdx diff --git a/docs/docs/integrations/vectorstores/lancedb.mdx b/docs/core_docs/docs/integrations/vectorstores/lancedb.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/lancedb.mdx rename to docs/core_docs/docs/integrations/vectorstores/lancedb.mdx diff --git a/docs/docs/integrations/vectorstores/memory.mdx b/docs/core_docs/docs/integrations/vectorstores/memory.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/memory.mdx rename to docs/core_docs/docs/integrations/vectorstores/memory.mdx diff --git a/docs/docs/integrations/vectorstores/milvus.mdx b/docs/core_docs/docs/integrations/vectorstores/milvus.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/milvus.mdx rename to docs/core_docs/docs/integrations/vectorstores/milvus.mdx diff --git a/docs/docs/integrations/vectorstores/momento_vector_index.mdx b/docs/core_docs/docs/integrations/vectorstores/momento_vector_index.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/momento_vector_index.mdx rename to docs/core_docs/docs/integrations/vectorstores/momento_vector_index.mdx diff --git a/docs/docs/integrations/vectorstores/mongodb_atlas.mdx b/docs/core_docs/docs/integrations/vectorstores/mongodb_atlas.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/mongodb_atlas.mdx rename to docs/core_docs/docs/integrations/vectorstores/mongodb_atlas.mdx diff --git a/docs/docs/integrations/vectorstores/myscale.mdx b/docs/core_docs/docs/integrations/vectorstores/myscale.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/myscale.mdx rename to docs/core_docs/docs/integrations/vectorstores/myscale.mdx diff --git a/docs/docs/integrations/vectorstores/neo4jvector.mdx b/docs/core_docs/docs/integrations/vectorstores/neo4jvector.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/neo4jvector.mdx rename to docs/core_docs/docs/integrations/vectorstores/neo4jvector.mdx diff --git a/docs/docs/integrations/vectorstores/opensearch.mdx b/docs/core_docs/docs/integrations/vectorstores/opensearch.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/opensearch.mdx rename to docs/core_docs/docs/integrations/vectorstores/opensearch.mdx diff --git a/docs/docs/integrations/vectorstores/pgvector.mdx b/docs/core_docs/docs/integrations/vectorstores/pgvector.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/pgvector.mdx rename to docs/core_docs/docs/integrations/vectorstores/pgvector.mdx diff --git a/docs/docs/integrations/vectorstores/pinecone.mdx b/docs/core_docs/docs/integrations/vectorstores/pinecone.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/pinecone.mdx rename to docs/core_docs/docs/integrations/vectorstores/pinecone.mdx diff --git a/docs/docs/integrations/vectorstores/prisma.mdx b/docs/core_docs/docs/integrations/vectorstores/prisma.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/prisma.mdx rename to docs/core_docs/docs/integrations/vectorstores/prisma.mdx diff --git a/docs/docs/integrations/vectorstores/qdrant.mdx b/docs/core_docs/docs/integrations/vectorstores/qdrant.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/qdrant.mdx rename to docs/core_docs/docs/integrations/vectorstores/qdrant.mdx diff --git a/docs/docs/integrations/vectorstores/redis.mdx b/docs/core_docs/docs/integrations/vectorstores/redis.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/redis.mdx rename to docs/core_docs/docs/integrations/vectorstores/redis.mdx diff --git a/docs/docs/integrations/vectorstores/singlestore.mdx b/docs/core_docs/docs/integrations/vectorstores/singlestore.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/singlestore.mdx rename to docs/core_docs/docs/integrations/vectorstores/singlestore.mdx diff --git a/docs/docs/integrations/vectorstores/supabase.mdx b/docs/core_docs/docs/integrations/vectorstores/supabase.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/supabase.mdx rename to docs/core_docs/docs/integrations/vectorstores/supabase.mdx diff --git a/docs/docs/integrations/vectorstores/tigris.mdx b/docs/core_docs/docs/integrations/vectorstores/tigris.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/tigris.mdx rename to docs/core_docs/docs/integrations/vectorstores/tigris.mdx diff --git a/docs/docs/integrations/vectorstores/typeorm.mdx b/docs/core_docs/docs/integrations/vectorstores/typeorm.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/typeorm.mdx rename to docs/core_docs/docs/integrations/vectorstores/typeorm.mdx diff --git a/docs/docs/integrations/vectorstores/typesense.mdx b/docs/core_docs/docs/integrations/vectorstores/typesense.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/typesense.mdx rename to docs/core_docs/docs/integrations/vectorstores/typesense.mdx diff --git a/docs/docs/integrations/vectorstores/usearch.mdx b/docs/core_docs/docs/integrations/vectorstores/usearch.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/usearch.mdx rename to docs/core_docs/docs/integrations/vectorstores/usearch.mdx diff --git a/docs/docs/integrations/vectorstores/vectara.mdx b/docs/core_docs/docs/integrations/vectorstores/vectara.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/vectara.mdx rename to docs/core_docs/docs/integrations/vectorstores/vectara.mdx diff --git a/docs/docs/integrations/vectorstores/vercel_postgres.mdx b/docs/core_docs/docs/integrations/vectorstores/vercel_postgres.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/vercel_postgres.mdx rename to docs/core_docs/docs/integrations/vectorstores/vercel_postgres.mdx diff --git a/docs/docs/integrations/vectorstores/voy.mdx b/docs/core_docs/docs/integrations/vectorstores/voy.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/voy.mdx rename to docs/core_docs/docs/integrations/vectorstores/voy.mdx diff --git a/docs/docs/integrations/vectorstores/weaviate.mdx b/docs/core_docs/docs/integrations/vectorstores/weaviate.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/weaviate.mdx rename to docs/core_docs/docs/integrations/vectorstores/weaviate.mdx diff --git a/docs/docs/integrations/vectorstores/xata.mdx b/docs/core_docs/docs/integrations/vectorstores/xata.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/xata.mdx rename to docs/core_docs/docs/integrations/vectorstores/xata.mdx diff --git a/docs/docs/integrations/vectorstores/zep.mdx b/docs/core_docs/docs/integrations/vectorstores/zep.mdx similarity index 100% rename from docs/docs/integrations/vectorstores/zep.mdx rename to docs/core_docs/docs/integrations/vectorstores/zep.mdx diff --git a/docs/docs/modules/agents/agent_types/chat_conversation_agent.mdx b/docs/core_docs/docs/modules/agents/agent_types/chat_conversation_agent.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/chat_conversation_agent.mdx rename to docs/core_docs/docs/modules/agents/agent_types/chat_conversation_agent.mdx diff --git a/docs/docs/modules/agents/agent_types/index.mdx b/docs/core_docs/docs/modules/agents/agent_types/index.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/index.mdx rename to docs/core_docs/docs/modules/agents/agent_types/index.mdx diff --git a/docs/docs/modules/agents/agent_types/openai_assistant.mdx b/docs/core_docs/docs/modules/agents/agent_types/openai_assistant.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/openai_assistant.mdx rename to docs/core_docs/docs/modules/agents/agent_types/openai_assistant.mdx diff --git a/docs/docs/modules/agents/agent_types/openai_functions_agent.mdx b/docs/core_docs/docs/modules/agents/agent_types/openai_functions_agent.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/openai_functions_agent.mdx rename to docs/core_docs/docs/modules/agents/agent_types/openai_functions_agent.mdx diff --git a/docs/docs/modules/agents/agent_types/openai_tools_agent.mdx b/docs/core_docs/docs/modules/agents/agent_types/openai_tools_agent.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/openai_tools_agent.mdx rename to docs/core_docs/docs/modules/agents/agent_types/openai_tools_agent.mdx diff --git a/docs/docs/modules/agents/agent_types/plan_and_execute.mdx b/docs/core_docs/docs/modules/agents/agent_types/plan_and_execute.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/plan_and_execute.mdx rename to docs/core_docs/docs/modules/agents/agent_types/plan_and_execute.mdx diff --git a/docs/docs/modules/agents/agent_types/react.mdx b/docs/core_docs/docs/modules/agents/agent_types/react.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/react.mdx rename to docs/core_docs/docs/modules/agents/agent_types/react.mdx diff --git a/docs/docs/modules/agents/agent_types/structured_chat.mdx b/docs/core_docs/docs/modules/agents/agent_types/structured_chat.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/structured_chat.mdx rename to docs/core_docs/docs/modules/agents/agent_types/structured_chat.mdx diff --git a/docs/docs/modules/agents/agent_types/xml.mdx b/docs/core_docs/docs/modules/agents/agent_types/xml.mdx similarity index 100% rename from docs/docs/modules/agents/agent_types/xml.mdx rename to docs/core_docs/docs/modules/agents/agent_types/xml.mdx diff --git a/docs/docs/modules/agents/how_to/_category_.yml b/docs/core_docs/docs/modules/agents/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/agents/how_to/_category_.yml rename to docs/core_docs/docs/modules/agents/how_to/_category_.yml diff --git a/docs/docs/modules/agents/how_to/agent_structured.mdx b/docs/core_docs/docs/modules/agents/how_to/agent_structured.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/agent_structured.mdx rename to docs/core_docs/docs/modules/agents/how_to/agent_structured.mdx diff --git a/docs/docs/modules/agents/how_to/callbacks.mdx b/docs/core_docs/docs/modules/agents/how_to/callbacks.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/callbacks.mdx rename to docs/core_docs/docs/modules/agents/how_to/callbacks.mdx diff --git a/docs/docs/modules/agents/how_to/cancelling_requests.mdx b/docs/core_docs/docs/modules/agents/how_to/cancelling_requests.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/cancelling_requests.mdx rename to docs/core_docs/docs/modules/agents/how_to/cancelling_requests.mdx diff --git a/docs/docs/modules/agents/how_to/custom_llm_agent.mdx b/docs/core_docs/docs/modules/agents/how_to/custom_llm_agent.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/custom_llm_agent.mdx rename to docs/core_docs/docs/modules/agents/how_to/custom_llm_agent.mdx diff --git a/docs/docs/modules/agents/how_to/custom_llm_chat_agent.mdx b/docs/core_docs/docs/modules/agents/how_to/custom_llm_chat_agent.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/custom_llm_chat_agent.mdx rename to docs/core_docs/docs/modules/agents/how_to/custom_llm_chat_agent.mdx diff --git a/docs/docs/modules/agents/how_to/custom_mrkl_agent.mdx b/docs/core_docs/docs/modules/agents/how_to/custom_mrkl_agent.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/custom_mrkl_agent.mdx rename to docs/core_docs/docs/modules/agents/how_to/custom_mrkl_agent.mdx diff --git a/docs/docs/modules/agents/how_to/handle_parsing_errors.mdx b/docs/core_docs/docs/modules/agents/how_to/handle_parsing_errors.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/handle_parsing_errors.mdx rename to docs/core_docs/docs/modules/agents/how_to/handle_parsing_errors.mdx diff --git a/docs/docs/modules/agents/how_to/logging_and_tracing.mdx b/docs/core_docs/docs/modules/agents/how_to/logging_and_tracing.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/logging_and_tracing.mdx rename to docs/core_docs/docs/modules/agents/how_to/logging_and_tracing.mdx diff --git a/docs/docs/modules/agents/how_to/timeouts.mdx b/docs/core_docs/docs/modules/agents/how_to/timeouts.mdx similarity index 100% rename from docs/docs/modules/agents/how_to/timeouts.mdx rename to docs/core_docs/docs/modules/agents/how_to/timeouts.mdx diff --git a/docs/docs/modules/agents/index.mdx b/docs/core_docs/docs/modules/agents/index.mdx similarity index 100% rename from docs/docs/modules/agents/index.mdx rename to docs/core_docs/docs/modules/agents/index.mdx diff --git a/docs/docs/modules/agents/toolkits/index.mdx b/docs/core_docs/docs/modules/agents/toolkits/index.mdx similarity index 100% rename from docs/docs/modules/agents/toolkits/index.mdx rename to docs/core_docs/docs/modules/agents/toolkits/index.mdx diff --git a/docs/docs/modules/agents/tools/how_to/_category_.yml b/docs/core_docs/docs/modules/agents/tools/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/agents/tools/how_to/_category_.yml rename to docs/core_docs/docs/modules/agents/tools/how_to/_category_.yml diff --git a/docs/docs/modules/agents/tools/how_to/agents_with_vectorstores.mdx b/docs/core_docs/docs/modules/agents/tools/how_to/agents_with_vectorstores.mdx similarity index 100% rename from docs/docs/modules/agents/tools/how_to/agents_with_vectorstores.mdx rename to docs/core_docs/docs/modules/agents/tools/how_to/agents_with_vectorstores.mdx diff --git a/docs/docs/modules/agents/tools/how_to/dynamic.mdx b/docs/core_docs/docs/modules/agents/tools/how_to/dynamic.mdx similarity index 100% rename from docs/docs/modules/agents/tools/how_to/dynamic.mdx rename to docs/core_docs/docs/modules/agents/tools/how_to/dynamic.mdx diff --git a/docs/docs/modules/agents/tools/index.mdx b/docs/core_docs/docs/modules/agents/tools/index.mdx similarity index 100% rename from docs/docs/modules/agents/tools/index.mdx rename to docs/core_docs/docs/modules/agents/tools/index.mdx diff --git a/docs/docs/modules/callbacks/how_to/_category_.yml b/docs/core_docs/docs/modules/callbacks/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/callbacks/how_to/_category_.yml rename to docs/core_docs/docs/modules/callbacks/how_to/_category_.yml diff --git a/docs/docs/modules/callbacks/how_to/background_callbacks.mdx b/docs/core_docs/docs/modules/callbacks/how_to/background_callbacks.mdx similarity index 100% rename from docs/docs/modules/callbacks/how_to/background_callbacks.mdx rename to docs/core_docs/docs/modules/callbacks/how_to/background_callbacks.mdx diff --git a/docs/docs/modules/callbacks/how_to/create_handlers.mdx b/docs/core_docs/docs/modules/callbacks/how_to/create_handlers.mdx similarity index 100% rename from docs/docs/modules/callbacks/how_to/create_handlers.mdx rename to docs/core_docs/docs/modules/callbacks/how_to/create_handlers.mdx diff --git a/docs/docs/modules/callbacks/how_to/creating_subclasses.mdx b/docs/core_docs/docs/modules/callbacks/how_to/creating_subclasses.mdx similarity index 100% rename from docs/docs/modules/callbacks/how_to/creating_subclasses.mdx rename to docs/core_docs/docs/modules/callbacks/how_to/creating_subclasses.mdx diff --git a/docs/core_docs/docs/modules/callbacks/how_to/tags.mdx b/docs/core_docs/docs/modules/callbacks/how_to/tags.mdx new file mode 100644 index 000000000000..93db2e6f8c6d --- /dev/null +++ b/docs/core_docs/docs/modules/callbacks/how_to/tags.mdx @@ -0,0 +1,3 @@ +# Tags + +You can add tags to your callbacks by passing a `tags` argument to the `call()`/`run()`/`apply()` methods. This is useful for filtering your logs, eg. if you want to log all requests made to a specific LLMChain, you can add a tag, and then filter your logs by that tag. You can pass tags to both constructor and request callbacks, see the examples above for details. These tags are then passed to the `tags` argument of the "start" callback methods, ie. [`handleLLMStart`](https://api.js.langchain.com/interfaces/callbacks.CallbackHandlerMethods.html#handleLLMStart), [`handleChatModelStart`](https://api.js.langchain.com/interfaces/callbacks.CallbackHandlerMethods.html#handleChatModelStart), [`handleChainStart`](https://api.js.langchain.com/interfaces/callbacks.CallbackHandlerMethods.html#handleChainStart), [`handleToolStart`](https://api.js.langchain.com/interfaces/callbacks.CallbackHandlerMethods.html#handleToolStart). diff --git a/docs/docs/modules/callbacks/index.mdx b/docs/core_docs/docs/modules/callbacks/index.mdx similarity index 91% rename from docs/docs/modules/callbacks/index.mdx rename to docs/core_docs/docs/modules/callbacks/index.mdx index c50701a5a6ef..9054fc92a6a4 100644 --- a/docs/docs/modules/callbacks/index.mdx +++ b/docs/core_docs/docs/modules/callbacks/index.mdx @@ -8,7 +8,7 @@ LangChain provides a callbacks system that allows you to hook into the various s import CodeBlock from "@theme/CodeBlock"; -You can subscribe to these events by using the `callbacks` argument available throughout the API. This method accepts a list of handler objects, which are expected to implement [one or more of the methods described in the API docs](/docs/api/callbacks/interfaces/CallbackHandlerMethods). +You can subscribe to these events by using the `callbacks` argument available throughout the API. This method accepts a list of handler objects, which are expected to implement [one or more of the methods described in the API docs](https://api.js.langchain.com/interfaces/callbacks.CallbackHandlerMethods.html). ## How to use callbacks @@ -55,7 +55,7 @@ import ConsoleExample from "@examples/callbacks/console_handler.ts"; ### One-off handlers -You can create a one-off handler inline by passing a plain object to the `callbacks` argument. This object should implement the [`CallbackHandlerMethods`](/docs/api/callbacks/interfaces/CallbackHandlerMethods) interface. This is useful if eg. you need to create a handler that you will use only for a single request, eg to stream the output of an LLM/Agent/etc to a websocket. +You can create a one-off handler inline by passing a plain object to the `callbacks` argument. This object should implement the [`CallbackHandlerMethods`](https://api.js.langchain.com/interfaces/callbacks.CallbackHandlerMethods.html) interface. This is useful if eg. you need to create a handler that you will use only for a single request, eg to stream the output of an LLM/Agent/etc to a websocket. import StreamingExample from "@examples/models/llm/llm_streaming.ts"; diff --git a/docs/docs/modules/chains/additional/analyze_document.mdx b/docs/core_docs/docs/modules/chains/additional/analyze_document.mdx similarity index 100% rename from docs/docs/modules/chains/additional/analyze_document.mdx rename to docs/core_docs/docs/modules/chains/additional/analyze_document.mdx diff --git a/docs/docs/modules/chains/additional/constitutional_chain.mdx b/docs/core_docs/docs/modules/chains/additional/constitutional_chain.mdx similarity index 100% rename from docs/docs/modules/chains/additional/constitutional_chain.mdx rename to docs/core_docs/docs/modules/chains/additional/constitutional_chain.mdx diff --git a/docs/docs/modules/chains/additional/cypher_chain.mdx b/docs/core_docs/docs/modules/chains/additional/cypher_chain.mdx similarity index 100% rename from docs/docs/modules/chains/additional/cypher_chain.mdx rename to docs/core_docs/docs/modules/chains/additional/cypher_chain.mdx diff --git a/docs/docs/modules/chains/additional/index.mdx b/docs/core_docs/docs/modules/chains/additional/index.mdx similarity index 100% rename from docs/docs/modules/chains/additional/index.mdx rename to docs/core_docs/docs/modules/chains/additional/index.mdx diff --git a/docs/docs/modules/chains/additional/moderation.mdx b/docs/core_docs/docs/modules/chains/additional/moderation.mdx similarity index 100% rename from docs/docs/modules/chains/additional/moderation.mdx rename to docs/core_docs/docs/modules/chains/additional/moderation.mdx diff --git a/docs/docs/modules/chains/additional/multi_prompt_router.mdx b/docs/core_docs/docs/modules/chains/additional/multi_prompt_router.mdx similarity index 100% rename from docs/docs/modules/chains/additional/multi_prompt_router.mdx rename to docs/core_docs/docs/modules/chains/additional/multi_prompt_router.mdx diff --git a/docs/docs/modules/chains/additional/multi_retrieval_qa_router.mdx b/docs/core_docs/docs/modules/chains/additional/multi_retrieval_qa_router.mdx similarity index 100% rename from docs/docs/modules/chains/additional/multi_retrieval_qa_router.mdx rename to docs/core_docs/docs/modules/chains/additional/multi_retrieval_qa_router.mdx diff --git a/docs/docs/modules/chains/additional/openai_functions/extraction.mdx b/docs/core_docs/docs/modules/chains/additional/openai_functions/extraction.mdx similarity index 100% rename from docs/docs/modules/chains/additional/openai_functions/extraction.mdx rename to docs/core_docs/docs/modules/chains/additional/openai_functions/extraction.mdx diff --git a/docs/docs/modules/chains/additional/openai_functions/index.mdx b/docs/core_docs/docs/modules/chains/additional/openai_functions/index.mdx similarity index 100% rename from docs/docs/modules/chains/additional/openai_functions/index.mdx rename to docs/core_docs/docs/modules/chains/additional/openai_functions/index.mdx diff --git a/docs/docs/modules/chains/additional/openai_functions/openapi.mdx b/docs/core_docs/docs/modules/chains/additional/openai_functions/openapi.mdx similarity index 100% rename from docs/docs/modules/chains/additional/openai_functions/openapi.mdx rename to docs/core_docs/docs/modules/chains/additional/openai_functions/openapi.mdx diff --git a/docs/docs/modules/chains/additional/openai_functions/tagging.mdx b/docs/core_docs/docs/modules/chains/additional/openai_functions/tagging.mdx similarity index 100% rename from docs/docs/modules/chains/additional/openai_functions/tagging.mdx rename to docs/core_docs/docs/modules/chains/additional/openai_functions/tagging.mdx diff --git a/docs/docs/modules/chains/document/index.mdx b/docs/core_docs/docs/modules/chains/document/index.mdx similarity index 100% rename from docs/docs/modules/chains/document/index.mdx rename to docs/core_docs/docs/modules/chains/document/index.mdx diff --git a/docs/docs/modules/chains/document/map_reduce.mdx b/docs/core_docs/docs/modules/chains/document/map_reduce.mdx similarity index 100% rename from docs/docs/modules/chains/document/map_reduce.mdx rename to docs/core_docs/docs/modules/chains/document/map_reduce.mdx diff --git a/docs/docs/modules/chains/document/refine.mdx b/docs/core_docs/docs/modules/chains/document/refine.mdx similarity index 100% rename from docs/docs/modules/chains/document/refine.mdx rename to docs/core_docs/docs/modules/chains/document/refine.mdx diff --git a/docs/docs/modules/chains/document/stuff.mdx b/docs/core_docs/docs/modules/chains/document/stuff.mdx similarity index 100% rename from docs/docs/modules/chains/document/stuff.mdx rename to docs/core_docs/docs/modules/chains/document/stuff.mdx diff --git a/docs/docs/modules/chains/foundational/index.mdx b/docs/core_docs/docs/modules/chains/foundational/index.mdx similarity index 100% rename from docs/docs/modules/chains/foundational/index.mdx rename to docs/core_docs/docs/modules/chains/foundational/index.mdx diff --git a/docs/docs/modules/chains/foundational/llm_chain.mdx b/docs/core_docs/docs/modules/chains/foundational/llm_chain.mdx similarity index 100% rename from docs/docs/modules/chains/foundational/llm_chain.mdx rename to docs/core_docs/docs/modules/chains/foundational/llm_chain.mdx diff --git a/docs/docs/modules/chains/foundational/sequential_chains.mdx b/docs/core_docs/docs/modules/chains/foundational/sequential_chains.mdx similarity index 100% rename from docs/docs/modules/chains/foundational/sequential_chains.mdx rename to docs/core_docs/docs/modules/chains/foundational/sequential_chains.mdx diff --git a/docs/docs/modules/chains/how_to/debugging.mdx b/docs/core_docs/docs/modules/chains/how_to/debugging.mdx similarity index 100% rename from docs/docs/modules/chains/how_to/debugging.mdx rename to docs/core_docs/docs/modules/chains/how_to/debugging.mdx diff --git a/docs/docs/modules/chains/how_to/index.mdx b/docs/core_docs/docs/modules/chains/how_to/index.mdx similarity index 100% rename from docs/docs/modules/chains/how_to/index.mdx rename to docs/core_docs/docs/modules/chains/how_to/index.mdx diff --git a/docs/docs/modules/chains/how_to/memory.mdx b/docs/core_docs/docs/modules/chains/how_to/memory.mdx similarity index 100% rename from docs/docs/modules/chains/how_to/memory.mdx rename to docs/core_docs/docs/modules/chains/how_to/memory.mdx diff --git a/docs/docs/modules/chains/index.mdx b/docs/core_docs/docs/modules/chains/index.mdx similarity index 100% rename from docs/docs/modules/chains/index.mdx rename to docs/core_docs/docs/modules/chains/index.mdx diff --git a/docs/docs/modules/chains/popular/api.mdx b/docs/core_docs/docs/modules/chains/popular/api.mdx similarity index 100% rename from docs/docs/modules/chains/popular/api.mdx rename to docs/core_docs/docs/modules/chains/popular/api.mdx diff --git a/docs/docs/modules/chains/popular/chat_vector_db.mdx b/docs/core_docs/docs/modules/chains/popular/chat_vector_db.mdx similarity index 100% rename from docs/docs/modules/chains/popular/chat_vector_db.mdx rename to docs/core_docs/docs/modules/chains/popular/chat_vector_db.mdx diff --git a/docs/docs/modules/chains/popular/chat_vector_db_legacy.mdx b/docs/core_docs/docs/modules/chains/popular/chat_vector_db_legacy.mdx similarity index 90% rename from docs/docs/modules/chains/popular/chat_vector_db_legacy.mdx rename to docs/core_docs/docs/modules/chains/popular/chat_vector_db_legacy.mdx index eb0fd8cf6821..0b3f378668be 100644 --- a/docs/docs/modules/chains/popular/chat_vector_db_legacy.mdx +++ b/docs/core_docs/docs/modules/chains/popular/chat_vector_db_legacy.mdx @@ -44,7 +44,7 @@ Here's an explanation of each of the attributes of the options object: - Passing in a separate LLM (`llm`) here allows you to use a cheaper/faster model to create the condensed question while using a more powerful model for the final response, and can reduce unnecessary latency. - `qaChainOptions`: Options that allow you to customize the specific QA chain used in the final step. The default is the [`StuffDocumentsChain`](/docs/modules/chains/document/stuff), but you can customize which chain is used by passing in a `type` parameter. **Passing specific options here is completely optional**, but can be useful if you want to customize the way the response is presented to the end user, or if you have too many documents for the default `StuffDocumentsChain`. - You can see [the API reference of the usable fields here](/docs/api/chains/types/QAChainParams). In case you want to make chat_history available to the final answering `qaChain`, which ultimately answers the user question, you HAVE to pass a custom qaTemplate with chat_history as input, as it is not present in the default Template, which only gets passed `context` documents and generated `question`. + You can see [the API reference of the usable fields here](https://api.js.langchain.com/types/chains.QAChainParams.html). In case you want to make chat_history available to the final answering `qaChain`, which ultimately answers the user question, you HAVE to pass a custom qaTemplate with chat_history as input, as it is not present in the default Template, which only gets passed `context` documents and generated `question`. - `returnSourceDocuments`: A boolean value that indicates whether the `ConversationalRetrievalQAChain` should return the source documents that were used to retrieve the answer. If set to true, the documents will be included in the result returned by the call() method. This can be useful if you want to allow the user to see the sources used to generate the answer. If not set, the default value will be false. - If you are using this option and passing in a memory instance, set `inputKey` and `outputKey` on the memory instance to the same values as the chain input and final conversational chain output. These default to `"question"` and `"text"` respectively, and specify the values that the memory should store. @@ -69,7 +69,7 @@ import ConvoQAStreamingExample from "@examples/chains/conversational_qa_streamin ## Externally-Managed Memory For this chain, if you'd like to format the chat history in a custom way (or pass in chat messages directly for convenience), you can also pass the chat history in explicitly by omitting the `memory` option and supplying -a `chat_history` string or array of [HumanMessages](/docs/api/schema/classes/HumanMessage) and [AIMessages](/docs/api/schema/classes/AIMessage) directly into the `chain.call` method: +a `chat_history` string or array of [HumanMessages](https://api.js.langchain.com/classes/schema.HumanMessage.html) and [AIMessages](https://api.js.langchain.com/classes/schema.AIMessage.html) directly into the `chain.call` method: import ConvoQAExternalMemoryExample from "@examples/chains/conversational_qa_external_memory_legacy.ts"; diff --git a/docs/docs/modules/chains/popular/index.mdx b/docs/core_docs/docs/modules/chains/popular/index.mdx similarity index 100% rename from docs/docs/modules/chains/popular/index.mdx rename to docs/core_docs/docs/modules/chains/popular/index.mdx diff --git a/docs/docs/modules/chains/popular/sqlite.mdx b/docs/core_docs/docs/modules/chains/popular/sqlite.mdx similarity index 100% rename from docs/docs/modules/chains/popular/sqlite.mdx rename to docs/core_docs/docs/modules/chains/popular/sqlite.mdx diff --git a/docs/docs/modules/chains/popular/sqlite_legacy.mdx b/docs/core_docs/docs/modules/chains/popular/sqlite_legacy.mdx similarity index 100% rename from docs/docs/modules/chains/popular/sqlite_legacy.mdx rename to docs/core_docs/docs/modules/chains/popular/sqlite_legacy.mdx diff --git a/docs/docs/modules/chains/popular/structured_output.mdx b/docs/core_docs/docs/modules/chains/popular/structured_output.mdx similarity index 100% rename from docs/docs/modules/chains/popular/structured_output.mdx rename to docs/core_docs/docs/modules/chains/popular/structured_output.mdx diff --git a/docs/docs/modules/chains/popular/summarize.mdx b/docs/core_docs/docs/modules/chains/popular/summarize.mdx similarity index 100% rename from docs/docs/modules/chains/popular/summarize.mdx rename to docs/core_docs/docs/modules/chains/popular/summarize.mdx diff --git a/docs/docs/modules/chains/popular/vector_db_qa.mdx b/docs/core_docs/docs/modules/chains/popular/vector_db_qa.mdx similarity index 100% rename from docs/docs/modules/chains/popular/vector_db_qa.mdx rename to docs/core_docs/docs/modules/chains/popular/vector_db_qa.mdx diff --git a/docs/docs/modules/chains/popular/vector_db_qa_legacy.mdx b/docs/core_docs/docs/modules/chains/popular/vector_db_qa_legacy.mdx similarity index 100% rename from docs/docs/modules/chains/popular/vector_db_qa_legacy.mdx rename to docs/core_docs/docs/modules/chains/popular/vector_db_qa_legacy.mdx diff --git a/docs/docs/modules/data_connection/document_loaders/how_to/_category_.yml b/docs/core_docs/docs/modules/data_connection/document_loaders/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/data_connection/document_loaders/how_to/_category_.yml rename to docs/core_docs/docs/modules/data_connection/document_loaders/how_to/_category_.yml diff --git a/docs/docs/modules/data_connection/document_loaders/how_to/creating_documents.mdx b/docs/core_docs/docs/modules/data_connection/document_loaders/how_to/creating_documents.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_loaders/how_to/creating_documents.mdx rename to docs/core_docs/docs/modules/data_connection/document_loaders/how_to/creating_documents.mdx diff --git a/docs/docs/modules/data_connection/document_loaders/how_to/csv.mdx b/docs/core_docs/docs/modules/data_connection/document_loaders/how_to/csv.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_loaders/how_to/csv.mdx rename to docs/core_docs/docs/modules/data_connection/document_loaders/how_to/csv.mdx diff --git a/docs/docs/modules/data_connection/document_loaders/how_to/custom.mdx b/docs/core_docs/docs/modules/data_connection/document_loaders/how_to/custom.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_loaders/how_to/custom.mdx rename to docs/core_docs/docs/modules/data_connection/document_loaders/how_to/custom.mdx diff --git a/docs/docs/modules/data_connection/document_loaders/how_to/file_directory.mdx b/docs/core_docs/docs/modules/data_connection/document_loaders/how_to/file_directory.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_loaders/how_to/file_directory.mdx rename to docs/core_docs/docs/modules/data_connection/document_loaders/how_to/file_directory.mdx diff --git a/docs/docs/modules/data_connection/document_loaders/how_to/json.mdx b/docs/core_docs/docs/modules/data_connection/document_loaders/how_to/json.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_loaders/how_to/json.mdx rename to docs/core_docs/docs/modules/data_connection/document_loaders/how_to/json.mdx diff --git a/docs/docs/modules/data_connection/document_loaders/how_to/pdf.mdx b/docs/core_docs/docs/modules/data_connection/document_loaders/how_to/pdf.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_loaders/how_to/pdf.mdx rename to docs/core_docs/docs/modules/data_connection/document_loaders/how_to/pdf.mdx diff --git a/docs/docs/modules/data_connection/document_loaders/index.mdx b/docs/core_docs/docs/modules/data_connection/document_loaders/index.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_loaders/index.mdx rename to docs/core_docs/docs/modules/data_connection/document_loaders/index.mdx diff --git a/docs/docs/modules/data_connection/document_transformers/index.mdx b/docs/core_docs/docs/modules/data_connection/document_transformers/index.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_transformers/index.mdx rename to docs/core_docs/docs/modules/data_connection/document_transformers/index.mdx diff --git a/docs/docs/modules/data_connection/document_transformers/text_splitters/_category_.yml b/docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/_category_.yml similarity index 100% rename from docs/docs/modules/data_connection/document_transformers/text_splitters/_category_.yml rename to docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/_category_.yml diff --git a/docs/docs/modules/data_connection/document_transformers/text_splitters/character_text_splitter.mdx b/docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/character_text_splitter.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_transformers/text_splitters/character_text_splitter.mdx rename to docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/character_text_splitter.mdx diff --git a/docs/docs/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx b/docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx rename to docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/code_splitter.mdx diff --git a/docs/docs/modules/data_connection/document_transformers/text_splitters/contextual_chunk_headers.mdx b/docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/contextual_chunk_headers.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_transformers/text_splitters/contextual_chunk_headers.mdx rename to docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/contextual_chunk_headers.mdx diff --git a/docs/docs/modules/data_connection/document_transformers/text_splitters/custom_text_splitter.mdx b/docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/custom_text_splitter.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_transformers/text_splitters/custom_text_splitter.mdx rename to docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/custom_text_splitter.mdx diff --git a/docs/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter.mdx b/docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter.mdx rename to docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter.mdx diff --git a/docs/docs/modules/data_connection/document_transformers/text_splitters/token.mdx b/docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/token.mdx similarity index 100% rename from docs/docs/modules/data_connection/document_transformers/text_splitters/token.mdx rename to docs/core_docs/docs/modules/data_connection/document_transformers/text_splitters/token.mdx diff --git a/docs/docs/modules/data_connection/experimental/_category_.yml b/docs/core_docs/docs/modules/data_connection/experimental/_category_.yml similarity index 100% rename from docs/docs/modules/data_connection/experimental/_category_.yml rename to docs/core_docs/docs/modules/data_connection/experimental/_category_.yml diff --git a/docs/docs/modules/data_connection/experimental/graph_databases/_category_.yml b/docs/core_docs/docs/modules/data_connection/experimental/graph_databases/_category_.yml similarity index 100% rename from docs/docs/modules/data_connection/experimental/graph_databases/_category_.yml rename to docs/core_docs/docs/modules/data_connection/experimental/graph_databases/_category_.yml diff --git a/docs/docs/modules/data_connection/experimental/graph_databases/neo4j.mdx b/docs/core_docs/docs/modules/data_connection/experimental/graph_databases/neo4j.mdx similarity index 100% rename from docs/docs/modules/data_connection/experimental/graph_databases/neo4j.mdx rename to docs/core_docs/docs/modules/data_connection/experimental/graph_databases/neo4j.mdx diff --git a/docs/docs/modules/data_connection/experimental/multimodal_embeddings/_category_.yml b/docs/core_docs/docs/modules/data_connection/experimental/multimodal_embeddings/_category_.yml similarity index 100% rename from docs/docs/modules/data_connection/experimental/multimodal_embeddings/_category_.yml rename to docs/core_docs/docs/modules/data_connection/experimental/multimodal_embeddings/_category_.yml diff --git a/docs/docs/modules/data_connection/experimental/multimodal_embeddings/google_vertex_ai.mdx b/docs/core_docs/docs/modules/data_connection/experimental/multimodal_embeddings/google_vertex_ai.mdx similarity index 100% rename from docs/docs/modules/data_connection/experimental/multimodal_embeddings/google_vertex_ai.mdx rename to docs/core_docs/docs/modules/data_connection/experimental/multimodal_embeddings/google_vertex_ai.mdx diff --git a/docs/docs/modules/data_connection/index.mdx b/docs/core_docs/docs/modules/data_connection/index.mdx similarity index 100% rename from docs/docs/modules/data_connection/index.mdx rename to docs/core_docs/docs/modules/data_connection/index.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/_category_.yml b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/_category_.yml rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/_category_.yml diff --git a/docs/docs/modules/data_connection/retrievers/how_to/contextual_compression.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/contextual_compression.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/contextual_compression.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/contextual_compression.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/multi-query-retriever.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/multi-query-retriever.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/multi-query-retriever.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/multi-query-retriever.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/multi-vector-retriever.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/multi-vector-retriever.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/multi-vector-retriever.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/multi-vector-retriever.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/parent-document-retriever.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/parent-document-retriever.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/parent-document-retriever.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/parent-document-retriever.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/self_query/chroma-self-query.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/chroma-self-query.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/self_query/chroma-self-query.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/chroma-self-query.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/self_query/hnswlib-self-query.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/hnswlib-self-query.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/self_query/hnswlib-self-query.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/hnswlib-self-query.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/self_query/index.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/index.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/self_query/index.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/index.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/self_query/memory-self-query.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/memory-self-query.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/self_query/memory-self-query.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/memory-self-query.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/self_query/pinecone-self-query.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/pinecone-self-query.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/self_query/pinecone-self-query.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/pinecone-self-query.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/self_query/supabase-self-query.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/supabase-self-query.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/self_query/supabase-self-query.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/supabase-self-query.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/self_query/weaviate-self-query.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/weaviate-self-query.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/self_query/weaviate-self-query.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/self_query/weaviate-self-query.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/similarity-score-threshold-retriever.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/similarity-score-threshold-retriever.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/similarity-score-threshold-retriever.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/similarity-score-threshold-retriever.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/time_weighted_vectorstore.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/time_weighted_vectorstore.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/time_weighted_vectorstore.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/time_weighted_vectorstore.mdx diff --git a/docs/docs/modules/data_connection/retrievers/how_to/vectorstore.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/how_to/vectorstore.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/how_to/vectorstore.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/how_to/vectorstore.mdx diff --git a/docs/docs/modules/data_connection/retrievers/index.mdx b/docs/core_docs/docs/modules/data_connection/retrievers/index.mdx similarity index 100% rename from docs/docs/modules/data_connection/retrievers/index.mdx rename to docs/core_docs/docs/modules/data_connection/retrievers/index.mdx diff --git a/docs/docs/modules/data_connection/text_embedding/how_to/_category_.yml b/docs/core_docs/docs/modules/data_connection/text_embedding/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/data_connection/text_embedding/how_to/_category_.yml rename to docs/core_docs/docs/modules/data_connection/text_embedding/how_to/_category_.yml diff --git a/docs/docs/modules/data_connection/text_embedding/how_to/api_errors.mdx b/docs/core_docs/docs/modules/data_connection/text_embedding/how_to/api_errors.mdx similarity index 100% rename from docs/docs/modules/data_connection/text_embedding/how_to/api_errors.mdx rename to docs/core_docs/docs/modules/data_connection/text_embedding/how_to/api_errors.mdx diff --git a/docs/docs/modules/data_connection/text_embedding/how_to/caching_embeddings.mdx b/docs/core_docs/docs/modules/data_connection/text_embedding/how_to/caching_embeddings.mdx similarity index 100% rename from docs/docs/modules/data_connection/text_embedding/how_to/caching_embeddings.mdx rename to docs/core_docs/docs/modules/data_connection/text_embedding/how_to/caching_embeddings.mdx diff --git a/docs/docs/modules/data_connection/text_embedding/how_to/rate_limits.mdx b/docs/core_docs/docs/modules/data_connection/text_embedding/how_to/rate_limits.mdx similarity index 100% rename from docs/docs/modules/data_connection/text_embedding/how_to/rate_limits.mdx rename to docs/core_docs/docs/modules/data_connection/text_embedding/how_to/rate_limits.mdx diff --git a/docs/docs/modules/data_connection/text_embedding/how_to/timeouts.mdx b/docs/core_docs/docs/modules/data_connection/text_embedding/how_to/timeouts.mdx similarity index 100% rename from docs/docs/modules/data_connection/text_embedding/how_to/timeouts.mdx rename to docs/core_docs/docs/modules/data_connection/text_embedding/how_to/timeouts.mdx diff --git a/docs/docs/modules/data_connection/text_embedding/index.mdx b/docs/core_docs/docs/modules/data_connection/text_embedding/index.mdx similarity index 100% rename from docs/docs/modules/data_connection/text_embedding/index.mdx rename to docs/core_docs/docs/modules/data_connection/text_embedding/index.mdx diff --git a/docs/docs/modules/data_connection/vectorstores/index.mdx b/docs/core_docs/docs/modules/data_connection/vectorstores/index.mdx similarity index 94% rename from docs/docs/modules/data_connection/vectorstores/index.mdx rename to docs/core_docs/docs/modules/data_connection/vectorstores/index.mdx index 8d2066754a71..3dc59edd59c4 100644 --- a/docs/docs/modules/data_connection/vectorstores/index.mdx +++ b/docs/core_docs/docs/modules/data_connection/vectorstores/index.mdx @@ -101,7 +101,7 @@ interface VectorStore { } ``` -You can create a vector store from a list of [Documents](/docs/api/document/classes/Document), or from a list of texts and their corresponding metadata. You can also create a vector store from an existing index, the signature of this method depends on the vector store you're using, check the documentation of the vector store you're interested in. +You can create a vector store from a list of [Documents](https://api.js.langchain.com/classes/document.Document.html), or from a list of texts and their corresponding metadata. You can also create a vector store from an existing index, the signature of this method depends on the vector store you're using, check the documentation of the vector store you're interested in. ```typescript abstract class BaseVectorStore implements VectorStore { diff --git a/docs/docs/modules/index.mdx b/docs/core_docs/docs/modules/index.mdx similarity index 100% rename from docs/docs/modules/index.mdx rename to docs/core_docs/docs/modules/index.mdx diff --git a/docs/docs/modules/memory/how_to/_category_.yml b/docs/core_docs/docs/modules/memory/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/memory/how_to/_category_.yml rename to docs/core_docs/docs/modules/memory/how_to/_category_.yml diff --git a/docs/docs/modules/memory/how_to/buffer.mdx b/docs/core_docs/docs/modules/memory/how_to/buffer.mdx similarity index 100% rename from docs/docs/modules/memory/how_to/buffer.mdx rename to docs/core_docs/docs/modules/memory/how_to/buffer.mdx diff --git a/docs/docs/modules/memory/how_to/buffer_memory_chat.mdx b/docs/core_docs/docs/modules/memory/how_to/buffer_memory_chat.mdx similarity index 100% rename from docs/docs/modules/memory/how_to/buffer_memory_chat.mdx rename to docs/core_docs/docs/modules/memory/how_to/buffer_memory_chat.mdx diff --git a/docs/docs/modules/memory/how_to/buffer_window.mdx b/docs/core_docs/docs/modules/memory/how_to/buffer_window.mdx similarity index 100% rename from docs/docs/modules/memory/how_to/buffer_window.mdx rename to docs/core_docs/docs/modules/memory/how_to/buffer_window.mdx diff --git a/docs/docs/modules/memory/how_to/buffer_window_memory.md b/docs/core_docs/docs/modules/memory/how_to/buffer_window_memory.md similarity index 100% rename from docs/docs/modules/memory/how_to/buffer_window_memory.md rename to docs/core_docs/docs/modules/memory/how_to/buffer_window_memory.md diff --git a/docs/docs/modules/memory/how_to/entity_summary_memory.mdx b/docs/core_docs/docs/modules/memory/how_to/entity_summary_memory.mdx similarity index 100% rename from docs/docs/modules/memory/how_to/entity_summary_memory.mdx rename to docs/core_docs/docs/modules/memory/how_to/entity_summary_memory.mdx diff --git a/docs/docs/modules/memory/how_to/multiple_memory.mdx b/docs/core_docs/docs/modules/memory/how_to/multiple_memory.mdx similarity index 100% rename from docs/docs/modules/memory/how_to/multiple_memory.mdx rename to docs/core_docs/docs/modules/memory/how_to/multiple_memory.mdx diff --git a/docs/docs/modules/memory/how_to/summary.mdx b/docs/core_docs/docs/modules/memory/how_to/summary.mdx similarity index 100% rename from docs/docs/modules/memory/how_to/summary.mdx rename to docs/core_docs/docs/modules/memory/how_to/summary.mdx diff --git a/docs/docs/modules/memory/how_to/summary_buffer.mdx b/docs/core_docs/docs/modules/memory/how_to/summary_buffer.mdx similarity index 100% rename from docs/docs/modules/memory/how_to/summary_buffer.mdx rename to docs/core_docs/docs/modules/memory/how_to/summary_buffer.mdx diff --git a/docs/docs/modules/memory/how_to/vectorstore_retriever_memory.mdx b/docs/core_docs/docs/modules/memory/how_to/vectorstore_retriever_memory.mdx similarity index 100% rename from docs/docs/modules/memory/how_to/vectorstore_retriever_memory.mdx rename to docs/core_docs/docs/modules/memory/how_to/vectorstore_retriever_memory.mdx diff --git a/docs/docs/modules/memory/index.mdx b/docs/core_docs/docs/modules/memory/index.mdx similarity index 95% rename from docs/docs/modules/memory/index.mdx rename to docs/core_docs/docs/modules/memory/index.mdx index 74f8fa523c89..9ed87e3c8fa6 100644 --- a/docs/docs/modules/memory/index.mdx +++ b/docs/core_docs/docs/modules/memory/index.mdx @@ -142,7 +142,7 @@ To implement your own memory class you have two options: ### Subclassing `BaseChatMemory` -This is the easiest way to implement your own memory class. You can subclass `BaseChatMemory`, which takes care of `saveContext` by saving inputs and outputs as [Chat Messages](/docs/api/schema/classes/BaseMessage), and implement only the `loadMemoryVariables` method. This method is responsible for returning the memory variables that are relevant for the current input values. +This is the easiest way to implement your own memory class. You can subclass `BaseChatMemory`, which takes care of `saveContext` by saving inputs and outputs as [Chat Messages](https://api.js.langchain.com/classes/schema.BaseMessage.html), and implement only the `loadMemoryVariables` method. This method is responsible for returning the memory variables that are relevant for the current input values. ```typescript abstract class BaseChatMemory extends BaseMemory { diff --git a/docs/docs/modules/model_io/index.mdx b/docs/core_docs/docs/modules/model_io/index.mdx similarity index 100% rename from docs/docs/modules/model_io/index.mdx rename to docs/core_docs/docs/modules/model_io/index.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/_category_.yml b/docs/core_docs/docs/modules/model_io/models/chat/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/_category_.yml rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/_category_.yml diff --git a/docs/docs/modules/model_io/models/chat/how_to/cancelling_requests.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/cancelling_requests.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/cancelling_requests.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/cancelling_requests.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/dealing_with_api_errors.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/dealing_with_api_errors.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/dealing_with_api_errors.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/dealing_with_api_errors.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/dealing_with_rate_limits.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/dealing_with_rate_limits.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/dealing_with_rate_limits.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/dealing_with_rate_limits.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/function_calling.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/function_calling.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/function_calling.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/function_calling.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/llm_caching.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/llm_caching.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/llm_caching.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/llm_caching.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/llm_chain.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/llm_chain.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/llm_chain.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/llm_chain.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/prompts.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/prompts.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/prompts.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/prompts.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/streaming.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/streaming.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/streaming.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/streaming.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/subscribing_events.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/subscribing_events.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/subscribing_events.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/subscribing_events.mdx diff --git a/docs/docs/modules/model_io/models/chat/how_to/timeouts.mdx b/docs/core_docs/docs/modules/model_io/models/chat/how_to/timeouts.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/how_to/timeouts.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/how_to/timeouts.mdx diff --git a/docs/docs/modules/model_io/models/chat/index.mdx b/docs/core_docs/docs/modules/model_io/models/chat/index.mdx similarity index 100% rename from docs/docs/modules/model_io/models/chat/index.mdx rename to docs/core_docs/docs/modules/model_io/models/chat/index.mdx diff --git a/docs/docs/modules/model_io/models/index.mdx b/docs/core_docs/docs/modules/model_io/models/index.mdx similarity index 100% rename from docs/docs/modules/model_io/models/index.mdx rename to docs/core_docs/docs/modules/model_io/models/index.mdx diff --git a/docs/docs/modules/model_io/models/llms/how_to/_category_.yml b/docs/core_docs/docs/modules/model_io/models/llms/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/model_io/models/llms/how_to/_category_.yml rename to docs/core_docs/docs/modules/model_io/models/llms/how_to/_category_.yml diff --git a/docs/docs/modules/model_io/models/llms/how_to/cancelling_requests.mdx b/docs/core_docs/docs/modules/model_io/models/llms/how_to/cancelling_requests.mdx similarity index 100% rename from docs/docs/modules/model_io/models/llms/how_to/cancelling_requests.mdx rename to docs/core_docs/docs/modules/model_io/models/llms/how_to/cancelling_requests.mdx diff --git a/docs/docs/modules/model_io/models/llms/how_to/dealing_with_api_errors.mdx b/docs/core_docs/docs/modules/model_io/models/llms/how_to/dealing_with_api_errors.mdx similarity index 100% rename from docs/docs/modules/model_io/models/llms/how_to/dealing_with_api_errors.mdx rename to docs/core_docs/docs/modules/model_io/models/llms/how_to/dealing_with_api_errors.mdx diff --git a/docs/docs/modules/model_io/models/llms/how_to/dealing_with_rate_limits.mdx b/docs/core_docs/docs/modules/model_io/models/llms/how_to/dealing_with_rate_limits.mdx similarity index 100% rename from docs/docs/modules/model_io/models/llms/how_to/dealing_with_rate_limits.mdx rename to docs/core_docs/docs/modules/model_io/models/llms/how_to/dealing_with_rate_limits.mdx diff --git a/docs/docs/modules/model_io/models/llms/how_to/llm_caching.mdx b/docs/core_docs/docs/modules/model_io/models/llms/how_to/llm_caching.mdx similarity index 100% rename from docs/docs/modules/model_io/models/llms/how_to/llm_caching.mdx rename to docs/core_docs/docs/modules/model_io/models/llms/how_to/llm_caching.mdx diff --git a/docs/docs/modules/model_io/models/llms/how_to/streaming_llm.mdx b/docs/core_docs/docs/modules/model_io/models/llms/how_to/streaming_llm.mdx similarity index 100% rename from docs/docs/modules/model_io/models/llms/how_to/streaming_llm.mdx rename to docs/core_docs/docs/modules/model_io/models/llms/how_to/streaming_llm.mdx diff --git a/docs/docs/modules/model_io/models/llms/how_to/subscribing_events.mdx b/docs/core_docs/docs/modules/model_io/models/llms/how_to/subscribing_events.mdx similarity index 100% rename from docs/docs/modules/model_io/models/llms/how_to/subscribing_events.mdx rename to docs/core_docs/docs/modules/model_io/models/llms/how_to/subscribing_events.mdx diff --git a/docs/docs/modules/model_io/models/llms/how_to/timeouts.mdx b/docs/core_docs/docs/modules/model_io/models/llms/how_to/timeouts.mdx similarity index 100% rename from docs/docs/modules/model_io/models/llms/how_to/timeouts.mdx rename to docs/core_docs/docs/modules/model_io/models/llms/how_to/timeouts.mdx diff --git a/docs/docs/modules/model_io/models/llms/index.mdx b/docs/core_docs/docs/modules/model_io/models/llms/index.mdx similarity index 100% rename from docs/docs/modules/model_io/models/llms/index.mdx rename to docs/core_docs/docs/modules/model_io/models/llms/index.mdx diff --git a/docs/docs/modules/model_io/output_parsers/bytes.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/bytes.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/bytes.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/bytes.mdx diff --git a/docs/docs/modules/model_io/output_parsers/combining_output_parser.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/combining_output_parser.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/combining_output_parser.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/combining_output_parser.mdx diff --git a/docs/docs/modules/model_io/output_parsers/comma_separated.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/comma_separated.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/comma_separated.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/comma_separated.mdx diff --git a/docs/docs/modules/model_io/output_parsers/custom_list_parser.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/custom_list_parser.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/custom_list_parser.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/custom_list_parser.mdx diff --git a/docs/docs/modules/model_io/output_parsers/how_to/_category_.yml b/docs/core_docs/docs/modules/model_io/output_parsers/how_to/_category_.yml similarity index 100% rename from docs/docs/modules/model_io/output_parsers/how_to/_category_.yml rename to docs/core_docs/docs/modules/model_io/output_parsers/how_to/_category_.yml diff --git a/docs/docs/modules/model_io/output_parsers/how_to/use_with_llm_chain.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/how_to/use_with_llm_chain.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/how_to/use_with_llm_chain.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/how_to/use_with_llm_chain.mdx diff --git a/docs/docs/modules/model_io/output_parsers/index.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/index.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/index.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/index.mdx diff --git a/docs/docs/modules/model_io/output_parsers/json_functions.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/json_functions.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/json_functions.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/json_functions.mdx diff --git a/docs/docs/modules/model_io/output_parsers/output_fixing_parser.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/output_fixing_parser.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/output_fixing_parser.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/output_fixing_parser.mdx diff --git a/docs/docs/modules/model_io/output_parsers/string.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/string.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/string.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/string.mdx diff --git a/docs/docs/modules/model_io/output_parsers/structured.mdx b/docs/core_docs/docs/modules/model_io/output_parsers/structured.mdx similarity index 100% rename from docs/docs/modules/model_io/output_parsers/structured.mdx rename to docs/core_docs/docs/modules/model_io/output_parsers/structured.mdx diff --git a/docs/docs/modules/model_io/prompts/example_selectors/index.mdx b/docs/core_docs/docs/modules/model_io/prompts/example_selectors/index.mdx similarity index 100% rename from docs/docs/modules/model_io/prompts/example_selectors/index.mdx rename to docs/core_docs/docs/modules/model_io/prompts/example_selectors/index.mdx diff --git a/docs/docs/modules/model_io/prompts/example_selectors/length_based.mdx b/docs/core_docs/docs/modules/model_io/prompts/example_selectors/length_based.mdx similarity index 100% rename from docs/docs/modules/model_io/prompts/example_selectors/length_based.mdx rename to docs/core_docs/docs/modules/model_io/prompts/example_selectors/length_based.mdx diff --git a/docs/docs/modules/model_io/prompts/example_selectors/similarity.mdx b/docs/core_docs/docs/modules/model_io/prompts/example_selectors/similarity.mdx similarity index 100% rename from docs/docs/modules/model_io/prompts/example_selectors/similarity.mdx rename to docs/core_docs/docs/modules/model_io/prompts/example_selectors/similarity.mdx diff --git a/docs/docs/modules/model_io/prompts/index.mdx b/docs/core_docs/docs/modules/model_io/prompts/index.mdx similarity index 100% rename from docs/docs/modules/model_io/prompts/index.mdx rename to docs/core_docs/docs/modules/model_io/prompts/index.mdx diff --git a/docs/docs/modules/model_io/prompts/prompt_selectors/index.mdx b/docs/core_docs/docs/modules/model_io/prompts/prompt_selectors/index.mdx similarity index 100% rename from docs/docs/modules/model_io/prompts/prompt_selectors/index.mdx rename to docs/core_docs/docs/modules/model_io/prompts/prompt_selectors/index.mdx diff --git a/docs/docs/modules/model_io/prompts/prompt_templates/index.mdx b/docs/core_docs/docs/modules/model_io/prompts/prompt_templates/index.mdx similarity index 100% rename from docs/docs/modules/model_io/prompts/prompt_templates/index.mdx rename to docs/core_docs/docs/modules/model_io/prompts/prompt_templates/index.mdx diff --git a/docs/docs/modules/model_io/prompts/prompt_templates/partial.mdx b/docs/core_docs/docs/modules/model_io/prompts/prompt_templates/partial.mdx similarity index 100% rename from docs/docs/modules/model_io/prompts/prompt_templates/partial.mdx rename to docs/core_docs/docs/modules/model_io/prompts/prompt_templates/partial.mdx diff --git a/docs/docs/modules/model_io/prompts/prompt_templates/prompt_composition.mdx b/docs/core_docs/docs/modules/model_io/prompts/prompt_templates/prompt_composition.mdx similarity index 100% rename from docs/docs/modules/model_io/prompts/prompt_templates/prompt_composition.mdx rename to docs/core_docs/docs/modules/model_io/prompts/prompt_templates/prompt_composition.mdx diff --git a/docs/docs/production/deployment.md b/docs/core_docs/docs/production/deployment.md similarity index 100% rename from docs/docs/production/deployment.md rename to docs/core_docs/docs/production/deployment.md diff --git a/docs/docs/production/tracing.md b/docs/core_docs/docs/production/tracing.md similarity index 100% rename from docs/docs/production/tracing.md rename to docs/core_docs/docs/production/tracing.md diff --git a/docs/docs/security.md b/docs/core_docs/docs/security.md similarity index 100% rename from docs/docs/security.md rename to docs/core_docs/docs/security.md diff --git a/docs/docs/use_cases/agent_simulations/generative_agents.mdx b/docs/core_docs/docs/use_cases/agent_simulations/generative_agents.mdx similarity index 100% rename from docs/docs/use_cases/agent_simulations/generative_agents.mdx rename to docs/core_docs/docs/use_cases/agent_simulations/generative_agents.mdx diff --git a/docs/docs/use_cases/agent_simulations/index.mdx b/docs/core_docs/docs/use_cases/agent_simulations/index.mdx similarity index 100% rename from docs/docs/use_cases/agent_simulations/index.mdx rename to docs/core_docs/docs/use_cases/agent_simulations/index.mdx diff --git a/docs/docs/use_cases/agent_simulations/violation_of_expectations_chain.mdx b/docs/core_docs/docs/use_cases/agent_simulations/violation_of_expectations_chain.mdx similarity index 100% rename from docs/docs/use_cases/agent_simulations/violation_of_expectations_chain.mdx rename to docs/core_docs/docs/use_cases/agent_simulations/violation_of_expectations_chain.mdx diff --git a/docs/docs/use_cases/api.mdx b/docs/core_docs/docs/use_cases/api.mdx similarity index 100% rename from docs/docs/use_cases/api.mdx rename to docs/core_docs/docs/use_cases/api.mdx diff --git a/docs/docs/use_cases/autonomous_agents/auto_gpt.mdx b/docs/core_docs/docs/use_cases/autonomous_agents/auto_gpt.mdx similarity index 100% rename from docs/docs/use_cases/autonomous_agents/auto_gpt.mdx rename to docs/core_docs/docs/use_cases/autonomous_agents/auto_gpt.mdx diff --git a/docs/docs/use_cases/autonomous_agents/baby_agi.mdx b/docs/core_docs/docs/use_cases/autonomous_agents/baby_agi.mdx similarity index 100% rename from docs/docs/use_cases/autonomous_agents/baby_agi.mdx rename to docs/core_docs/docs/use_cases/autonomous_agents/baby_agi.mdx diff --git a/docs/docs/use_cases/autonomous_agents/index.mdx b/docs/core_docs/docs/use_cases/autonomous_agents/index.mdx similarity index 100% rename from docs/docs/use_cases/autonomous_agents/index.mdx rename to docs/core_docs/docs/use_cases/autonomous_agents/index.mdx diff --git a/docs/docs/use_cases/autonomous_agents/sales_gpt.mdx b/docs/core_docs/docs/use_cases/autonomous_agents/sales_gpt.mdx similarity index 100% rename from docs/docs/use_cases/autonomous_agents/sales_gpt.mdx rename to docs/core_docs/docs/use_cases/autonomous_agents/sales_gpt.mdx diff --git a/docs/docs/use_cases/chatbots.mdx b/docs/core_docs/docs/use_cases/chatbots.mdx similarity index 100% rename from docs/docs/use_cases/chatbots.mdx rename to docs/core_docs/docs/use_cases/chatbots.mdx diff --git a/docs/docs/use_cases/extraction.mdx b/docs/core_docs/docs/use_cases/extraction.mdx similarity index 100% rename from docs/docs/use_cases/extraction.mdx rename to docs/core_docs/docs/use_cases/extraction.mdx diff --git a/docs/docs/use_cases/question_answering/advanced_conversational_qa.mdx b/docs/core_docs/docs/use_cases/question_answering/advanced_conversational_qa.mdx similarity index 100% rename from docs/docs/use_cases/question_answering/advanced_conversational_qa.mdx rename to docs/core_docs/docs/use_cases/question_answering/advanced_conversational_qa.mdx diff --git a/docs/docs/use_cases/question_answering/conversational_retrieval_agents.mdx b/docs/core_docs/docs/use_cases/question_answering/conversational_retrieval_agents.mdx similarity index 100% rename from docs/docs/use_cases/question_answering/conversational_retrieval_agents.mdx rename to docs/core_docs/docs/use_cases/question_answering/conversational_retrieval_agents.mdx diff --git a/docs/docs/use_cases/question_answering/index.mdx b/docs/core_docs/docs/use_cases/question_answering/index.mdx similarity index 100% rename from docs/docs/use_cases/question_answering/index.mdx rename to docs/core_docs/docs/use_cases/question_answering/index.mdx diff --git a/docs/docs/use_cases/question_answering/local_retrieval_qa.mdx b/docs/core_docs/docs/use_cases/question_answering/local_retrieval_qa.mdx similarity index 100% rename from docs/docs/use_cases/question_answering/local_retrieval_qa.mdx rename to docs/core_docs/docs/use_cases/question_answering/local_retrieval_qa.mdx diff --git a/docs/docs/use_cases/summarization.mdx b/docs/core_docs/docs/use_cases/summarization.mdx similarity index 100% rename from docs/docs/use_cases/summarization.mdx rename to docs/core_docs/docs/use_cases/summarization.mdx diff --git a/docs/docs/use_cases/tabular.mdx b/docs/core_docs/docs/use_cases/tabular.mdx similarity index 100% rename from docs/docs/use_cases/tabular.mdx rename to docs/core_docs/docs/use_cases/tabular.mdx diff --git a/docs/docusaurus.config.js b/docs/core_docs/docusaurus.config.js similarity index 96% rename from docs/docusaurus.config.js rename to docs/core_docs/docusaurus.config.js index ab553989e9b2..062696804d25 100644 --- a/docs/docusaurus.config.js +++ b/docs/core_docs/docusaurus.config.js @@ -6,7 +6,7 @@ const { ProvidePlugin } = require("webpack"); const path = require("path"); -const examplesPath = path.resolve(__dirname, "..", "examples", "src"); +const examplesPath = path.resolve(__dirname, "..", "..", "examples", "src"); const baseLightCodeBlockTheme = require("prism-react-renderer/themes/vsLight"); const baseDarkCodeBlockTheme = require("prism-react-renderer/themes/vsDark"); @@ -29,12 +29,6 @@ const config = { onBrokenMarkdownLinks: "throw", plugins: [ - [ - "docusaurus-plugin-typedoc", - { - tsconfig: "../langchain/tsconfig.json", - }, - ], () => ({ name: "custom-webpack-config", configureWebpack: () => ({ @@ -50,7 +44,7 @@ const config = { }, alias: { "@examples": examplesPath, - react: path.resolve("../node_modules/react"), + react: path.resolve("../../node_modules/react"), }, }, module: { @@ -170,7 +164,7 @@ const config = { label: "Integrations", }, { - href: "/docs/api/", + href: "https://api.js.langchain.com", label: "API", position: "left", }, diff --git a/docs/package.json b/docs/core_docs/package.json similarity index 85% rename from docs/package.json rename to docs/core_docs/package.json index 1cfd6e62e82a..99fa2e24a9af 100644 --- a/docs/package.json +++ b/docs/core_docs/package.json @@ -1,11 +1,12 @@ { - "name": "docs", + "name": "core_docs", "version": "0.0.0", "private": true, "scripts": { "docusaurus": "docusaurus", - "start": "rimraf ./docs/api && NODE_OPTIONS=--max-old-space-size=7168 docusaurus start", - "build": "rimraf ./build && NODE_OPTIONS=--max-old-space-size=7168 DOCUSAURUS_SSR_CONCURRENCY=4 docusaurus build", + "start": "yarn build:typedoc && rimraf ./docs/api && NODE_OPTIONS=--max-old-space-size=7168 docusaurus start", + "build": "yarn build:typedoc && rimraf ./build && NODE_OPTIONS=--max-old-space-size=7168 DOCUSAURUS_SSR_CONCURRENCY=4 docusaurus build", + "build:typedoc": "cd ../api_refs && yarn build:typedoc", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear", diff --git a/docs/sidebars.js b/docs/core_docs/sidebars.js similarity index 96% rename from docs/sidebars.js rename to docs/core_docs/sidebars.js index ea8e7bd55802..f3476be04a67 100644 --- a/docs/sidebars.js +++ b/docs/core_docs/sidebars.js @@ -92,15 +92,6 @@ module.exports = { value: "
", defaultStyle: true, }, - { - type: "category", - label: "API reference", - link: { - type: "doc", - id: "api/index", - }, - items: [{ type: "autogenerated", dirName: "api" }], - }, ], use_cases: [ { diff --git a/docs/src/css/custom.css b/docs/core_docs/src/css/custom.css similarity index 100% rename from docs/src/css/custom.css rename to docs/core_docs/src/css/custom.css diff --git a/docs/src/pages/index.js b/docs/core_docs/src/pages/index.js similarity index 100% rename from docs/src/pages/index.js rename to docs/core_docs/src/pages/index.js diff --git a/docs/src/theme/CodeBlock/index.js b/docs/core_docs/src/theme/CodeBlock/index.js similarity index 100% rename from docs/src/theme/CodeBlock/index.js rename to docs/core_docs/src/theme/CodeBlock/index.js diff --git a/docs/src/theme/SearchBar.js b/docs/core_docs/src/theme/SearchBar.js similarity index 100% rename from docs/src/theme/SearchBar.js rename to docs/core_docs/src/theme/SearchBar.js diff --git a/docs/static/.nojekyll b/docs/core_docs/static/.nojekyll similarity index 100% rename from docs/static/.nojekyll rename to docs/core_docs/static/.nojekyll diff --git a/docs/static/img/DataberryDashboard.png b/docs/core_docs/static/img/DataberryDashboard.png similarity index 100% rename from docs/static/img/DataberryDashboard.png rename to docs/core_docs/static/img/DataberryDashboard.png diff --git a/docs/static/img/HeliconeDashboard.png b/docs/core_docs/static/img/HeliconeDashboard.png similarity index 100% rename from docs/static/img/HeliconeDashboard.png rename to docs/core_docs/static/img/HeliconeDashboard.png diff --git a/docs/static/img/HeliconeKeys.png b/docs/core_docs/static/img/HeliconeKeys.png similarity index 100% rename from docs/static/img/HeliconeKeys.png rename to docs/core_docs/static/img/HeliconeKeys.png diff --git a/docs/static/img/android-chrome-192x192.png b/docs/core_docs/static/img/android-chrome-192x192.png similarity index 100% rename from docs/static/img/android-chrome-192x192.png rename to docs/core_docs/static/img/android-chrome-192x192.png diff --git a/docs/static/img/android-chrome-512x512.png b/docs/core_docs/static/img/android-chrome-512x512.png similarity index 100% rename from docs/static/img/android-chrome-512x512.png rename to docs/core_docs/static/img/android-chrome-512x512.png diff --git a/docs/static/img/apple-touch-icon.png b/docs/core_docs/static/img/apple-touch-icon.png similarity index 100% rename from docs/static/img/apple-touch-icon.png rename to docs/core_docs/static/img/apple-touch-icon.png diff --git a/docs/static/img/contextual_compression.jpg b/docs/core_docs/static/img/contextual_compression.jpg similarity index 100% rename from docs/static/img/contextual_compression.jpg rename to docs/core_docs/static/img/contextual_compression.jpg diff --git a/docs/static/img/data_connection.jpg b/docs/core_docs/static/img/data_connection.jpg similarity index 100% rename from docs/static/img/data_connection.jpg rename to docs/core_docs/static/img/data_connection.jpg diff --git a/docs/static/img/favicon-16x16.png b/docs/core_docs/static/img/favicon-16x16.png similarity index 100% rename from docs/static/img/favicon-16x16.png rename to docs/core_docs/static/img/favicon-16x16.png diff --git a/docs/static/img/favicon-32x32.png b/docs/core_docs/static/img/favicon-32x32.png similarity index 100% rename from docs/static/img/favicon-32x32.png rename to docs/core_docs/static/img/favicon-32x32.png diff --git a/docs/core_docs/static/img/favicon.ico b/docs/core_docs/static/img/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..4c29611109064a93f09866b3b89d4486b8db1866 GIT binary patch literal 15406 zcmeI3d3e;-)yHr4%w#f|eaTFcNytV*LVyrR0wjbiC`%+H>>w1apj25D5DN$jvTuU8 zR03E*!Y*Mei(nz31s4!2T5D}BtwP_oeeD0A_xytK9WZ4nA@ON5&vT#q+s^NP&-tBu z?!D)GN2vf6q)a9ywNH%;Rw_p+!S3y9?d88>7l4!yo}oYHmddvA*Gc!mDR8tQ|-7{3?*U5JZ$f5#`OLU zjEkodt_!~UV0P5_Gi$UjW?AwMj3H?T)3w9Bk<&M0)M*!(}D-k z84Wj;)o>>y`Y50N6xns3;yHT+vgvztH~P-dOD3>OV+D3f?vg>8KyOwDBx0y&c-vrrnE>SanTX5}WlV0}&1rhUlA*5!cB2jsHHMkK&RN z%6i{RPEHq!i%aNz&%GqcSlYcuA*pTCNK8sX!}a|;OnQv{Ge}tdAQ@X`W6nzW|9gJ# z{{H!!Tr(PtL`3M(iB4%b?J>kz2{-6)56HsSD+PUo-?z|*W2lg}U!F*Z!^?=SD!8Mz z{W0o{dKvpW5k0CC=FUERbNl0-&;wn9nUFLaA)Va>7G&u%jon9xuW9YBm${y$DjnzaV(d!?6Fj+0+MFPBu(hZK`%z0zpq9UfdiFSh zLl=nNe*Sn9-}d*fMvujxE&Y;kP40ntX%%X6U(~D_sMXb|b)s|4S=81Gs5j1`UOi1{ zY*Lfj-H>1rAJ4(NbRZ!!$_ZTfIO_FRQ2Y0y4#~HE>(te9_-%p*k7&}iHG7!5#}YHU z7|V*`xK}=cd+Q?1M>Y~tw~LU|wS=DDgYNV$!dJ~DTw+9{HoSvxV6RHU`}|-$)sN9` z|3ccHcoEhZ7}D>~+%m!)g?m;Rkvpdm|ItS5e}0q5%LfU#ypMpd_n<%X5{Awx zO=@#3#y8l|To8|Y$v}el%_8KpO{mNJ36)~{Y6q@uvx!J>fB$TQ%$?TpZ6vNI#L=m1 zM`EAoi)+IZ1RRzaQ@0XzY88P;=My=1C^{Ki@3gJP2=n$C zM0H8LD|$Czb2{ym53C|*<56M<3?cvg7ZiQ{Eg7Gl$2mjRZ+`yKAk);fJ8dEvV?Uw& z?3Ltx_$7sx{!YrK*U>v<-f;)9`lWIppT$(V=4}a&z-2>QzcshmQE-<4HK#(lYw=?I$_kKJ+Lkq-RktIqxr+ zi|HVkolYkineFRy!O_vtSZ%^n3b(4sUxO)9*7bQ_;V?^ym%MP6sO~9zF;pKZ= z^XwgB_kUNEaELaW?K?c-#Kgvs(=AW(;zr3E3q~!!)*+VI%503u&a1iP>(`jNFv7B& zSf`W_|KbEPYv+-*XFkr-?7N2BUkCr=s5l$Z12VB!wv)WR31gBI&!j@UQ+nd4lH7Bo z^b^gVS~2Pfvl|FawG#Ey5}XsC!8W{_jG85Q2KT%xe&dhz`eU8sv#dQ5@Q&+B%=lca zc|M#&vuX2O1+jDb;e0R`U50~@E?OQvhTz`u1olZFuxtP!$u$HTjuMu#4O@?n(s!@( zuO{@F>v1=nYx#d?pENvUJL4Xffpb7x;%4@t&9WhQp6-k3fzAX}rJzP-5HPYcA(dqW zbYFmqJC3qRG3+Efy0F=OrUAcR_5nCc6LD6gU>}r5^dsF!SWt;~?tPdfpB_5A9jdCm z=x`qa{imZ!wxPO9j<<{C)jJ*`Fm5JcdP~dUH%m+{YlCHYCXR;%`#kZRMOF1YMBvCw z;US8pOqRVBlB*jo`RU37sEQ+~{-T5E65{D8*zaDfX|Qu+way%YQF7Uq(H(J2>Pf=< z3StDi#$yDG=z4zFO4K;B!YO3%sKi?_5h}e79NvVYwnIfFfsP%+e zVp;^d&JuyCI3BCm-6i~uV~O~S@MeJ%dx@RJ=1)A0n)9OYINMPxq>nydhg$p5RZizQ zvHdg02+k>Q5$sy7)7aI6eN?9KUIn-o3#a#-a9)oI|1@Qs@J$PacX}1|LJexYVBaJh z)F$D9-ndxL1*we}2$-~nFsmOo+l>CB_eNnGmX7<;T=Dh$FfJKHz~kaCPYL#A^HJ5+ zf^`pS`(e}`vHQUfPzOGgBKF^NM(zuj*H!xL_2Y3f>0ru>!96}(_@`1_tA`W(WM4vO zk0o%;9I>ahoz4mIVv2O?5R2~K7U+%{*LCe&Lbq|IK=N`=a%7m>3-}h$B_KX86@qRPn$!li94|#=ewIRpWTM}z3o_}*xuWU z^XwLEo0kxgnbI`BR?y+> zI?^s|B;m8oIKQYNN_a@aA9qUGQGe|C_%*C!?zuYmY^FZisD3ifG#3hYII9%PhVi)f zKTG-t)g=FJ3o*i(Mqb)Y&|ls}35ThbfWPcUf4&;igz^@dS6;7!wqMgWupRD&12Alz zf}?H~Ucqj-AmfG6Quw844&T{BJ`BZagHxW{b~-nol|kF8G|9w zb&bz8ysx=yZ>*Qz{mK|NdMK6S$C3TY0ow09Psih*(dnHp$$J0y#GE@p@W~emshuff z!FbFi89xf_nynndxA*Q_$^+xZP_=kD`GU9b&;Lu&&ibVl9K$lkT&DLZkcWYOj)lgN4Jb9#RDce?%Y8&Xdn#eTnxPsWHJ zjqmvDVzgzEQgni>N57!+8+GKr`w2b&`YpZw_AOn`e=50#hh=>F@%W8D_WEO;4ogZm zk|)1J&el`p*PSEx { const chatPrompt = [new SystemMessage("Question: Write a story")]; const res = await model.stream(chatPrompt); for await (const i of res) { + if (typeof i.content !== "string") { + throw new Error( + `Content is not a string. Received: ${JSON.stringify( + i.content, + null, + 2 + )}` + ); + } process.stdout.write(i.content); } }; diff --git a/langchain/package.json b/langchain/package.json index 172b574415f8..aa9ae0527c98 100644 --- a/langchain/package.json +++ b/langchain/package.json @@ -806,7 +806,8 @@ "build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rimraf dist/tests dist/**/tests", "build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rimraf dist-cjs", "build:watch": "node scripts/create-entrypoints.js && tsc --outDir dist/ --watch", - "build:scripts": "node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js && node scripts/generate-docs-llm-compatibility-table", + "build:scripts": "node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js && yarn conditional:api_refs && node scripts/generate-docs-llm-compatibility-table", + "conditional:api_refs": "bash scripts/build-api-refs.sh", "lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", "lint:fix": "yarn lint --fix", "precommit": "lint-staged", diff --git a/langchain/scripts/build-api-refs.sh b/langchain/scripts/build-api-refs.sh new file mode 100644 index 000000000000..42603aa3b66f --- /dev/null +++ b/langchain/scripts/build-api-refs.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +if [ "$SKIP_API_DOCS" != "true" ]; then + cd ../docs/api_refs && yarn build:typedoc +fi diff --git a/langchain/scripts/build-for-api-ref-docs.js b/langchain/scripts/build-for-api-ref-docs.js new file mode 100644 index 000000000000..214b7949f039 --- /dev/null +++ b/langchain/scripts/build-for-api-ref-docs.js @@ -0,0 +1,69 @@ +import { readFile, writeFile, readdir, stat } from "fs/promises"; +import { join } from "path"; + +/** + * @param {string} filePath + */ +async function processIgnoredClassProperties(filePath) { + const data = await readFile(filePath, "utf-8"); + const lines = data.split("\n"); + + let result = ""; + let previousLine = ""; + + for (const line of lines) { + const asyncMethodRegex = /^\s{2}(static\s+|get\s+|async\s+\*?|)(lc_|_)/; + if (!previousLine.includes("@ignore") && asyncMethodRegex.test(line)) { + if (previousLine.startsWith(" */")) { + // Removes the `*/` from the previous line, replacing it + // with `@ignore` and then closing the JSDoc comment. + const splitNewLines = result.split("\n"); + splitNewLines.pop(); + splitNewLines.pop(); + result = splitNewLines.join("\n"); + result += '\n * @ignore\n */\n'; + } else { + result += " /** @ignore */\n"; + } + } + + result += line + "\n"; + previousLine = line; + } + + // Ensure only one newline is present at bottom of each file. + const finalResult = result.trim() + "\n"; + await writeFile(filePath, finalResult); +} + +/** + * Gets all files ending with `.ts` in the given directory. + * @param {string} dir + * @param {Array} fileList + * @returns {Promise>} + */ +async function getAllTsFiles(dir, fileList = []) { + const files = await readdir(dir); + + await Promise.all(files.map(async (file) => { + const filePath = join(dir, file); + const fileStat = await stat(filePath); + + if (fileStat.isDirectory()) { + await getAllTsFiles(filePath, fileList); + } else if (filePath.endsWith('.ts') && !filePath.endsWith('.test.ts')) { + fileList.push(filePath); + } + })); + return fileList; +} + +async function processFiles() { + const dir = join(process.cwd(), "src"); + const allTsFiles = await getAllTsFiles(dir); + + await Promise.all(allTsFiles.map(async (file) => { + await processIgnoredClassProperties(file); + })); +} +processFiles(); diff --git a/langchain/scripts/create-entrypoints.js b/langchain/scripts/create-entrypoints.js index 0776e592f0da..a9fbd090ecd2 100644 --- a/langchain/scripts/create-entrypoints.js +++ b/langchain/scripts/create-entrypoints.js @@ -540,15 +540,12 @@ const generateFiles = () => { }; const updateConfig = () => { - // Update tsconfig.json `typedocOptions.entryPoints` field - updateJsonFile("./tsconfig.json", (json) => ({ + // Update typedoc.json entryPoints field + updateJsonFile("../docs/api_refs/typedoc.json", (json) => ({ ...json, - typedocOptions: { - ...json.typedocOptions, - entryPoints: [...Object.keys(entrypoints)] - .filter((key) => !deprecatedNodeOnly.includes(key)) - .map((key) => `src/${entrypoints[key]}.ts`), - }, + entryPoints: [...Object.keys(entrypoints)] + .filter((key) => !deprecatedNodeOnly.includes(key)) + .map((key) => `../../langchain/src/${entrypoints[key]}.ts`), })); const generatedFiles = generateFiles(); diff --git a/langchain/scripts/generate-docs-llm-compatibility-table.js b/langchain/scripts/generate-docs-llm-compatibility-table.js index 446be8d81ee9..56afbc530c87 100644 --- a/langchain/scripts/generate-docs-llm-compatibility-table.js +++ b/langchain/scripts/generate-docs-llm-compatibility-table.js @@ -77,8 +77,8 @@ Each ChatModel integration can optionally provide native implementations to trul * Build code // documentation paths to rewrite. */ const CWD = process.cwd(); -const LLM_DOC_INDEX_PATH = path.join(CWD, "..", "./docs/docs/integrations/llms/index.mdx"); -const CHAT_MODELS_DOC_INDEX_PATH = path.join(CWD, "..", "./docs/docs/integrations/chat/index.mdx"); +const LLM_DOC_INDEX_PATH = path.join(CWD, "..", "docs", "core_docs", "./docs/integrations/llms/index.mdx"); +const CHAT_MODELS_DOC_INDEX_PATH = path.join(CWD, "..", "docs", "core_docs", "./docs/integrations/chat/index.mdx"); const CHAT_MODEL_DIRECTORY = path.join(CWD, "./dist/chat_models"); const LLM_DIRECTORY = path.join(CWD, "./dist/llms"); diff --git a/langchain/tsconfig.json b/langchain/tsconfig.json index 307df661c54f..ffc49dde54a6 100644 --- a/langchain/tsconfig.json +++ b/langchain/tsconfig.json @@ -29,285 +29,5 @@ "node_modules", "dist", "docs" - ], - "typedocOptions": { - "entryPoints": [ - "src/load/index.ts", - "src/load/serializable.ts", - "src/agents/index.ts", - "src/agents/load.ts", - "src/agents/toolkits/index.ts", - "src/agents/toolkits/aws_sfn.ts", - "src/agents/toolkits/sql/index.ts", - "src/agents/format_scratchpad/openai_functions.ts", - "src/agents/format_scratchpad/openai_tools.ts", - "src/agents/format_scratchpad/log.ts", - "src/agents/format_scratchpad/xml.ts", - "src/agents/format_scratchpad/log_to_message.ts", - "src/agents/react/output_parser.ts", - "src/agents/xml/output_parser.ts", - "src/agents/openai/output_parser.ts", - "src/base_language/index.ts", - "src/tools/index.ts", - "src/tools/aws_lambda.ts", - "src/tools/aws_sfn.ts", - "src/tools/calculator.ts", - "src/tools/render.ts", - "src/tools/sql.ts", - "src/tools/webbrowser.ts", - "src/tools/google_calendar/index.ts", - "src/chains/index.ts", - "src/chains/combine_documents/reduce.ts", - "src/chains/load.ts", - "src/chains/openai_functions/index.ts", - "src/chains/query_constructor/index.ts", - "src/chains/query_constructor/ir.ts", - "src/chains/sql_db/index.ts", - "src/chains/graph_qa/cypher.ts", - "src/embeddings/base.ts", - "src/embeddings/bedrock.ts", - "src/embeddings/cache_backed.ts", - "src/embeddings/cloudflare_workersai.ts", - "src/embeddings/fake.ts", - "src/embeddings/ollama.ts", - "src/embeddings/openai.ts", - "src/embeddings/cohere.ts", - "src/embeddings/tensorflow.ts", - "src/embeddings/hf.ts", - "src/embeddings/hf_transformers.ts", - "src/embeddings/googlevertexai.ts", - "src/embeddings/googlepalm.ts", - "src/embeddings/minimax.ts", - "src/embeddings/voyage.ts", - "src/embeddings/llama_cpp.ts", - "src/llms/load.ts", - "src/llms/base.ts", - "src/llms/openai.ts", - "src/llms/ai21.ts", - "src/llms/aleph_alpha.ts", - "src/llms/cloudflare_workersai.ts", - "src/llms/cohere.ts", - "src/llms/hf.ts", - "src/llms/raycast.ts", - "src/llms/ollama.ts", - "src/llms/replicate.ts", - "src/llms/googlevertexai/index.ts", - "src/llms/googlevertexai/web.ts", - "src/llms/googlepalm.ts", - "src/llms/fireworks.ts", - "src/llms/sagemaker_endpoint.ts", - "src/llms/bedrock/index.ts", - "src/llms/bedrock/web.ts", - "src/llms/llama_cpp.ts", - "src/llms/writer.ts", - "src/llms/portkey.ts", - "src/llms/yandex.ts", - "src/llms/fake.ts", - "src/prompts/index.ts", - "src/prompts/load.ts", - "src/vectorstores/analyticdb.ts", - "src/vectorstores/base.ts", - "src/vectorstores/cassandra.ts", - "src/vectorstores/convex.ts", - "src/vectorstores/elasticsearch.ts", - "src/vectorstores/memory.ts", - "src/vectorstores/cloudflare_vectorize.ts", - "src/vectorstores/closevector/web.ts", - "src/vectorstores/closevector/node.ts", - "src/vectorstores/chroma.ts", - "src/vectorstores/googlevertexai.ts", - "src/vectorstores/hnswlib.ts", - "src/vectorstores/faiss.ts", - "src/vectorstores/weaviate.ts", - "src/vectorstores/lancedb.ts", - "src/vectorstores/momento_vector_index.ts", - "src/vectorstores/mongo.ts", - "src/vectorstores/mongodb_atlas.ts", - "src/vectorstores/pinecone.ts", - "src/vectorstores/qdrant.ts", - "src/vectorstores/supabase.ts", - "src/vectorstores/opensearch.ts", - "src/vectorstores/pgvector.ts", - "src/vectorstores/milvus.ts", - "src/vectorstores/neo4j_vector.ts", - "src/vectorstores/prisma.ts", - "src/vectorstores/typeorm.ts", - "src/vectorstores/myscale.ts", - "src/vectorstores/redis.ts", - "src/vectorstores/typesense.ts", - "src/vectorstores/singlestore.ts", - "src/vectorstores/tigris.ts", - "src/vectorstores/usearch.ts", - "src/vectorstores/vectara.ts", - "src/vectorstores/vercel_postgres.ts", - "src/vectorstores/voy.ts", - "src/vectorstores/xata.ts", - "src/vectorstores/zep.ts", - "src/text_splitter.ts", - "src/memory/index.ts", - "src/memory/zep.ts", - "src/document.ts", - "src/document_loaders/base.ts", - "src/document_loaders/web/apify_dataset.ts", - "src/document_loaders/web/assemblyai.ts", - "src/document_loaders/web/azure_blob_storage_container.ts", - "src/document_loaders/web/azure_blob_storage_file.ts", - "src/document_loaders/web/cheerio.ts", - "src/document_loaders/web/puppeteer.ts", - "src/document_loaders/web/playwright.ts", - "src/document_loaders/web/college_confidential.ts", - "src/document_loaders/web/gitbook.ts", - "src/document_loaders/web/hn.ts", - "src/document_loaders/web/imsdb.ts", - "src/document_loaders/web/figma.ts", - "src/document_loaders/web/github.ts", - "src/document_loaders/web/notiondb.ts", - "src/document_loaders/web/notionapi.ts", - "src/document_loaders/web/pdf.ts", - "src/document_loaders/web/recursive_url.ts", - "src/document_loaders/web/s3.ts", - "src/document_loaders/web/sonix_audio.ts", - "src/document_loaders/web/confluence.ts", - "src/document_loaders/web/searchapi.ts", - "src/document_loaders/web/serpapi.ts", - "src/document_loaders/web/sort_xyz_blockchain.ts", - "src/document_loaders/web/youtube.ts", - "src/document_loaders/fs/directory.ts", - "src/document_loaders/fs/buffer.ts", - "src/document_loaders/fs/text.ts", - "src/document_loaders/fs/json.ts", - "src/document_loaders/fs/srt.ts", - "src/document_loaders/fs/pdf.ts", - "src/document_loaders/fs/docx.ts", - "src/document_loaders/fs/epub.ts", - "src/document_loaders/fs/csv.ts", - "src/document_loaders/fs/notion.ts", - "src/document_loaders/fs/unstructured.ts", - "src/document_loaders/fs/openai_whisper_audio.ts", - "src/document_transformers/html_to_text.ts", - "src/document_transformers/mozilla_readability.ts", - "src/document_transformers/openai_functions.ts", - "src/chat_models/base.ts", - "src/chat_models/openai.ts", - "src/chat_models/portkey.ts", - "src/chat_models/anthropic.ts", - "src/chat_models/bedrock/index.ts", - "src/chat_models/bedrock/web.ts", - "src/chat_models/cloudflare_workersai.ts", - "src/chat_models/googlevertexai/index.ts", - "src/chat_models/googlevertexai/web.ts", - "src/chat_models/googlepalm.ts", - "src/chat_models/fireworks.ts", - "src/chat_models/baiduwenxin.ts", - "src/chat_models/iflytek_xinghuo/index.ts", - "src/chat_models/iflytek_xinghuo/web.ts", - "src/chat_models/ollama.ts", - "src/chat_models/minimax.ts", - "src/chat_models/llama_cpp.ts", - "src/chat_models/yandex.ts", - "src/chat_models/fake.ts", - "src/schema/index.ts", - "src/schema/document.ts", - "src/schema/output_parser.ts", - "src/schema/prompt_template.ts", - "src/schema/query_constructor.ts", - "src/schema/retriever.ts", - "src/schema/runnable/index.ts", - "src/schema/storage.ts", - "src/sql_db.ts", - "src/callbacks/index.ts", - "src/callbacks/handlers/llmonitor.ts", - "src/output_parsers/index.ts", - "src/output_parsers/expression.ts", - "src/retrievers/amazon_kendra.ts", - "src/retrievers/remote/index.ts", - "src/retrievers/supabase.ts", - "src/retrievers/zep.ts", - "src/retrievers/metal.ts", - "src/retrievers/chaindesk.ts", - "src/retrievers/databerry.ts", - "src/retrievers/contextual_compression.ts", - "src/retrievers/document_compressors/index.ts", - "src/retrievers/multi_query.ts", - "src/retrievers/multi_vector.ts", - "src/retrievers/parent_document.ts", - "src/retrievers/tavily_search_api.ts", - "src/retrievers/time_weighted.ts", - "src/retrievers/document_compressors/chain_extract.ts", - "src/retrievers/document_compressors/embeddings_filter.ts", - "src/retrievers/hyde.ts", - "src/retrievers/score_threshold.ts", - "src/retrievers/self_query/index.ts", - "src/retrievers/self_query/chroma.ts", - "src/retrievers/self_query/functional.ts", - "src/retrievers/self_query/pinecone.ts", - "src/retrievers/self_query/supabase.ts", - "src/retrievers/self_query/weaviate.ts", - "src/retrievers/vespa.ts", - "src/cache/index.ts", - "src/cache/cloudflare_kv.ts", - "src/cache/momento.ts", - "src/cache/redis.ts", - "src/cache/ioredis.ts", - "src/cache/upstash_redis.ts", - "src/stores/doc/in_memory.ts", - "src/stores/doc/gcs.ts", - "src/stores/file/in_memory.ts", - "src/stores/file/node.ts", - "src/stores/message/cassandra.ts", - "src/stores/message/convex.ts", - "src/stores/message/cloudflare_d1.ts", - "src/stores/message/in_memory.ts", - "src/stores/message/dynamodb.ts", - "src/stores/message/firestore.ts", - "src/stores/message/momento.ts", - "src/stores/message/mongodb.ts", - "src/stores/message/redis.ts", - "src/stores/message/ioredis.ts", - "src/stores/message/upstash_redis.ts", - "src/stores/message/planetscale.ts", - "src/stores/message/xata.ts", - "src/storage/convex.ts", - "src/storage/encoder_backed.ts", - "src/storage/in_memory.ts", - "src/storage/ioredis.ts", - "src/storage/vercel_kv.ts", - "src/storage/upstash_redis.ts", - "src/storage/file_system.ts", - "src/graphs/neo4j_graph.ts", - "src/hub.ts", - "src/util/convex.ts", - "src/util/document.ts", - "src/util/math.ts", - "src/util/time.ts", - "src/experimental/autogpt/index.ts", - "src/experimental/openai_assistant/index.ts", - "src/experimental/babyagi/index.ts", - "src/experimental/generative_agents/index.ts", - "src/experimental/plan_and_execute/index.ts", - "src/experimental/multimodal_embeddings/googlevertexai.ts", - "src/experimental/chat_models/anthropic_functions.ts", - "src/experimental/chat_models/bittensor.ts", - "src/experimental/llms/bittensor.ts", - "src/experimental/hubs/makersuite/googlemakersuitehub.ts", - "src/experimental/chains/violation_of_expectations/index.ts", - "src/evaluation/index.ts", - "src/runnables/remote.ts" - ], - "sort": [ - "kind", - "visibility", - "instance-first", - "required-first", - "alphabetical" - ], - "excludePrivate": true, - "excludeInternal": true, - "excludeExternals": true, - "excludeNotDocumented": false, - "includeVersion": true, - "sourceLinkTemplate": "https://github.com/langchain-ai/langchainjs/blob/{gitRevision}/{path}#L{line}", - "readme": "none", - "out": "docs" - } + ] } diff --git a/package.json b/package.json index 9d15899dc772..2e24de19cb68 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "workspaces": [ "langchain", "examples", - "docs" + "docs/*" ], "repository": { "type": "git", @@ -17,6 +17,7 @@ "packageManager": "yarn@3.4.1", "scripts": { "build": "turbo run build --filter=\"!test-exports-*\" --concurrency 1", + "build:api_refs": "cd ./docs/api_refs && yarn build:typedoc", "format": "turbo run format", "format:check": "turbo run format:check", "lint": "turbo run lint --concurrency 1", @@ -30,7 +31,8 @@ "publish": "bash langchain/scripts/release-branch.sh && turbo run --filter langchain build lint test --concurrency 1 && yarn run test:exports:docker && yarn workspace langchain run release && echo '🔗 Open https://github.com/langchain-ai/langchainjs/compare/release?expand=1 and merge the release PR'", "example": "yarn workspace examples start", "precommit": "turbo run precommit", - "docs": "yarn workspace docs start", + "docs": "yarn workspace core_docs start", + "docs:api_refs": "yarn workspace api_refs start", "postinstall": "husky install" }, "author": "LangChain", diff --git a/yarn.lock b/yarn.lock index e03247ace168..396b4a9d8ab8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -194,6 +194,13 @@ __metadata: languageName: node linkType: hard +"@alloc/quick-lru@npm:^5.2.0": + version: 5.2.0 + resolution: "@alloc/quick-lru@npm:5.2.0" + checksum: bdc35758b552bcf045733ac047fb7f9a07c4678b944c641adfbd41f798b4b91fffd0fdc0df2578d9b0afc7b4d636aa6e110ead5d6281a2adc1ab90efd7f057f8 + languageName: node + linkType: hard + "@ampproject/remapping@npm:^2.2.0": version: 2.2.0 resolution: "@ampproject/remapping@npm:2.2.0" @@ -5841,7 +5848,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.8.4": +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.8.4": version: 7.23.2 resolution: "@babel/runtime@npm:7.23.2" dependencies: @@ -7009,6 +7016,23 @@ __metadata: languageName: node linkType: hard +"@eslint/eslintrc@npm:^2.1.3": + version: 2.1.3 + resolution: "@eslint/eslintrc@npm:2.1.3" + dependencies: + ajv: ^6.12.4 + debug: ^4.3.2 + espree: ^9.6.0 + globals: ^13.19.0 + ignore: ^5.2.0 + import-fresh: ^3.2.1 + js-yaml: ^4.1.0 + minimatch: ^3.1.2 + strip-json-comments: ^3.1.1 + checksum: 5c6c3878192fe0ddffa9aff08b4e2f3bcc8f1c10d6449b7295a5f58b662019896deabfc19890455ffd7e60a5bd28d25d0eaefb2f78b2d230aae3879af92b89e5 + languageName: node + linkType: hard + "@eslint/js@npm:8.35.0": version: 8.35.0 resolution: "@eslint/js@npm:8.35.0" @@ -7023,6 +7047,13 @@ __metadata: languageName: node linkType: hard +"@eslint/js@npm:8.53.0": + version: 8.53.0 + resolution: "@eslint/js@npm:8.53.0" + checksum: e0d5cfb0000aaee237c8e6d6d6e366faa60b1ef7f928ce17778373aa44d3b886368f6d5e1f97f913f0f16801aad016db8b8df78418c9d18825c15590328028af + languageName: node + linkType: hard + "@faker-js/faker@npm:^7.6.0": version: 7.6.0 resolution: "@faker-js/faker@npm:7.6.0" @@ -7371,6 +7402,17 @@ __metadata: languageName: node linkType: hard +"@humanwhocodes/config-array@npm:^0.11.13": + version: 0.11.13 + resolution: "@humanwhocodes/config-array@npm:0.11.13" + dependencies: + "@humanwhocodes/object-schema": ^2.0.1 + debug: ^4.1.1 + minimatch: ^3.0.5 + checksum: f8ea57b0d7ed7f2d64cd3944654976829d9da91c04d9c860e18804729a33f7681f78166ef4c761850b8c324d362f7d53f14c5c44907a6b38b32c703ff85e4805 + languageName: node + linkType: hard + "@humanwhocodes/config-array@npm:^0.11.8": version: 0.11.8 resolution: "@humanwhocodes/config-array@npm:0.11.8" @@ -7396,6 +7438,13 @@ __metadata: languageName: node linkType: hard +"@humanwhocodes/object-schema@npm:^2.0.1": + version: 2.0.1 + resolution: "@humanwhocodes/object-schema@npm:2.0.1" + checksum: 24929487b1ed48795d2f08346a0116cc5ee4634848bce64161fb947109352c562310fd159fc64dda0e8b853307f5794605191a9547f7341158559ca3c8262a45 + languageName: node + linkType: hard + "@iarna/toml@npm:2.2.5": version: 2.2.5 resolution: "@iarna/toml@npm:2.2.5" @@ -8006,6 +8055,85 @@ __metadata: languageName: node linkType: hard +"@next/env@npm:14.0.1": + version: 14.0.1 + resolution: "@next/env@npm:14.0.1" + checksum: 1fab6732f877c3702fce12396f16046f9b7a59c70b0d0b3db713995eed431706d12175530709d21c613682865ce82ef965a5719a43d6bc84142462a8ed558cda + languageName: node + linkType: hard + +"@next/eslint-plugin-next@npm:14.0.1": + version: 14.0.1 + resolution: "@next/eslint-plugin-next@npm:14.0.1" + dependencies: + glob: 7.1.7 + checksum: 2bb3cd1035414a1cf645772297224bf50cb81947c2aae8a8c0caee20f2b8f1931dab0f16c0dabfb08eb61a247a0006b57d98dd81ae02558470808f1e22fa7665 + languageName: node + linkType: hard + +"@next/swc-darwin-arm64@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-darwin-arm64@npm:14.0.1" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@next/swc-darwin-x64@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-darwin-x64@npm:14.0.1" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@next/swc-linux-arm64-gnu@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-linux-arm64-gnu@npm:14.0.1" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@next/swc-linux-arm64-musl@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-linux-arm64-musl@npm:14.0.1" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@next/swc-linux-x64-gnu@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-linux-x64-gnu@npm:14.0.1" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@next/swc-linux-x64-musl@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-linux-x64-musl@npm:14.0.1" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@next/swc-win32-arm64-msvc@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-win32-arm64-msvc@npm:14.0.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@next/swc-win32-ia32-msvc@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-win32-ia32-msvc@npm:14.0.1" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@next/swc-win32-x64-msvc@npm:14.0.1": + version: 14.0.1 + resolution: "@next/swc-win32-x64-msvc@npm:14.0.1" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@nicolo-ribaudo/eslint-scope-5-internals@npm:5.1.1-v1": version: 5.1.1-v1 resolution: "@nicolo-ribaudo/eslint-scope-5-internals@npm:5.1.1-v1" @@ -8789,6 +8917,13 @@ __metadata: languageName: node linkType: hard +"@rushstack/eslint-patch@npm:^1.3.3": + version: 1.5.1 + resolution: "@rushstack/eslint-patch@npm:1.5.1" + checksum: e4c25322312dbaa29e835a7ab4fbac53c8731dd0da65e46646e38945e296429e7fb91c2ef3da5af5d5938d44b0cde1d5290438ebb3dcb015e02b80b5e2530d24 + languageName: node + linkType: hard + "@selderee/plugin-htmlparser2@npm:^0.11.0": version: 0.11.0 resolution: "@selderee/plugin-htmlparser2@npm:0.11.0" @@ -10633,6 +10768,15 @@ __metadata: languageName: node linkType: hard +"@swc/helpers@npm:0.5.2": + version: 0.5.2 + resolution: "@swc/helpers@npm:0.5.2" + dependencies: + tslib: ^2.4.0 + checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258 + languageName: node + linkType: hard + "@swc/jest@npm:^0.2.29": version: 0.2.29 resolution: "@swc/jest@npm:0.2.29" @@ -11318,6 +11462,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^20": + version: 20.8.10 + resolution: "@types/node@npm:20.8.10" + dependencies: + undici-types: ~5.26.4 + checksum: 7c61190e43e8074a1b571e52ff14c880bc67a0447f2fe5ed0e1a023eb8a23d5f815658edb98890f7578afe0f090433c4a635c7c87311762544e20dd78723e515 + languageName: node + linkType: hard + "@types/node@npm:^20.4.5": version: 20.4.8 resolution: "@types/node@npm:20.4.8" @@ -11434,6 +11587,15 @@ __metadata: languageName: node linkType: hard +"@types/react-dom@npm:^18": + version: 18.2.14 + resolution: "@types/react-dom@npm:18.2.14" + dependencies: + "@types/react": "*" + checksum: 890289c70d1966c168037637c09cacefe6205bdd27a33252144a6b432595a2943775ac1a1accac0beddaeb67f8fdf721e076acb1adc990b08e51c3d9fd4e780c + languageName: node + linkType: hard + "@types/react-router-config@npm:*, @types/react-router-config@npm:^5.0.6": version: 5.0.8 resolution: "@types/react-router-config@npm:5.0.8" @@ -11488,6 +11650,17 @@ __metadata: languageName: node linkType: hard +"@types/react@npm:^18": + version: 18.2.35 + resolution: "@types/react@npm:18.2.35" + dependencies: + "@types/prop-types": "*" + "@types/scheduler": "*" + csstype: ^3.0.2 + checksum: d3f1c39116c82e3a504f3332b9198f94f34a33d8535604434b1e387ecabd41ec995961775e2e1c08feefdde878a5b86220879350900137980d681ae3983db462 + languageName: node + linkType: hard + "@types/responselike@npm:^1.0.0": version: 1.0.1 resolution: "@types/responselike@npm:1.0.1" @@ -11769,6 +11942,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0": + version: 6.9.1 + resolution: "@typescript-eslint/parser@npm:6.9.1" + dependencies: + "@typescript-eslint/scope-manager": 6.9.1 + "@typescript-eslint/types": 6.9.1 + "@typescript-eslint/typescript-estree": 6.9.1 + "@typescript-eslint/visitor-keys": 6.9.1 + debug: ^4.3.4 + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: aabca4e9751c0caf48477a75a811e1f96176ddea26465d5654579a1a5288d1bb959bf4426207ee22f7dcfb2f1ab50ade2bbf49fee555e1b4ca8abebd47fe26fb + languageName: node + linkType: hard + "@typescript-eslint/parser@npm:^5.51.0": version: 5.54.1 resolution: "@typescript-eslint/parser@npm:5.54.1" @@ -11823,6 +12014,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:6.9.1": + version: 6.9.1 + resolution: "@typescript-eslint/scope-manager@npm:6.9.1" + dependencies: + "@typescript-eslint/types": 6.9.1 + "@typescript-eslint/visitor-keys": 6.9.1 + checksum: 3b48f7c939ab4668e150360756b84310467306700b874d028614b337e894d1db79f9898e3d20b9d60ef40c219160d653791ed61058c8857059c310c904a4c6a8 + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:5.54.1": version: 5.54.1 resolution: "@typescript-eslint/type-utils@npm:5.54.1" @@ -11871,6 +12072,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:6.9.1": + version: 6.9.1 + resolution: "@typescript-eslint/types@npm:6.9.1" + checksum: f9208af83e8117cdeb48655bbb436339b8b2369421cda0cc7ae7c7bb44a2743a5b2702c9c9f7ccbe261fbac63083c6e357a015a20903cb8dfed3e754f8fb40e3 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:5.54.1": version: 5.54.1 resolution: "@typescript-eslint/typescript-estree@npm:5.54.1" @@ -11907,6 +12115,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:6.9.1": + version: 6.9.1 + resolution: "@typescript-eslint/typescript-estree@npm:6.9.1" + dependencies: + "@typescript-eslint/types": 6.9.1 + "@typescript-eslint/visitor-keys": 6.9.1 + debug: ^4.3.4 + globby: ^11.1.0 + is-glob: ^4.0.3 + semver: ^7.5.4 + ts-api-utils: ^1.0.1 + peerDependenciesMeta: + typescript: + optional: true + checksum: 3824629963e05a70944788da00711e35ac9ba72be690add5b3d771b2aa5a7d1f9bcf974e0170e6ee644090c96b9e0496d781dd4f4893e6e24652e7dae876c293 + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:5.54.1": version: 5.54.1 resolution: "@typescript-eslint/utils@npm:5.54.1" @@ -11963,6 +12189,23 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:6.9.1": + version: 6.9.1 + resolution: "@typescript-eslint/visitor-keys@npm:6.9.1" + dependencies: + "@typescript-eslint/types": 6.9.1 + eslint-visitor-keys: ^3.4.1 + checksum: 4262055a71d9f54d576df915a80050ad1ad01ef13301e67a1494ca34712a73b9f31f0d06830c582d8dd7483681368aa769575f9db03cb5a8e910efc435f0e78a + languageName: node + linkType: hard + +"@ungap/structured-clone@npm:^1.2.0": + version: 1.2.0 + resolution: "@ungap/structured-clone@npm:1.2.0" + checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524 + languageName: node + linkType: hard + "@upstash/redis@npm:1.22.0": version: 1.22.0 resolution: "@upstash/redis@npm:1.22.0" @@ -12597,6 +12840,25 @@ __metadata: languageName: node linkType: hard +"api_refs@workspace:docs/api_refs": + version: 0.0.0-use.local + resolution: "api_refs@workspace:docs/api_refs" + dependencies: + "@types/node": ^20 + "@types/react": ^18 + "@types/react-dom": ^18 + autoprefixer: ^10.0.1 + eslint: ^8 + eslint-config-next: 14.0.1 + next: 14.0.1 + postcss: ^8 + react: ^18 + react-dom: ^18 + tailwindcss: ^3.3.0 + typescript: ^5 + languageName: unknown + linkType: soft + "apify-client@npm:^2.7.1": version: 2.7.1 resolution: "apify-client@npm:2.7.1" @@ -12649,7 +12911,7 @@ __metadata: languageName: node linkType: hard -"arg@npm:^5.0.0": +"arg@npm:^5.0.0, arg@npm:^5.0.2": version: 5.0.2 resolution: "arg@npm:5.0.2" checksum: 6c69ada1a9943d332d9e5382393e897c500908d91d5cb735a01120d5f71daf1b339b7b8980cbeaba8fd1afc68e658a739746179e4315a26e8a28951ff9930078 @@ -12672,7 +12934,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.1.3": +"aria-query@npm:^5.1.3, aria-query@npm:^5.3.0": version: 5.3.0 resolution: "aria-query@npm:5.3.0" dependencies: @@ -12742,6 +13004,19 @@ __metadata: languageName: node linkType: hard +"array-includes@npm:^3.1.7": + version: 3.1.7 + resolution: "array-includes@npm:3.1.7" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + get-intrinsic: ^1.2.1 + is-string: ^1.0.7 + checksum: 06f9e4598fac12a919f7c59a3f04f010ea07f0b7f0585465ed12ef528a60e45f374e79d1bddbb34cdd4338357d00023ddbd0ac18b0be36964f5e726e8965d7fc + languageName: node + linkType: hard + "array-union@npm:^2.1.0": version: 2.1.0 resolution: "array-union@npm:2.1.0" @@ -12749,7 +13024,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.2": +"array.prototype.findlastindex@npm:^1.2.2, array.prototype.findlastindex@npm:^1.2.3": version: 1.2.3 resolution: "array.prototype.findlastindex@npm:1.2.3" dependencies: @@ -12774,6 +13049,18 @@ __metadata: languageName: node linkType: hard +"array.prototype.flat@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flat@npm:1.3.2" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + es-shim-unscopables: ^1.0.0 + checksum: 5d6b4bf102065fb3f43764bfff6feb3295d372ce89591e6005df3d0ce388527a9f03c909af6f2a973969a4d178ab232ffc9236654149173e0e187ec3a1a6b87b + languageName: node + linkType: hard + "array.prototype.flatmap@npm:^1.3.1": version: 1.3.1 resolution: "array.prototype.flatmap@npm:1.3.1" @@ -12786,6 +13073,18 @@ __metadata: languageName: node linkType: hard +"array.prototype.flatmap@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flatmap@npm:1.3.2" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + es-shim-unscopables: ^1.0.0 + checksum: ce09fe21dc0bcd4f30271f8144083aa8c13d4639074d6c8dc82054b847c7fc9a0c97f857491f4da19d4003e507172a78f4bcd12903098adac8b9cd374f734be3 + languageName: node + linkType: hard + "array.prototype.map@npm:^1.0.5": version: 1.0.5 resolution: "array.prototype.map@npm:1.0.5" @@ -12858,6 +13157,13 @@ __metadata: languageName: node linkType: hard +"ast-types-flow@npm:^0.0.8": + version: 0.0.8 + resolution: "ast-types-flow@npm:0.0.8" + checksum: 0a64706609a179233aac23817837abab614f3548c252a2d3d79ea1e10c74aa28a0846e11f466cf72771b6ed8713abc094dcf8c40c3ec4207da163efa525a94a8 + languageName: node + linkType: hard + "ast-types@npm:^0.13.2": version: 0.13.4 resolution: "ast-types@npm:0.13.4" @@ -12913,7 +13219,7 @@ __metadata: languageName: node linkType: hard -"autoprefixer@npm:^10.4.12, autoprefixer@npm:^10.4.7": +"autoprefixer@npm:^10.0.1, autoprefixer@npm:^10.4.12, autoprefixer@npm:^10.4.7": version: 10.4.16 resolution: "autoprefixer@npm:10.4.16" dependencies: @@ -12945,6 +13251,13 @@ __metadata: languageName: node linkType: hard +"axe-core@npm:=4.7.0": + version: 4.7.0 + resolution: "axe-core@npm:4.7.0" + checksum: f086bcab42be1761ba2b0b127dec350087f4c3a853bba8dd58f69d898cefaac31a1561da23146f6f3c07954c76171d1f2ce460e555e052d2b02cd79af628fa4a + languageName: node + linkType: hard + "axe-core@npm:^4.6.2": version: 4.8.2 resolution: "axe-core@npm:4.8.2" @@ -13001,7 +13314,7 @@ __metadata: languageName: node linkType: hard -"axobject-query@npm:^3.1.1": +"axobject-query@npm:^3.1.1, axobject-query@npm:^3.2.1": version: 3.2.1 resolution: "axobject-query@npm:3.2.1" dependencies: @@ -13584,7 +13897,7 @@ __metadata: languageName: node linkType: hard -"busboy@npm:^1.6.0": +"busboy@npm:1.6.0, busboy@npm:^1.6.0": version: 1.6.0 resolution: "busboy@npm:1.6.0" dependencies: @@ -13730,7 +14043,7 @@ __metadata: languageName: node linkType: hard -"camelcase-css@npm:2.0.1": +"camelcase-css@npm:2.0.1, camelcase-css@npm:^2.0.1": version: 2.0.1 resolution: "camelcase-css@npm:2.0.1" checksum: 1cec2b3b3dcb5026688a470b00299a8db7d904c4802845c353dbd12d9d248d3346949a814d83bfd988d4d2e5b9904c07efe76fecd195a1d4f05b543e7c0b56b1 @@ -13777,6 +14090,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001406": + version: 1.0.30001561 + resolution: "caniuse-lite@npm:1.0.30001561" + checksum: 949829fe037e23346595614e01d362130245920503a12677f2506ce68e1240360113d6383febed41e8aa38cd0f5fd9c69c21b0af65a71c0246d560db489f1373 + languageName: node + linkType: hard + "caniuse-lite@npm:^1.0.30001449": version: 1.0.30001462 resolution: "caniuse-lite@npm:1.0.30001462" @@ -14158,6 +14478,13 @@ __metadata: languageName: node linkType: hard +"client-only@npm:0.0.1": + version: 0.0.1 + resolution: "client-only@npm:0.0.1" + checksum: 0c16bf660dadb90610553c1d8946a7fdfb81d624adea073b8440b7d795d5b5b08beb3c950c6a2cf16279365a3265158a236876d92bce16423c485c322d7dfaf8 + languageName: node + linkType: hard + "cliui@npm:^7.0.2": version: 7.0.4 resolution: "cliui@npm:7.0.4" @@ -14544,6 +14871,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^4.0.0": + version: 4.1.1 + resolution: "commander@npm:4.1.1" + checksum: d7b9913ff92cae20cb577a4ac6fcc121bd6223319e54a40f51a14740a681ad5c574fd29a57da478a5f234a6fa6c52cbf0b7c641353e03c648b1ae85ba670b977 + languageName: node + linkType: hard + "commander@npm:^5.1.0": version: 5.1.0 resolution: "commander@npm:5.1.0" @@ -14799,6 +15133,40 @@ __metadata: languageName: node linkType: hard +"core_docs@workspace:docs/core_docs": + version: 0.0.0-use.local + resolution: "core_docs@workspace:docs/core_docs" + dependencies: + "@babel/eslint-parser": ^7.18.2 + "@docusaurus/core": 2.4.1 + "@docusaurus/preset-classic": 2.4.1 + "@docusaurus/remark-plugin-npm2yarn": ^2.4.1 + "@mdx-js/react": ^1.6.22 + "@mendable/search": ^0.0.160 + "@swc/core": ^1.3.62 + clsx: ^1.2.1 + docusaurus-plugin-typedoc: 1.0.0-next.5 + eslint: ^8.19.0 + eslint-config-airbnb: ^19.0.4 + eslint-config-prettier: ^8.5.0 + eslint-plugin-header: ^3.1.1 + eslint-plugin-import: ^2.26.0 + eslint-plugin-jsx-a11y: ^6.6.0 + eslint-plugin-react: ^7.30.1 + eslint-plugin-react-hooks: ^4.6.0 + json-loader: ^0.5.7 + prettier: ^2.7.1 + process: ^0.11.10 + react: ^17.0.2 + react-dom: ^17.0.2 + rimraf: ^5.0.1 + swc-loader: ^0.2.3 + typedoc: ^0.24.4 + typedoc-plugin-markdown: next + webpack: ^5.75.0 + languageName: unknown + linkType: soft + "cosmiconfig@npm:8.0.0": version: 8.0.0 resolution: "cosmiconfig@npm:8.0.0" @@ -15584,6 +15952,13 @@ __metadata: languageName: node linkType: hard +"didyoumean@npm:^1.2.2": + version: 1.2.2 + resolution: "didyoumean@npm:1.2.2" + checksum: d5d98719d58b3c2fa59663c4c42ba9716f1fd01245c31d5fce31915bd3aa26e6aac149788e007358f778ebbd68a2256eb5973e8ca6f221df221ba060115acf2e + languageName: node + linkType: hard + "diff-sequences@npm:^29.4.3": version: 29.4.3 resolution: "diff-sequences@npm:29.4.3" @@ -15617,6 +15992,13 @@ __metadata: languageName: node linkType: hard +"dlv@npm:^1.1.3": + version: 1.1.3 + resolution: "dlv@npm:1.1.3" + checksum: d7381bca22ed11933a1ccf376db7a94bee2c57aa61e490f680124fa2d1cd27e94eba641d9f45be57caab4f9a6579de0983466f620a2cd6230d7ec93312105ae7 + languageName: node + linkType: hard + "dns-equal@npm:^1.0.0": version: 1.0.0 resolution: "dns-equal@npm:1.0.0" @@ -15633,43 +16015,9 @@ __metadata: languageName: node linkType: hard -"docs@workspace:docs": - version: 0.0.0-use.local - resolution: "docs@workspace:docs" - dependencies: - "@babel/eslint-parser": ^7.18.2 - "@docusaurus/core": 2.4.1 - "@docusaurus/preset-classic": 2.4.1 - "@docusaurus/remark-plugin-npm2yarn": ^2.4.1 - "@mdx-js/react": ^1.6.22 - "@mendable/search": ^0.0.160 - "@swc/core": ^1.3.62 - clsx: ^1.2.1 - docusaurus-plugin-typedoc: 1.0.0-next.5 - eslint: ^8.19.0 - eslint-config-airbnb: ^19.0.4 - eslint-config-prettier: ^8.5.0 - eslint-plugin-header: ^3.1.1 - eslint-plugin-import: ^2.26.0 - eslint-plugin-jsx-a11y: ^6.6.0 - eslint-plugin-react: ^7.30.1 - eslint-plugin-react-hooks: ^4.6.0 - json-loader: ^0.5.7 - prettier: ^2.7.1 - process: ^0.11.10 - react: ^17.0.2 - react-dom: ^17.0.2 - rimraf: ^5.0.1 - swc-loader: ^0.2.3 - typedoc: ^0.24.4 - typedoc-plugin-markdown: next - webpack: ^5.75.0 - languageName: unknown - linkType: soft - -"doctrine@npm:^2.1.0": - version: 2.1.0 - resolution: "doctrine@npm:2.1.0" +"doctrine@npm:^2.1.0": + version: 2.1.0 + resolution: "doctrine@npm:2.1.0" dependencies: esutils: ^2.0.2 checksum: a45e277f7feaed309fe658ace1ff286c6e2002ac515af0aaf37145b8baa96e49899638c7cd47dccf84c3d32abfc113246625b3ac8f552d1046072adee13b0dc8 @@ -16025,7 +16373,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.15.0": +"enhanced-resolve@npm:^5.12.0, enhanced-resolve@npm:^5.15.0": version: 5.15.0 resolution: "enhanced-resolve@npm:5.15.0" dependencies: @@ -16226,7 +16574,7 @@ __metadata: languageName: node linkType: hard -"es-iterator-helpers@npm:^1.0.12": +"es-iterator-helpers@npm:^1.0.12, es-iterator-helpers@npm:^1.0.15": version: 1.0.15 resolution: "es-iterator-helpers@npm:1.0.15" dependencies: @@ -16591,6 +16939,29 @@ __metadata: languageName: node linkType: hard +"eslint-config-next@npm:14.0.1": + version: 14.0.1 + resolution: "eslint-config-next@npm:14.0.1" + dependencies: + "@next/eslint-plugin-next": 14.0.1 + "@rushstack/eslint-patch": ^1.3.3 + "@typescript-eslint/parser": ^5.4.2 || ^6.0.0 + eslint-import-resolver-node: ^0.3.6 + eslint-import-resolver-typescript: ^3.5.2 + eslint-plugin-import: ^2.28.1 + eslint-plugin-jsx-a11y: ^6.7.1 + eslint-plugin-react: ^7.33.2 + eslint-plugin-react-hooks: ^4.5.0 || 5.0.0-canary-7118f5dd7-20230705 + peerDependencies: + eslint: ^7.23.0 || ^8.0.0 + typescript: ">=3.3.1" + peerDependenciesMeta: + typescript: + optional: true + checksum: c70d6b68a6d0f2293cc41d171b38bda04ebc3337148db9eac361582de20e0bb1037bf080bb1723bc6cdae14c4953e5fce271e564bfc444f077fd3a3b64c82cc0 + languageName: node + linkType: hard + "eslint-config-prettier@npm:^8.5.0": version: 8.10.0 resolution: "eslint-config-prettier@npm:8.10.0" @@ -16613,6 +16984,17 @@ __metadata: languageName: node linkType: hard +"eslint-import-resolver-node@npm:^0.3.6, eslint-import-resolver-node@npm:^0.3.9": + version: 0.3.9 + resolution: "eslint-import-resolver-node@npm:0.3.9" + dependencies: + debug: ^3.2.7 + is-core-module: ^2.13.0 + resolve: ^1.22.4 + checksum: 439b91271236b452d478d0522a44482e8c8540bf9df9bd744062ebb89ab45727a3acd03366a6ba2bdbcde8f9f718bab7fe8db64688aca75acf37e04eafd25e22 + languageName: node + linkType: hard + "eslint-import-resolver-node@npm:^0.3.7": version: 0.3.7 resolution: "eslint-import-resolver-node@npm:0.3.7" @@ -16624,6 +17006,24 @@ __metadata: languageName: node linkType: hard +"eslint-import-resolver-typescript@npm:^3.5.2": + version: 3.6.1 + resolution: "eslint-import-resolver-typescript@npm:3.6.1" + dependencies: + debug: ^4.3.4 + enhanced-resolve: ^5.12.0 + eslint-module-utils: ^2.7.4 + fast-glob: ^3.3.1 + get-tsconfig: ^4.5.0 + is-core-module: ^2.11.0 + is-glob: ^4.0.3 + peerDependencies: + eslint: "*" + eslint-plugin-import: "*" + checksum: 454fa0646533050fb57f13d27daf8c71f51b0bb9156d6a461290ccb8576d892209fcc6702a89553f3f5ea8e5b407395ca2e5de169a952c953685f1f7c46b4496 + languageName: node + linkType: hard + "eslint-module-utils@npm:^2.7.4": version: 2.7.4 resolution: "eslint-module-utils@npm:2.7.4" @@ -16709,6 +17109,33 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-import@npm:^2.28.1": + version: 2.29.0 + resolution: "eslint-plugin-import@npm:2.29.0" + dependencies: + array-includes: ^3.1.7 + array.prototype.findlastindex: ^1.2.3 + array.prototype.flat: ^1.3.2 + array.prototype.flatmap: ^1.3.2 + debug: ^3.2.7 + doctrine: ^2.1.0 + eslint-import-resolver-node: ^0.3.9 + eslint-module-utils: ^2.8.0 + hasown: ^2.0.0 + is-core-module: ^2.13.1 + is-glob: ^4.0.3 + minimatch: ^3.1.2 + object.fromentries: ^2.0.7 + object.groupby: ^1.0.1 + object.values: ^1.1.7 + semver: ^6.3.1 + tsconfig-paths: ^3.14.2 + peerDependencies: + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + checksum: 19ee541fb95eb7a796f3daebe42387b8d8262bbbcc4fd8a6e92f63a12035f3d2c6cb8bc0b6a70864fa14b1b50ed6b8e6eed5833e625e16cb6bb98b665beff269 + languageName: node + linkType: hard + "eslint-plugin-jsx-a11y@npm:^6.6.0": version: 6.7.1 resolution: "eslint-plugin-jsx-a11y@npm:6.7.1" @@ -16735,6 +17162,32 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-jsx-a11y@npm:^6.7.1": + version: 6.8.0 + resolution: "eslint-plugin-jsx-a11y@npm:6.8.0" + dependencies: + "@babel/runtime": ^7.23.2 + aria-query: ^5.3.0 + array-includes: ^3.1.7 + array.prototype.flatmap: ^1.3.2 + ast-types-flow: ^0.0.8 + axe-core: =4.7.0 + axobject-query: ^3.2.1 + damerau-levenshtein: ^1.0.8 + emoji-regex: ^9.2.2 + es-iterator-helpers: ^1.0.15 + hasown: ^2.0.0 + jsx-ast-utils: ^3.3.5 + language-tags: ^1.0.9 + minimatch: ^3.1.2 + object.entries: ^1.1.7 + object.fromentries: ^2.0.7 + peerDependencies: + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 + checksum: 3dec00e2a3089c4c61ac062e4196a70985fb7eda1fd67fe035363d92578debde92fdb8ed2e472321fc0d71e75f4a1e8888c6a3218c14dd93c8e8d19eb6f51554 + languageName: node + linkType: hard + "eslint-plugin-no-instanceof@npm:^1.0.1": version: 1.0.1 resolution: "eslint-plugin-no-instanceof@npm:1.0.1" @@ -16757,6 +17210,15 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-react-hooks@npm:^4.5.0 || 5.0.0-canary-7118f5dd7-20230705": + version: 5.0.0-canary-7118f5dd7-20230705 + resolution: "eslint-plugin-react-hooks@npm:5.0.0-canary-7118f5dd7-20230705" + peerDependencies: + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 + checksum: 20e334e60bf5e56cf9f760598411847525c3ff826e6ae7757c8efdc60b33d47a97ddbe1b94ce95956ea9f7bbef37995b19c716be50bd44e6a1e789cba08b6224 + languageName: node + linkType: hard + "eslint-plugin-react-hooks@npm:^4.6.0": version: 4.6.0 resolution: "eslint-plugin-react-hooks@npm:4.6.0" @@ -16766,7 +17228,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:^7.30.1": +"eslint-plugin-react@npm:^7.30.1, eslint-plugin-react@npm:^7.33.2": version: 7.33.2 resolution: "eslint-plugin-react@npm:7.33.2" dependencies: @@ -16883,6 +17345,54 @@ __metadata: languageName: node linkType: hard +"eslint@npm:^8": + version: 8.53.0 + resolution: "eslint@npm:8.53.0" + dependencies: + "@eslint-community/eslint-utils": ^4.2.0 + "@eslint-community/regexpp": ^4.6.1 + "@eslint/eslintrc": ^2.1.3 + "@eslint/js": 8.53.0 + "@humanwhocodes/config-array": ^0.11.13 + "@humanwhocodes/module-importer": ^1.0.1 + "@nodelib/fs.walk": ^1.2.8 + "@ungap/structured-clone": ^1.2.0 + ajv: ^6.12.4 + chalk: ^4.0.0 + cross-spawn: ^7.0.2 + debug: ^4.3.2 + doctrine: ^3.0.0 + escape-string-regexp: ^4.0.0 + eslint-scope: ^7.2.2 + eslint-visitor-keys: ^3.4.3 + espree: ^9.6.1 + esquery: ^1.4.2 + esutils: ^2.0.2 + fast-deep-equal: ^3.1.3 + file-entry-cache: ^6.0.1 + find-up: ^5.0.0 + glob-parent: ^6.0.2 + globals: ^13.19.0 + graphemer: ^1.4.0 + ignore: ^5.2.0 + imurmurhash: ^0.1.4 + is-glob: ^4.0.0 + is-path-inside: ^3.0.3 + js-yaml: ^4.1.0 + json-stable-stringify-without-jsonify: ^1.0.1 + levn: ^0.4.1 + lodash.merge: ^4.6.2 + minimatch: ^3.1.2 + natural-compare: ^1.4.0 + optionator: ^0.9.3 + strip-ansi: ^6.0.1 + text-table: ^0.2.0 + bin: + eslint: bin/eslint.js + checksum: 2da808655c7aa4b33f8970ba30d96b453c3071cc4d6cd60d367163430677e32ff186b65270816b662d29139283138bff81f28dddeb2e73265495245a316ed02c + languageName: node + linkType: hard + "eslint@npm:^8.19.0": version: 8.51.0 resolution: "eslint@npm:8.51.0" @@ -17441,7 +17951,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.3.0": +"fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.1": version: 3.3.1 resolution: "fast-glob@npm:3.3.1" dependencies: @@ -18092,6 +18602,13 @@ __metadata: languageName: node linkType: hard +"function-bind@npm:^1.1.2": + version: 1.1.2 + resolution: "function-bind@npm:1.1.2" + checksum: 2b0ff4ce708d99715ad14a6d1f894e2a83242e4a52ccfcefaee5e40050562e5f6dafc1adbb4ce2d4ab47279a45dc736ab91ea5042d843c3c092820dfe032efb1 + languageName: node + linkType: hard + "function.prototype.name@npm:^1.1.5": version: 1.1.5 resolution: "function.prototype.name@npm:1.1.5" @@ -18333,6 +18850,15 @@ __metadata: languageName: node linkType: hard +"get-tsconfig@npm:^4.5.0": + version: 4.7.2 + resolution: "get-tsconfig@npm:4.7.2" + dependencies: + resolve-pkg-maps: ^1.0.0 + checksum: 172358903250eff0103943f816e8a4e51d29b8e5449058bdf7266714a908a48239f6884308bd3a6ff28b09f692b9533dbebfd183ab63e4e14f073cda91f1bca9 + languageName: node + linkType: hard + "get-uri@npm:3": version: 3.0.2 resolution: "get-uri@npm:3.0.2" @@ -18416,6 +18942,34 @@ __metadata: languageName: node linkType: hard +"glob@npm:7.1.6": + version: 7.1.6 + resolution: "glob@npm:7.1.6" + dependencies: + fs.realpath: ^1.0.0 + inflight: ^1.0.4 + inherits: 2 + minimatch: ^3.0.4 + once: ^1.3.0 + path-is-absolute: ^1.0.0 + checksum: 351d549dd90553b87c2d3f90ce11aed9e1093c74130440e7ae0592e11bbcd2ce7f0ebb8ba6bfe63aaf9b62166a7f4c80cb84490ae5d78408bb2572bf7d4ee0a6 + languageName: node + linkType: hard + +"glob@npm:7.1.7": + version: 7.1.7 + resolution: "glob@npm:7.1.7" + dependencies: + fs.realpath: ^1.0.0 + inflight: ^1.0.4 + inherits: 2 + minimatch: ^3.0.4 + once: ^1.3.0 + path-is-absolute: ^1.0.0 + checksum: b61f48973bbdcf5159997b0874a2165db572b368b931135832599875919c237fc05c12984e38fe828e69aa8a921eb0e8a4997266211c517c9cfaae8a93988bb8 + languageName: node + linkType: hard + "glob@npm:^10.2.5": version: 10.2.7 resolution: "glob@npm:10.2.7" @@ -18958,6 +19512,15 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.0": + version: 2.0.0 + resolution: "hasown@npm:2.0.0" + dependencies: + function-bind: ^1.1.2 + checksum: 6151c75ca12554565098641c98a40f4cc86b85b0fd5b6fe92360967e4605a4f9610f7757260b4e8098dd1c2ce7f4b095f2006fe72a570e3b6d2d28de0298c176 + languageName: node + linkType: hard + "hast-to-hyperscript@npm:^9.0.0": version: 9.0.1 resolution: "hast-to-hyperscript@npm:9.0.1" @@ -19854,6 +20417,15 @@ __metadata: languageName: node linkType: hard +"is-core-module@npm:^2.13.1": + version: 2.13.1 + resolution: "is-core-module@npm:2.13.1" + dependencies: + hasown: ^2.0.0 + checksum: 256559ee8a9488af90e4bad16f5583c6d59e92f0742e9e8bb4331e758521ee86b810b93bae44f390766ffbc518a0488b18d9dab7da9a5ff997d499efc9403f7c + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" @@ -21098,6 +21670,15 @@ __metadata: languageName: node linkType: hard +"jiti@npm:^1.19.1": + version: 1.21.0 + resolution: "jiti@npm:1.21.0" + bin: + jiti: bin/jiti.js + checksum: a7bd5d63921c170eaec91eecd686388181c7828e1fa0657ab374b9372bfc1f383cf4b039e6b272383d5cb25607509880af814a39abdff967322459cca41f2961 + languageName: node + linkType: hard + "joi@npm:^17.6.0": version: 17.11.0 resolution: "joi@npm:17.11.0" @@ -21430,7 +22011,7 @@ __metadata: languageName: node linkType: hard -"jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.3": +"jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.3, jsx-ast-utils@npm:^3.3.5": version: 3.3.5 resolution: "jsx-ast-utils@npm:3.3.5" dependencies: @@ -22060,7 +22641,7 @@ __metadata: languageName: node linkType: hard -"language-subtag-registry@npm:~0.3.2": +"language-subtag-registry@npm:^0.3.20, language-subtag-registry@npm:~0.3.2": version: 0.3.22 resolution: "language-subtag-registry@npm:0.3.22" checksum: 8ab70a7e0e055fe977ac16ea4c261faec7205ac43db5e806f72e5b59606939a3b972c4bd1e10e323b35d6ffa97c3e1c4c99f6553069dad2dfdd22020fa3eb56a @@ -22076,6 +22657,15 @@ __metadata: languageName: node linkType: hard +"language-tags@npm:^1.0.9": + version: 1.0.9 + resolution: "language-tags@npm:1.0.9" + dependencies: + language-subtag-registry: ^0.3.20 + checksum: 57c530796dc7179914dee71bc94f3747fd694612480241d0453a063777265dfe3a951037f7acb48f456bf167d6eb419d4c00263745326b3ba1cdcf4657070e78 + languageName: node + linkType: hard + "latest-version@npm:^5.1.0": version: 5.1.0 resolution: "latest-version@npm:5.1.0" @@ -22147,7 +22737,7 @@ __metadata: languageName: node linkType: hard -"lilconfig@npm:2.1.0, lilconfig@npm:^2.0.3": +"lilconfig@npm:2.1.0, lilconfig@npm:^2.0.3, lilconfig@npm:^2.0.5, lilconfig@npm:^2.1.0": version: 2.1.0 resolution: "lilconfig@npm:2.1.0" checksum: 8549bb352b8192375fed4a74694cd61ad293904eee33f9d4866c2192865c44c4eb35d10782966242634e0cbc1e91fe62b1247f148dc5514918e3a966da7ea117 @@ -23563,6 +24153,61 @@ __metadata: languageName: node linkType: hard +"next@npm:14.0.1": + version: 14.0.1 + resolution: "next@npm:14.0.1" + dependencies: + "@next/env": 14.0.1 + "@next/swc-darwin-arm64": 14.0.1 + "@next/swc-darwin-x64": 14.0.1 + "@next/swc-linux-arm64-gnu": 14.0.1 + "@next/swc-linux-arm64-musl": 14.0.1 + "@next/swc-linux-x64-gnu": 14.0.1 + "@next/swc-linux-x64-musl": 14.0.1 + "@next/swc-win32-arm64-msvc": 14.0.1 + "@next/swc-win32-ia32-msvc": 14.0.1 + "@next/swc-win32-x64-msvc": 14.0.1 + "@swc/helpers": 0.5.2 + busboy: 1.6.0 + caniuse-lite: ^1.0.30001406 + postcss: 8.4.31 + styled-jsx: 5.1.1 + watchpack: 2.4.0 + peerDependencies: + "@opentelemetry/api": ^1.1.0 + react: ^18.2.0 + react-dom: ^18.2.0 + sass: ^1.3.0 + dependenciesMeta: + "@next/swc-darwin-arm64": + optional: true + "@next/swc-darwin-x64": + optional: true + "@next/swc-linux-arm64-gnu": + optional: true + "@next/swc-linux-arm64-musl": + optional: true + "@next/swc-linux-x64-gnu": + optional: true + "@next/swc-linux-x64-musl": + optional: true + "@next/swc-win32-arm64-msvc": + optional: true + "@next/swc-win32-ia32-msvc": + optional: true + "@next/swc-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@opentelemetry/api": + optional: true + sass: + optional: true + bin: + next: dist/bin/next + checksum: d142407f47012eb57ba3932f91453960c79d7df2fef03ded581f32195b98a4378e13c49709f498a112d142109a8edd73f40357ee102a6bd4d7b1f76de9f0877a + languageName: node + linkType: hard + "no-case@npm:^3.0.4": version: 3.0.4 resolution: "no-case@npm:3.0.4" @@ -24033,7 +24678,7 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.6": +"object.entries@npm:^1.1.6, object.entries@npm:^1.1.7": version: 1.1.7 resolution: "object.entries@npm:1.1.7" dependencies: @@ -24044,7 +24689,7 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.6": +"object.fromentries@npm:^2.0.6, object.fromentries@npm:^2.0.7": version: 2.0.7 resolution: "object.fromentries@npm:2.0.7" dependencies: @@ -24055,7 +24700,7 @@ __metadata: languageName: node linkType: hard -"object.groupby@npm:^1.0.0": +"object.groupby@npm:^1.0.0, object.groupby@npm:^1.0.1": version: 1.0.1 resolution: "object.groupby@npm:1.0.1" dependencies: @@ -24088,6 +24733,17 @@ __metadata: languageName: node linkType: hard +"object.values@npm:^1.1.7": + version: 1.1.7 + resolution: "object.values@npm:1.1.7" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: f3e4ae4f21eb1cc7cebb6ce036d4c67b36e1c750428d7b7623c56a0db90edced63d08af8a316d81dfb7c41a3a5fa81b05b7cc9426e98d7da986b1682460f0777 + languageName: node + linkType: hard + "obliterator@npm:^1.6.1": version: 1.6.1 resolution: "obliterator@npm:1.6.1" @@ -25023,6 +25679,20 @@ __metadata: languageName: node linkType: hard +"pify@npm:^2.3.0": + version: 2.3.0 + resolution: "pify@npm:2.3.0" + checksum: 9503aaeaf4577acc58642ad1d25c45c6d90288596238fb68f82811c08104c800e5a7870398e9f015d82b44ecbcbef3dc3d4251a1cbb582f6e5959fe09884b2ba + languageName: node + linkType: hard + +"pirates@npm:^4.0.1": + version: 4.0.6 + resolution: "pirates@npm:4.0.6" + checksum: 46a65fefaf19c6f57460388a5af9ab81e3d7fd0e7bc44ca59d753cb5c4d0df97c6c6e583674869762101836d68675f027d60f841c105d72734df9dfca97cbcc6 + languageName: node + linkType: hard + "pirates@npm:^4.0.4": version: 4.0.5 resolution: "pirates@npm:4.0.5" @@ -25169,6 +25839,48 @@ __metadata: languageName: node linkType: hard +"postcss-import@npm:^15.1.0": + version: 15.1.0 + resolution: "postcss-import@npm:15.1.0" + dependencies: + postcss-value-parser: ^4.0.0 + read-cache: ^1.0.0 + resolve: ^1.1.7 + peerDependencies: + postcss: ^8.0.0 + checksum: 7bd04bd8f0235429009d0022cbf00faebc885de1d017f6d12ccb1b021265882efc9302006ba700af6cab24c46bfa2f3bc590be3f9aee89d064944f171b04e2a3 + languageName: node + linkType: hard + +"postcss-js@npm:^4.0.1": + version: 4.0.1 + resolution: "postcss-js@npm:4.0.1" + dependencies: + camelcase-css: ^2.0.1 + peerDependencies: + postcss: ^8.4.21 + checksum: 5c1e83efeabeb5a42676193f4357aa9c88f4dc1b3c4a0332c132fe88932b33ea58848186db117cf473049fc233a980356f67db490bd0a7832ccba9d0b3fd3491 + languageName: node + linkType: hard + +"postcss-load-config@npm:^4.0.1": + version: 4.0.1 + resolution: "postcss-load-config@npm:4.0.1" + dependencies: + lilconfig: ^2.0.5 + yaml: ^2.1.1 + peerDependencies: + postcss: ">=8.0.9" + ts-node: ">=9.0.0" + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + checksum: b61f890499ed7dcda1e36c20a9582b17d745bad5e2b2c7bc96942465e406bc43ae03f270c08e60d1e29dab1ee50cb26970b5eb20c9aae30e066e20bd607ae4e4 + languageName: node + linkType: hard + "postcss-loader@npm:^7.0.0": version: 7.3.3 resolution: "postcss-loader@npm:7.3.3" @@ -25313,6 +26025,17 @@ __metadata: languageName: node linkType: hard +"postcss-nested@npm:^6.0.1": + version: 6.0.1 + resolution: "postcss-nested@npm:6.0.1" + dependencies: + postcss-selector-parser: ^6.0.11 + peerDependencies: + postcss: ^8.2.14 + checksum: 7ddb0364cd797de01e38f644879189e0caeb7ea3f78628c933d91cc24f327c56d31269384454fc02ecaf503b44bfa8e08870a7c4cc56b23bc15640e1894523fa + languageName: node + linkType: hard + "postcss-normalize-charset@npm:^5.1.0": version: 5.1.0 resolution: "postcss-normalize-charset@npm:5.1.0" @@ -25458,7 +26181,7 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9": +"postcss-selector-parser@npm:^6.0.11, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9": version: 6.0.13 resolution: "postcss-selector-parser@npm:6.0.13" dependencies: @@ -25502,7 +26225,7 @@ __metadata: languageName: node linkType: hard -"postcss-value-parser@npm:^4.1.0, postcss-value-parser@npm:^4.2.0": +"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.1.0, postcss-value-parser@npm:^4.2.0": version: 4.2.0 resolution: "postcss-value-parser@npm:4.2.0" checksum: 819ffab0c9d51cf0acbabf8996dffbfafbafa57afc0e4c98db88b67f2094cb44488758f06e5da95d7036f19556a4a732525e84289a425f4f6fd8e412a9d7442f @@ -25518,7 +26241,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.3.11, postcss@npm:^8.4.14, postcss@npm:^8.4.17, postcss@npm:^8.4.21": +"postcss@npm:8.4.31, postcss@npm:^8, postcss@npm:^8.3.11, postcss@npm:^8.4.14, postcss@npm:^8.4.17, postcss@npm:^8.4.21, postcss@npm:^8.4.23": version: 8.4.31 resolution: "postcss@npm:8.4.31" dependencies: @@ -26297,6 +27020,18 @@ __metadata: languageName: node linkType: hard +"react-dom@npm:^18": + version: 18.2.0 + resolution: "react-dom@npm:18.2.0" + dependencies: + loose-envify: ^1.1.0 + scheduler: ^0.23.0 + peerDependencies: + react: ^18.2.0 + checksum: 7d323310bea3a91be2965f9468d552f201b1c27891e45ddc2d6b8f717680c95a75ae0bc1e3f5cf41472446a2589a75aed4483aee8169287909fcd59ad149e8cc + languageName: node + linkType: hard + "react-error-overlay@npm:^6.0.11": version: 6.0.11 resolution: "react-error-overlay@npm:6.0.11" @@ -26474,6 +27209,24 @@ __metadata: languageName: node linkType: hard +"react@npm:^18": + version: 18.2.0 + resolution: "react@npm:18.2.0" + dependencies: + loose-envify: ^1.1.0 + checksum: 88e38092da8839b830cda6feef2e8505dec8ace60579e46aa5490fc3dc9bba0bd50336507dc166f43e3afc1c42939c09fe33b25fae889d6f402721dcd78fca1b + languageName: node + linkType: hard + +"read-cache@npm:^1.0.0": + version: 1.0.0 + resolution: "read-cache@npm:1.0.0" + dependencies: + pify: ^2.3.0 + checksum: cffc728b9ede1e0667399903f9ecaf3789888b041c46ca53382fa3a06303e5132774dc0a96d0c16aa702dbac1ea0833d5a868d414f5ab2af1e1438e19e6657c6 + languageName: node + linkType: hard + "readable-stream@npm:1.1.x": version: 1.1.14 resolution: "readable-stream@npm:1.1.14" @@ -26949,6 +27702,13 @@ __metadata: languageName: node linkType: hard +"resolve-pkg-maps@npm:^1.0.0": + version: 1.0.0 + resolution: "resolve-pkg-maps@npm:1.0.0" + checksum: 1012afc566b3fdb190a6309cc37ef3b2dcc35dff5fa6683a9d00cd25c3247edfbc4691b91078c97adc82a29b77a2660c30d791d65dab4fc78bfc473f60289977 + languageName: node + linkType: hard + "resolve.exports@npm:^2.0.0": version: 2.0.1 resolution: "resolve.exports@npm:2.0.1" @@ -26969,7 +27729,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.14.2, resolve@npm:^1.3.2": +"resolve@npm:^1.1.7, resolve@npm:^1.14.2, resolve@npm:^1.22.2, resolve@npm:^1.22.4, resolve@npm:^1.3.2": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -27008,7 +27768,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.3.2#~builtin": +"resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.22.2#~builtin, resolve@patch:resolve@^1.22.4#~builtin, resolve@patch:resolve@^1.3.2#~builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -27340,6 +28100,15 @@ __metadata: languageName: node linkType: hard +"scheduler@npm:^0.23.0": + version: 0.23.0 + resolution: "scheduler@npm:0.23.0" + dependencies: + loose-envify: ^1.1.0 + checksum: d79192eeaa12abef860c195ea45d37cbf2bbf5f66e3c4dcd16f54a7da53b17788a70d109ee3d3dde1a0fd50e6a8fc171f4300356c5aee4fc0171de526bf35f8a + languageName: node + linkType: hard + "schema-utils@npm:2.7.0": version: 2.7.0 resolution: "schema-utils@npm:2.7.0" @@ -28495,6 +29264,22 @@ __metadata: languageName: node linkType: hard +"styled-jsx@npm:5.1.1": + version: 5.1.1 + resolution: "styled-jsx@npm:5.1.1" + dependencies: + client-only: 0.0.1 + peerDependencies: + react: ">= 16.8.0 || 17.x.x || ^18.0.0-0" + peerDependenciesMeta: + "@babel/core": + optional: true + babel-plugin-macros: + optional: true + checksum: 523a33b38603492547e861b98e29c873939b04e15fbe5ef16132c6f1e15958126647983c7d4675325038b428a5e91183d996e90141b18bdd1bbadf6e2c45b2fa + languageName: node + linkType: hard + "stylehacks@npm:^5.1.1": version: 5.1.1 resolution: "stylehacks@npm:5.1.1" @@ -28507,6 +29292,24 @@ __metadata: languageName: node linkType: hard +"sucrase@npm:^3.32.0": + version: 3.34.0 + resolution: "sucrase@npm:3.34.0" + dependencies: + "@jridgewell/gen-mapping": ^0.3.2 + commander: ^4.0.0 + glob: 7.1.6 + lines-and-columns: ^1.1.6 + mz: ^2.7.0 + pirates: ^4.0.1 + ts-interface-checker: ^0.1.9 + bin: + sucrase: bin/sucrase + sucrase-node: bin/sucrase-node + checksum: 61860063bdf6103413698e13247a3074d25843e91170825a9752e4af7668ffadd331b6e99e92fc32ee5b3c484ee134936f926fa9039d5711fafff29d017a2110 + languageName: node + linkType: hard + "supports-color@npm:9.3.1": version: 9.3.1 resolution: "supports-color@npm:9.3.1" @@ -28601,6 +29404,39 @@ __metadata: languageName: node linkType: hard +"tailwindcss@npm:^3.3.0": + version: 3.3.5 + resolution: "tailwindcss@npm:3.3.5" + dependencies: + "@alloc/quick-lru": ^5.2.0 + arg: ^5.0.2 + chokidar: ^3.5.3 + didyoumean: ^1.2.2 + dlv: ^1.1.3 + fast-glob: ^3.3.0 + glob-parent: ^6.0.2 + is-glob: ^4.0.3 + jiti: ^1.19.1 + lilconfig: ^2.1.0 + micromatch: ^4.0.5 + normalize-path: ^3.0.0 + object-hash: ^3.0.0 + picocolors: ^1.0.0 + postcss: ^8.4.23 + postcss-import: ^15.1.0 + postcss-js: ^4.0.1 + postcss-load-config: ^4.0.1 + postcss-nested: ^6.0.1 + postcss-selector-parser: ^6.0.11 + resolve: ^1.22.2 + sucrase: ^3.32.0 + bin: + tailwind: lib/cli.js + tailwindcss: lib/cli.js + checksum: e04bb3bb7f9f17e9b6db0c7ace755ef0d6d05bff36ebeb9e5006e13c018ed5566f09db30a1a34380e38fa93ebbb4ae0e28fe726879d5e9ddd8c5b52bffd26f14 + languageName: node + linkType: hard + "tapable@npm:^1.0.0": version: 1.1.3 resolution: "tapable@npm:1.1.3" @@ -28971,6 +29807,22 @@ __metadata: languageName: node linkType: hard +"ts-api-utils@npm:^1.0.1": + version: 1.0.3 + resolution: "ts-api-utils@npm:1.0.3" + peerDependencies: + typescript: ">=4.2.0" + checksum: 441cc4489d65fd515ae6b0f4eb8690057add6f3b6a63a36073753547fb6ce0c9ea0e0530220a0b282b0eec535f52c4dfc315d35f8a4c9a91c0def0707a714ca6 + languageName: node + linkType: hard + +"ts-interface-checker@npm:^0.1.9": + version: 0.1.13 + resolution: "ts-interface-checker@npm:0.1.13" + checksum: 20c29189c2dd6067a8775e07823ddf8d59a33e2ffc47a1bd59a5cb28bb0121a2969a816d5e77eda2ed85b18171aa5d1c4005a6b88ae8499ec7cc49f78571cb5e + languageName: node + linkType: hard + "ts-jest@npm:^29.1.0": version: 29.1.0 resolution: "ts-jest@npm:29.1.0" @@ -29454,6 +30306,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:^5": + version: 5.2.2 + resolution: "typescript@npm:5.2.2" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 7912821dac4d962d315c36800fe387cdc0a6298dba7ec171b350b4a6e988b51d7b8f051317786db1094bd7431d526b648aba7da8236607febb26cf5b871d2d3c + languageName: node + linkType: hard + "typescript@npm:^5.0.0": version: 5.0.4 resolution: "typescript@npm:5.0.4" @@ -29484,6 +30346,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@^5#~builtin": + version: 5.2.2 + resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin::version=5.2.2&hash=1f5320" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 07106822b4305de3f22835cbba949a2b35451cad50888759b6818421290ff95d522b38ef7919e70fb381c5fe9c1c643d7dea22c8b31652a717ddbd57b7f4d554 + languageName: node + linkType: hard + "typescript@patch:typescript@^5.0.0#~builtin": version: 5.0.4 resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=1f5320" @@ -29615,6 +30487,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~5.26.4": + version: 5.26.5 + resolution: "undici-types@npm:5.26.5" + checksum: 3192ef6f3fd5df652f2dc1cd782b49d6ff14dc98e5dced492aa8a8c65425227da5da6aafe22523c67f035a272c599bb89cfe803c1db6311e44bed3042fc25487 + languageName: node + linkType: hard + "undici@npm:^5.19.1": version: 5.23.0 resolution: "undici@npm:5.23.0" @@ -30300,7 +31179,7 @@ __metadata: languageName: node linkType: hard -"watchpack@npm:^2.4.0": +"watchpack@npm:2.4.0, watchpack@npm:^2.4.0": version: 2.4.0 resolution: "watchpack@npm:2.4.0" dependencies: @@ -31105,6 +31984,13 @@ __metadata: languageName: node linkType: hard +"yaml@npm:^2.1.1": + version: 2.3.4 + resolution: "yaml@npm:2.3.4" + checksum: e6d1dae1c6383bcc8ba11796eef3b8c02d5082911c6723efeeb5ba50fc8e881df18d645e64de68e421b577296000bea9c75d6d9097c2f6699da3ae0406c030d8 + languageName: node + linkType: hard + "yaml@npm:^2.2.1": version: 2.2.1 resolution: "yaml@npm:2.2.1"