Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: langchain-ai/langchain
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.10
Choose a base ref
...
head repository: langchain-ai/langchain
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.11
Choose a head ref
Loading
Showing with 20,498 additions and 2,960 deletions.
  1. +1 βˆ’1 .github/workflows/codespell.yml
  2. +747 βˆ’0 cookbook/RAPTOR.ipynb
  3. +1 βˆ’1 cookbook/llm_checker.ipynb
  4. +1 βˆ’1 cookbook/llm_math.ipynb
  5. +1 βˆ’0 docs/.yarnrc.yml
  6. +426 βˆ’326 docs/data/people.yml
  7. +10 βˆ’1 docs/docs/get_started/introduction.mdx
  8. +32 βˆ’3 docs/docs/get_started/quickstart.mdx
  9. +40 βˆ’29 docs/docs/integrations/chat/anthropic.ipynb
  10. +2 βˆ’0 docs/docs/integrations/llms/anthropic.ipynb
  11. +145 βˆ’2 docs/docs/integrations/llms/llm_caching.ipynb
  12. +1 βˆ’1 docs/docs/integrations/platforms/anthropic.mdx
  13. +1 βˆ’0 docs/docs/integrations/platforms/index.mdx
  14. +14 βˆ’20 docs/docs/integrations/tools/stackexchange.ipynb
  15. +265 βˆ’0 docs/docs/integrations/tools/you.ipynb
  16. +74 βˆ’55 docs/docs/integrations/vectorstores/azure_cosmos_db.ipynb
  17. +12 βˆ’10 docs/docs/integrations/vectorstores/sap_hanavector.ipynb
  18. BIN docs/docs/langsmith/img/log_traces.png
  19. BIN docs/docs/langsmith/img/test_results.png
  20. +78 βˆ’745 docs/docs/langsmith/walkthrough.ipynb
  21. +18 βˆ’3 docs/docs/modules/callbacks/index.mdx
  22. +33 βˆ’4 docs/docs/modules/model_io/quick_start.mdx
  23. +2 βˆ’0 docs/docs/use_cases/query_analysis/how_to/_category_.yml
  24. +190 βˆ’0 docs/docs/use_cases/query_analysis/how_to/constructing-filters.ipynb
  25. +3 βˆ’3 docs/docs/use_cases/query_analysis/{ β†’ how_to}/few_shot.ipynb
  26. +585 βˆ’0 docs/docs/use_cases/query_analysis/how_to/high_cardinality.ipynb
  27. +329 βˆ’0 docs/docs/use_cases/query_analysis/how_to/multiple_queries.ipynb
  28. +331 βˆ’0 docs/docs/use_cases/query_analysis/how_to/multiple_retrievers.ipynb
  29. +328 βˆ’0 docs/docs/use_cases/query_analysis/how_to/no_queries.ipynb
  30. +22 βˆ’12 docs/docs/use_cases/query_analysis/index.ipynb
  31. +7 βˆ’7 docs/docs/use_cases/query_analysis/quickstart.ipynb
  32. +4 βˆ’4 docs/docs/use_cases/query_analysis/techniques/hyde.ipynb
  33. +4 βˆ’4 docs/docs/use_cases/query_analysis/techniques/step_back.ipynb
  34. +0 βˆ’874 docs/docs/use_cases/question_answering/quickstart.ipynb
  35. +644 βˆ’0 docs/docs/use_cases/question_answering/quickstart.mdx
  36. +1 βˆ’0 docs/package.json
  37. +5 βˆ’0 docs/src/analytics.js
  38. +13 βˆ’0 docs/src/theme/DocItem/Content/index.js
  39. +204 βˆ’0 docs/src/theme/Feedback.js
  40. +197 βˆ’479 docs/static/svg/langchain_stack.svg
  41. +255 βˆ’0 docs/static/svg/langchain_stack_dark.svg
  42. +13,324 βˆ’0 docs/yarn.lock
  43. +198 βˆ’0 libs/community/langchain_community/cache.py
  44. +6 βˆ’0 libs/community/langchain_community/chat_models/fireworks.py
  45. +1 βˆ’1 libs/community/langchain_community/chat_models/perplexity.py
  46. +2 βˆ’2 libs/community/langchain_community/llms/anthropic.py
  47. +2 βˆ’3 libs/community/langchain_community/llms/baidu_qianfan_endpoint.py
  48. +6 βˆ’0 libs/community/langchain_community/llms/fireworks.py
  49. +2 βˆ’2 libs/community/langchain_community/llms/tongyi.py
  50. +1 βˆ’1 libs/community/langchain_community/llms/vertexai.py
  51. +16 βˆ’1 libs/community/langchain_community/retrievers/you.py
  52. +9 βˆ’0 libs/community/langchain_community/tools/__init__.py
  53. +8 βˆ’0 libs/community/langchain_community/tools/you/__init__.py
  54. +43 βˆ’0 libs/community/langchain_community/tools/you/tool.py
  55. +41 βˆ’38 libs/community/langchain_community/utilities/you.py
  56. +191 βˆ’33 libs/community/langchain_community/vectorstores/azure_cosmos_db.py
  57. +545 βˆ’32 libs/community/tests/integration_tests/vectorstores/test_azure_cosmos_db.py
  58. +39 βˆ’0 libs/community/tests/unit_tests/retrievers/test_you.py
  59. +1 βˆ’0 libs/community/tests/unit_tests/tools/test_imports.py
  60. +1 βˆ’0 libs/community/tests/unit_tests/tools/test_public_api.py
  61. +87 βˆ’0 libs/community/tests/unit_tests/tools/test_you.py
  62. +57 βˆ’1 libs/community/tests/unit_tests/utilities/test_you.py
  63. +1 βˆ’1 libs/core/pyproject.toml
  64. +6 βˆ’2 libs/langchain/langchain/agents/json_chat/base.py
  65. +2 βˆ’1 libs/langchain/langchain/agents/mrkl/base.py
  66. +5 βˆ’2 libs/langchain/langchain/agents/react/agent.py
  67. +8 βˆ’3 libs/langchain/langchain/agents/structured_chat/base.py
  68. +8 βˆ’3 libs/langchain/langchain/agents/xml/base.py
  69. +30 βˆ’6 libs/langchain/langchain/smith/evaluation/config.py
  70. +102 βˆ’27 libs/langchain/langchain/smith/evaluation/runner_utils.py
  71. +5 βˆ’1 libs/langchain/langchain/tools/render.py
  72. +58 βˆ’57 libs/langchain/poetry.lock
  73. +3 βˆ’3 libs/langchain/pyproject.toml
  74. +350 βˆ’0 libs/langchain/tests/integration_tests/cache/test_azure_cosmosdb_cache.py
  75. +92 βˆ’16 libs/partners/anthropic/langchain_anthropic/chat_models.py
  76. +1 βˆ’1 libs/partners/anthropic/langchain_anthropic/llms.py
  77. +184 βˆ’123 libs/partners/anthropic/poetry.lock
  78. +2 βˆ’2 libs/partners/anthropic/pyproject.toml
  79. +32 βˆ’8 libs/partners/anthropic/tests/integration_tests/test_chat_models.py
  80. +1 βˆ’1 libs/partners/nvidia-trt/langchain_nvidia_trt/llms.py
  81. +2 βˆ’4 templates/rag-lancedb/rag_lancedb/chain.py
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -32,6 +32,6 @@ jobs:
- name: Codespell
uses: codespell-project/actions-codespell@v2
with:
skip: guide_imports.json,*.ambr,./cookbook/data/imdb_top_1000.csv
skip: guide_imports.json,*.ambr,./cookbook/data/imdb_top_1000.csv,*.lock
ignore_words_list: ${{ steps.extract_ignore_words.outputs.ignore_words_list }}
exclude_file: libs/community/langchain_community/llms/yuan2.py
747 changes: 747 additions & 0 deletions cookbook/RAPTOR.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cookbook/llm_checker.ipynb
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@
"\n",
"checker_chain = LLMCheckerChain.from_llm(llm, verbose=True)\n",
"\n",
"checker_chain.run(text)"
"checker_chain.invoke(text)"
]
},
{
2 changes: 1 addition & 1 deletion cookbook/llm_math.ipynb
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@
"llm = OpenAI(temperature=0)\n",
"llm_math = LLMMathChain.from_llm(llm, verbose=True)\n",
"\n",
"llm_math.run(\"What is 13 raised to the .3432 power?\")"
"llm_math.invoke(\"What is 13 raised to the .3432 power?\")"
]
},
{
1 change: 1 addition & 0 deletions docs/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
Loading