From 4ff281791a69c7e5223241ce2edccb191fe2ef88 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Mon, 13 Nov 2023 16:18:06 -0800 Subject: [PATCH] cr --- .gitignore | 2 +- api-docs/typedoc.json | 282 ------------------ {api-docs => docs/api_refs}/.eslintrc.json | 0 {api-docs => docs/api_refs}/.gitignore | 0 {api-docs => docs/api_refs}/README.md | 2 +- .../api_refs}/generate_typedoc.sh | 12 +- {api-docs => docs/api_refs}/next.config.js | 0 {api-docs => docs/api_refs}/package.json | 8 +- {api-docs => docs/api_refs}/postcss.config.js | 0 .../api_refs}/src/app/favicon.ico | Bin .../api_refs}/tailwind.config.ts | 0 {api-docs => docs/api_refs}/tsconfig.json | 0 docs/api_refs/typedoc.json | 282 ++++++++++++++++++ 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 | 4 +- .../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/{ => core_docs}/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 | 0 .../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 | 0 .../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 | 0 .../docs/modules/callbacks/index.mdx | 0 .../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 | 0 .../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 | 0 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 | 0 .../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 | 4 +- docs/{ => core_docs}/package.json | 6 +- docs/{ => core_docs}/sidebars.js | 0 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 .../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 | 10 +- .../agents/custom_llm_agent_chat_runnable.ts | 9 + examples/src/llms/portkey-chat.ts | 9 + langchain/package.json | 4 +- langchain/scripts/build-api-refs.sh | 2 +- ...roperties.js => build-for-api-ref-docs.js} | 0 langchain/scripts/create-entrypoints.js | 4 +- .../generate-docs-llm-compatibility-table.js | 4 +- langchain/src/output_parsers/openai_tools.ts | 51 ++++ .../tests/openai_tools.int.test.ts | 45 +++ langchain/src/util/types.ts | 5 + package.json | 9 +- yarn.lock | 72 ++--- 480 files changed, 472 insertions(+), 354 deletions(-) delete mode 100644 api-docs/typedoc.json rename {api-docs => docs/api_refs}/.eslintrc.json (100%) rename {api-docs => docs/api_refs}/.gitignore (100%) rename {api-docs => docs/api_refs}/README.md (92%) rename {api-docs => docs/api_refs}/generate_typedoc.sh (56%) rename {api-docs => docs/api_refs}/next.config.js (100%) rename {api-docs => docs/api_refs}/package.json (72%) rename {api-docs => docs/api_refs}/postcss.config.js (100%) rename {api-docs => docs/api_refs}/src/app/favicon.ico (100%) rename {api-docs => docs/api_refs}/tailwind.config.ts (100%) rename {api-docs => docs/api_refs}/tsconfig.json (100%) 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 (96%) 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/{ => 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 (100%) 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 (100%) 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%) rename docs/{ => core_docs}/docs/modules/callbacks/how_to/tags.mdx (100%) rename docs/{ => core_docs}/docs/modules/callbacks/index.mdx (100%) 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 (100%) 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 (100%) 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 (100%) 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 (98%) rename docs/{ => core_docs}/package.json (90%) rename docs/{ => core_docs}/sidebars.js (100%) 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%) rename docs/{ => core_docs}/static/img/favicon.ico (100%) 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 (98%) rename langchain/scripts/{ignore-class-properties.js => build-for-api-ref-docs.js} (100%) create mode 100644 langchain/src/output_parsers/openai_tools.ts create mode 100644 langchain/src/output_parsers/tests/openai_tools.int.test.ts create mode 100644 langchain/src/util/types.ts diff --git a/.gitignore b/.gitignore index a281e9e69e22..531ceadc934a 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,4 @@ tmp/ **/convex/.gitignore **/convex/tsconfig.json -langchain/docs_dist/**/* \ No newline at end of file +langchain/docs/dist/**/* \ No newline at end of file diff --git a/api-docs/typedoc.json b/api-docs/typedoc.json deleted file mode 100644 index 62e2859c2d1a..000000000000 --- a/api-docs/typedoc.json +++ /dev/null @@ -1,282 +0,0 @@ -{ - "$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}", - "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/api-docs/.eslintrc.json b/docs/api_refs/.eslintrc.json similarity index 100% rename from api-docs/.eslintrc.json rename to docs/api_refs/.eslintrc.json diff --git a/api-docs/.gitignore b/docs/api_refs/.gitignore similarity index 100% rename from api-docs/.gitignore rename to docs/api_refs/.gitignore diff --git a/api-docs/README.md b/docs/api_refs/README.md similarity index 92% rename from api-docs/README.md rename to docs/api_refs/README.md index adb2b686d819..8610d9e659eb 100644 --- a/api-docs/README.md +++ b/docs/api_refs/README.md @@ -1,4 +1,4 @@ -# Autogeneratd API documentation for LangChainJS +# Auto-generated API documentation for LangChainJS Do not edit the contents of this directory directly. diff --git a/api-docs/generate_typedoc.sh b/docs/api_refs/generate_typedoc.sh similarity index 56% rename from api-docs/generate_typedoc.sh rename to docs/api_refs/generate_typedoc.sh index d9c3792c78bd..475136c27846 100644 --- a/api-docs/generate_typedoc.sh +++ b/docs/api_refs/generate_typedoc.sh @@ -1,13 +1,13 @@ #!/bin/bash -BASE_DIR="../langchain" +BASE_DIR="../../langchain" # Create a directory to temp hold the files in src # `docs_dist` is gitignored by default. -mkdir -p "$BASE_DIR/docs_dist/src" +mkdir -p "$BASE_DIR/docs/dist" -# Copy the contents of src to docs_dist/src -cp -r "$BASE_DIR/src/." "$BASE_DIR/docs_dist/src/" +# Copy the contents of src to docs/dist +cp -r "$BASE_DIR/src/." "$BASE_DIR/docs/dist/" # This command will add `@ignore` to JSDoc comments # for properties which should be ignored. @@ -19,5 +19,5 @@ yarn typedoc # Remove the current contents of langchain/src rm -rf "$BASE_DIR/src/*" -# Copy the unedited contents from docs_dist/src to langchain/src -cp -r "$BASE_DIR/docs_dist/src/." "$BASE_DIR/src/" +# Copy the unedited contents from docs/dist to langchain/src +cp -r "$BASE_DIR/docs/dist/." "$BASE_DIR/src/" diff --git a/api-docs/next.config.js b/docs/api_refs/next.config.js similarity index 100% rename from api-docs/next.config.js rename to docs/api_refs/next.config.js diff --git a/api-docs/package.json b/docs/api_refs/package.json similarity index 72% rename from api-docs/package.json rename to docs/api_refs/package.json index 7081268853f0..10066b343f48 100644 --- a/api-docs/package.json +++ b/docs/api_refs/package.json @@ -1,13 +1,13 @@ { - "name": "api-docs", + "name": "api_refs", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "typedoc": "npx typedoc --options typedoc.json", - "gen:typedoc": "bash ./generate_typedoc.sh", - "add-ignore-comments": "cd ../langchain && node scripts/ignore-class-properties.js", - "build": "yarn gen:typedoc && next build", + "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": "next start", "lint": "next lint" }, diff --git a/api-docs/postcss.config.js b/docs/api_refs/postcss.config.js similarity index 100% rename from api-docs/postcss.config.js rename to docs/api_refs/postcss.config.js diff --git a/api-docs/src/app/favicon.ico b/docs/api_refs/src/app/favicon.ico similarity index 100% rename from api-docs/src/app/favicon.ico rename to docs/api_refs/src/app/favicon.ico diff --git a/api-docs/tailwind.config.ts b/docs/api_refs/tailwind.config.ts similarity index 100% rename from api-docs/tailwind.config.ts rename to docs/api_refs/tailwind.config.ts diff --git a/api-docs/tsconfig.json b/docs/api_refs/tsconfig.json similarity index 100% rename from api-docs/tsconfig.json rename to docs/api_refs/tsconfig.json diff --git a/docs/api_refs/typedoc.json b/docs/api_refs/typedoc.json new file mode 100644 index 000000000000..79ba01303cba --- /dev/null +++ b/docs/api_refs/typedoc.json @@ -0,0 +1,282 @@ +{ + "$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}", + "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 96% rename from docs/code-block-loader.js rename to docs/core_docs/code-block-loader.js index 70f9968535a4..0931ccd94477 100644 --- a/docs/code-block-loader.js +++ b/docs/core_docs/code-block-loader.js @@ -71,7 +71,7 @@ async function webpackLoader(content, map, meta) { const docsPath = path.resolve( __dirname, "..", - "api-docs", + "api_refs", "public", componentPath ); @@ -90,7 +90,7 @@ async function webpackLoader(content, map, meta) { imp.docs = BASE_URL + "/" + exactPath; } else { throw new Error( - `Could not find docs for ${source}.${imported} in api-docs/public/` + `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/docs/_static/favicon.ico b/docs/core_docs/docs/_static/favicon.ico similarity index 100% rename from docs/docs/_static/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 100% rename from docs/docs/expression_language/interface.mdx rename to docs/core_docs/docs/expression_language/interface.mdx 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 100% rename from docs/docs/integrations/vectorstores/googlevertexai.mdx rename to docs/core_docs/docs/integrations/vectorstores/googlevertexai.mdx 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/docs/modules/callbacks/how_to/tags.mdx b/docs/core_docs/docs/modules/callbacks/how_to/tags.mdx similarity index 100% rename from docs/docs/modules/callbacks/how_to/tags.mdx rename to docs/core_docs/docs/modules/callbacks/how_to/tags.mdx diff --git a/docs/docs/modules/callbacks/index.mdx b/docs/core_docs/docs/modules/callbacks/index.mdx similarity index 100% rename from docs/docs/modules/callbacks/index.mdx rename to docs/core_docs/docs/modules/callbacks/index.mdx 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 100% 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 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 100% rename from docs/docs/modules/data_connection/vectorstores/index.mdx rename to docs/core_docs/docs/modules/data_connection/vectorstores/index.mdx 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 100% rename from docs/docs/modules/memory/index.mdx rename to docs/core_docs/docs/modules/memory/index.mdx 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 98% rename from docs/docusaurus.config.js rename to docs/core_docs/docusaurus.config.js index e243e25e4dab..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"); @@ -44,7 +44,7 @@ const config = { }, alias: { "@examples": examplesPath, - react: path.resolve("../node_modules/react"), + react: path.resolve("../../node_modules/react"), }, }, module: { diff --git a/docs/package.json b/docs/core_docs/package.json similarity index 90% rename from docs/package.json rename to docs/core_docs/package.json index 1f9140201b7b..8cc53e9ac704 100644 --- a/docs/package.json +++ b/docs/core_docs/package.json @@ -1,12 +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": "yarn gen:typedoc && rimraf ./build && NODE_OPTIONS=--max-old-space-size=7168 DOCUSAURUS_SSR_CONCURRENCY=4 docusaurus build", - "gen:typedoc": "cd ../api-docs && yarn gen:typedoc", + "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 100% rename from docs/sidebars.js rename to docs/core_docs/sidebars.js 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/static/img/favicon.ico b/docs/core_docs/static/img/favicon.ico similarity index 100% rename from docs/static/img/favicon.ico rename to docs/core_docs/static/img/favicon.ico diff --git a/docs/static/img/langchain-js-runnable-cheatsheet.png b/docs/core_docs/static/img/langchain-js-runnable-cheatsheet.png similarity index 100% rename from docs/static/img/langchain-js-runnable-cheatsheet.png rename to docs/core_docs/static/img/langchain-js-runnable-cheatsheet.png diff --git a/docs/static/img/map_reduce.jpg b/docs/core_docs/static/img/map_reduce.jpg similarity index 100% rename from docs/static/img/map_reduce.jpg rename to docs/core_docs/static/img/map_reduce.jpg diff --git a/docs/static/img/map_rerank.jpg b/docs/core_docs/static/img/map_rerank.jpg similarity index 100% rename from docs/static/img/map_rerank.jpg rename to docs/core_docs/static/img/map_rerank.jpg diff --git a/docs/static/img/model_io.jpg b/docs/core_docs/static/img/model_io.jpg similarity index 100% rename from docs/static/img/model_io.jpg rename to docs/core_docs/static/img/model_io.jpg diff --git a/docs/static/img/nextjs-agent-conversation.png b/docs/core_docs/static/img/nextjs-agent-conversation.png similarity index 100% rename from docs/static/img/nextjs-agent-conversation.png rename to docs/core_docs/static/img/nextjs-agent-conversation.png diff --git a/docs/static/img/parrot-chainlink-icon.png b/docs/core_docs/static/img/parrot-chainlink-icon.png similarity index 100% rename from docs/static/img/parrot-chainlink-icon.png rename to docs/core_docs/static/img/parrot-chainlink-icon.png diff --git a/docs/static/img/parrot-icon.png b/docs/core_docs/static/img/parrot-icon.png similarity index 100% rename from docs/static/img/parrot-icon.png rename to docs/core_docs/static/img/parrot-icon.png diff --git a/docs/static/img/qa_data_load.png b/docs/core_docs/static/img/qa_data_load.png similarity index 100% rename from docs/static/img/qa_data_load.png rename to docs/core_docs/static/img/qa_data_load.png diff --git a/docs/static/img/qa_flow.jpeg b/docs/core_docs/static/img/qa_flow.jpeg similarity index 100% rename from docs/static/img/qa_flow.jpeg rename to docs/core_docs/static/img/qa_flow.jpeg diff --git a/docs/static/img/qa_intro.png b/docs/core_docs/static/img/qa_intro.png similarity index 100% rename from docs/static/img/qa_intro.png rename to docs/core_docs/static/img/qa_intro.png diff --git a/docs/static/img/refine.jpg b/docs/core_docs/static/img/refine.jpg similarity index 100% rename from docs/static/img/refine.jpg rename to docs/core_docs/static/img/refine.jpg diff --git a/docs/static/img/sales_gpt.png b/docs/core_docs/static/img/sales_gpt.png similarity index 100% rename from docs/static/img/sales_gpt.png rename to docs/core_docs/static/img/sales_gpt.png diff --git a/docs/static/img/stuff.jpg b/docs/core_docs/static/img/stuff.jpg similarity index 100% rename from docs/static/img/stuff.jpg rename to docs/core_docs/static/img/stuff.jpg diff --git a/docs/static/img/summary_chains.png b/docs/core_docs/static/img/summary_chains.png similarity index 100% rename from docs/static/img/summary_chains.png rename to docs/core_docs/static/img/summary_chains.png diff --git a/docs/static/img/sveltekit-chat-langchain.png b/docs/core_docs/static/img/sveltekit-chat-langchain.png similarity index 100% rename from docs/static/img/sveltekit-chat-langchain.png rename to docs/core_docs/static/img/sveltekit-chat-langchain.png diff --git a/docs/static/js/google_analytics.js b/docs/core_docs/static/js/google_analytics.js similarity index 100% rename from docs/static/js/google_analytics.js rename to docs/core_docs/static/js/google_analytics.js diff --git a/docs/vercel.json b/docs/core_docs/vercel.json similarity index 98% rename from docs/vercel.json rename to docs/core_docs/vercel.json index 7b01964be5f9..72af21af9e4c 100644 --- a/docs/vercel.json +++ b/docs/core_docs/vercel.json @@ -405,7 +405,7 @@ "destination": "https://api.js.langchain.com/modules/:slug.html" }, { - "source": "/docs/:slug1/classes/:slug2", + "source": "/docs/api/:slug1/classes/:slug2", "destination": "https://api.js.langchain.com/classes/:slug1.:slug2.html", "has": [ { @@ -415,7 +415,7 @@ ] }, { - "source": "/docs/:slug1/functions/:slug2", + "source": "/docs/api/:slug1/functions/:slug2", "destination": "https://api.js.langchain.com/functions/:slug1.:slug2.html", "has": [ { @@ -425,7 +425,7 @@ ] }, { - "source": "/docs/:slug1/interfaces/:slug2", + "source": "/docs/api/:slug1/interfaces/:slug2", "destination": "https://api.js.langchain.com/interfaces/:slug1.:slug2.html", "has": [ { @@ -435,7 +435,7 @@ ] }, { - "source": "/docs/:slug1/types/:slug2", + "source": "/docs/api/:slug1/types/:slug2", "destination": "https://api.js.langchain.com/types/:slug1.:slug2.html", "has": [ { @@ -445,7 +445,7 @@ ] }, { - "source": "/docs/:slug1/variables/:slug2", + "source": "/docs/api/:slug1/variables/:slug2", "destination": "https://api.js.langchain.com/variables/:slug1.:slug2.html", "has": [ { diff --git a/examples/src/agents/custom_llm_agent_chat_runnable.ts b/examples/src/agents/custom_llm_agent_chat_runnable.ts index 522a33cef869..85af613fdc01 100644 --- a/examples/src/agents/custom_llm_agent_chat_runnable.ts +++ b/examples/src/agents/custom_llm_agent_chat_runnable.ts @@ -105,6 +105,15 @@ async function formatMessages( /** Define the custom output parser */ function customOutputParser(message: BaseMessage): AgentAction | AgentFinish { const text = message.content; + if (typeof text !== "string") { + throw new Error( + `Message content is not a string. Received: ${JSON.stringify( + text, + null, + 2 + )}` + ); + } /** If the input includes "Final Answer" return as an instance of `AgentFinish` */ if (text.includes("Final Answer:")) { const parts = text.split("Final Answer:"); diff --git a/examples/src/llms/portkey-chat.ts b/examples/src/llms/portkey-chat.ts index 2765d35cff29..888f5e46b666 100644 --- a/examples/src/llms/portkey-chat.ts +++ b/examples/src/llms/portkey-chat.ts @@ -16,6 +16,15 @@ export const run = async () => { 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 8521cd5112f3..cde3478ad58f 100644 --- a/langchain/package.json +++ b/langchain/package.json @@ -806,8 +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 && yarn conditional:api-docs && node scripts/generate-docs-llm-compatibility-table", - "conditional:api-docs": "bash scripts/build-api-refs.sh", + "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 index 3b1115ce8084..42603aa3b66f 100644 --- a/langchain/scripts/build-api-refs.sh +++ b/langchain/scripts/build-api-refs.sh @@ -1,5 +1,5 @@ #!/bin/bash if [ "$SKIP_API_DOCS" != "true" ]; then - cd ../api-docs && yarn gen:typedoc + cd ../docs/api_refs && yarn build:typedoc fi diff --git a/langchain/scripts/ignore-class-properties.js b/langchain/scripts/build-for-api-ref-docs.js similarity index 100% rename from langchain/scripts/ignore-class-properties.js rename to langchain/scripts/build-for-api-ref-docs.js diff --git a/langchain/scripts/create-entrypoints.js b/langchain/scripts/create-entrypoints.js index 600f0b07b543..a9fbd090ecd2 100644 --- a/langchain/scripts/create-entrypoints.js +++ b/langchain/scripts/create-entrypoints.js @@ -541,11 +541,11 @@ const generateFiles = () => { const updateConfig = () => { // Update typedoc.json entryPoints field - updateJsonFile("../api-docs/typedoc.json", (json) => ({ + updateJsonFile("../docs/api_refs/typedoc.json", (json) => ({ ...json, entryPoints: [...Object.keys(entrypoints)] .filter((key) => !deprecatedNodeOnly.includes(key)) - .map((key) => `../langchain/src/${entrypoints[key]}.ts`), + .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/src/output_parsers/openai_tools.ts b/langchain/src/output_parsers/openai_tools.ts new file mode 100644 index 000000000000..a21241206740 --- /dev/null +++ b/langchain/src/output_parsers/openai_tools.ts @@ -0,0 +1,51 @@ +import { BaseLLMOutputParser } from "../schema/output_parser.js"; +import type { ChatGeneration } from "../schema/index.js"; + +export type ParsedToolCall = { + name: string; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + arguments: Record; +}; + +/** + * Class for parsing the output of an LLM into a JSON object. Uses an + * instance of `OutputToolsParser` to parse the output. + */ +export class JsonOutputToolsParser extends BaseLLMOutputParser< + ParsedToolCall[] +> { + static lc_name() { + return "JsonOutputToolsParser"; + } + + lc_namespace = ["langchain", "output_parsers"]; + + lc_serializable = true; + + /** + * Parses the output and returns a JSON object. If `argsOnly` is true, + * only the arguments of the function call are returned. + * @param generations The output of the LLM to parse. + * @returns A JSON object representation of the function call or its arguments. + */ + async parseResult(generations: ChatGeneration[]): Promise { + const toolCalls = generations[0].message.additional_kwargs.tool_calls; + if (!toolCalls) { + throw new Error( + `No tools_call in message ${JSON.stringify(generations)}` + ); + } + const clonedToolCalls = JSON.parse(JSON.stringify(toolCalls)); + const parsedToolCalls = []; + for (const toolCall of clonedToolCalls) { + if (toolCall.function !== undefined) { + const functionArgs = toolCall.function.arguments; + parsedToolCalls.push({ + name: toolCall.function.name, + arguments: JSON.parse(functionArgs), + }); + } + } + return parsedToolCalls; + } +} diff --git a/langchain/src/output_parsers/tests/openai_tools.int.test.ts b/langchain/src/output_parsers/tests/openai_tools.int.test.ts new file mode 100644 index 000000000000..7afbc4c8bf8f --- /dev/null +++ b/langchain/src/output_parsers/tests/openai_tools.int.test.ts @@ -0,0 +1,45 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ + +import { expect, test } from "@jest/globals"; +import { z } from "zod"; +import { zodToJsonSchema } from "zod-to-json-schema"; + +import { ChatOpenAI } from "../../chat_models/openai.js"; +import { ChatPromptTemplate } from "../../prompts/index.js"; +import { JsonOutputToolsParser } from "../openai_tools.js"; + +const schema = z.object({ + setup: z.string().describe("The setup for the joke"), + punchline: z.string().describe("The punchline to the joke"), +}); + +test("Extraction", async () => { + const prompt = ChatPromptTemplate.fromTemplate( + `tell me two jokes about {foo}` + ); + const model = new ChatOpenAI({ + modelName: "gpt-3.5-turbo-1106", + temperature: 0, + }).bind({ + tools: [ + { + type: "function", + function: { + name: "joke", + description: "A joke", + parameters: zodToJsonSchema(schema), + }, + }, + ], + }); + + const parser = new JsonOutputToolsParser(); + const chain = prompt.pipe(model).pipe(parser); + + const res = await chain.invoke({ + foo: "bears", + }); + + console.log(res); + expect(res.length).toBe(2); +}); diff --git a/langchain/src/util/types.ts b/langchain/src/util/types.ts new file mode 100644 index 000000000000..5ea4d49ad8a5 --- /dev/null +++ b/langchain/src/util/types.ts @@ -0,0 +1,5 @@ +/** + * Represents a string value with autocompleted, but not required, suggestions. + */ + +export type StringWithAutocomplete = T | (string & Record); diff --git a/package.json b/package.json index 9aeb91082217..2e24de19cb68 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,7 @@ "workspaces": [ "langchain", "examples", - "docs", - "api-docs" + "docs/*" ], "repository": { "type": "git", @@ -18,7 +17,7 @@ "packageManager": "yarn@3.4.1", "scripts": { "build": "turbo run build --filter=\"!test-exports-*\" --concurrency 1", - "build:api-docs": "cd ./api-docs && yarn gen:typedoc", + "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", @@ -32,8 +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:api-docs": "yarn workspace api-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 4573e2d6821b..a14896203ddc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12840,9 +12840,9 @@ __metadata: languageName: node linkType: hard -"api-docs@workspace:api-docs": +"api_refs@workspace:docs/api_refs": version: 0.0.0-use.local - resolution: "api-docs@workspace:api-docs" + resolution: "api_refs@workspace:docs/api_refs" dependencies: "@types/node": ^20 "@types/react": ^18 @@ -15133,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" @@ -15981,40 +16015,6 @@ __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"