-
Notifications
You must be signed in to change notification settings - Fork 13.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(new docs): update branch and resolve conflicts around build #21271
Commits on Apr 30, 2024
-
community[patch]: Modify the text field type and add new exception ha…
…ndling (#20116) Co-authored-by: gaoyuan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7a4630 - Browse repository at this point
Copy the full SHA a7a4630View commit details -
community[patch]: Fix for github issue #17690 (#20117)
…/17690 Thank you for contributing to LangChain! - [x] **Fix Google Lens knowledge graph issue**: "langchain: community" - Fix for [No "knowledge_graph" property in Google Lens API call from SerpAPI](#17690) - [x] **PR message**: ***Delete this entire checklist*** and replace with - **Description:** handled the existence of keys in the json response of Google Lens - **Issue:** [No "knowledge_graph" property in Google Lens API call from SerpAPI](#17690) - [x] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17. Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28b0b0d - Browse repository at this point
Copy the full SHA 28b0b0dView commit details -
community[patch]: Fix Bedrock Mistral stop sequence request key (#20115)
- **Description:** Change Bedrock's Mistral stop sequence key mapping to "stop" rather than "stop_sequences" which is the correct key [Bedrock docs link](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-mistral.html) `{ "prompt": string, "max_tokens" : int, "stop" : [string], "temperature": float, "top_p": float, "top_k": int }` - **Issue:** #20053 - **Dependencies:** N/A - **Twitter handle:** N/a
Configuration menu - View commit details
-
Copy full SHA for ea43c66 - Browse repository at this point
Copy the full SHA ea43c66View commit details -
community[patch]: allows using
text-generation-inference
/generate ……route with `HuggingFaceEndpoint` (#20100) - **Description:** allows to use the /generate route of `text-generation-inference` with the `HuggingFaceEndpoint`
Configuration menu - View commit details
-
Copy full SHA for d7e1275 - Browse repository at this point
Copy the full SHA d7e1275View commit details -
community[minor]: add mintbase loader to langchain (#20089)
- [x] **Add Near NFT loader**: "community: Load NFT near block chain using mintbase graph API" - [x] **PR message**: - **Description:** a description of the change - **Twitter handle:**Kurodenjiro --------- Co-authored-by: Bagatur <[email protected]> Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa4124b - Browse repository at this point
Copy the full SHA fa4124bView commit details -
[Core] Feat Pretty Print Tool calls (#20997)
Right now, `tool_calls` are not included in the `pretty_print()` output. Would be nice to show! ![image](https://github.com/langchain-ai/langchain/assets/13333726/6a0ffca3-d02f-4e18-bc76-513eeca2e964)
Configuration menu - View commit details
-
Copy full SHA for db14d43 - Browse repository at this point
Copy the full SHA db14d43View commit details -
docs: Bump cassio min version in docs (#21081)
Cassio 0.6+ is recommended for async vector store (not blocking on getting the embedding dimension) and for hybrid search support.
Configuration menu - View commit details
-
Copy full SHA for d6e9bd3 - Browse repository at this point
Copy the full SHA d6e9bd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c77f45 - Browse repository at this point
Copy the full SHA 5c77f45View commit details -
langchain[patch]: Update handling of deprecation warnings (#21083)
Chains should not be emitting deprecation warnings.
Configuration menu - View commit details
-
Copy full SHA for 845d8e0 - Browse repository at this point
Copy the full SHA 845d8e0View commit details -
[Patch] Dedent docstring (#20959)
Technically a slight prompt breaking change, but I think positive EV in that it saves tokens and results in more sane / in-distribution prompts
Configuration menu - View commit details
-
Copy full SHA for 5c63ac3 - Browse repository at this point
Copy the full SHA 5c63ac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8f18a2 - Browse repository at this point
Copy the full SHA c8f18a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for efe27ef - Browse repository at this point
Copy the full SHA efe27efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 748f2ba - Browse repository at this point
Copy the full SHA 748f2baView commit details -
multiple: Remove unnecessary Ruff suppression comments (#21050)
## Summary I ran `ruff check --extend-select RUF100 -n` to identify `# noqa` comments that weren't having any effect in Ruff, and then `ruff check --extend-select RUF100 -n --fix` on select files to remove all of the unnecessary `# noqa: F401` violations. It's possible that these were needed at some point in the past, but they're not necessary in Ruff v0.1.15 (used by LangChain) or in the latest release. Co-authored-by: Erick Friis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f38b7a - Browse repository at this point
Copy the full SHA 8f38b7aView commit details -
core[minor],langchain[patch],community[patch]: Move storage interface…
…s to core (#20750) * Move storage interface to core * Move in memory and file system implementation to core
Configuration menu - View commit details
-
Copy full SHA for 3c064a7 - Browse repository at this point
Copy the full SHA 3c064a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9c53e9 - Browse repository at this point
Copy the full SHA b9c53e9View commit details -
community[patch]: Skip unexpected 404 HTTP Error in Arxiv download (#…
…21042) ### Description: When attempting to download PDF files from arXiv, an unexpected 404 error frequently occurs. This error halts the operation, regardless of whether there are additional documents to process. As a solution, I suggest implementing a mechanism to ignore and communicate this error and continue processing the next document from the list. Proposed Solution: To address the issue of unexpected 404 errors during PDF downloads from arXiv, I propose implementing the following solution: - Error Handling: Implement error handling mechanisms to catch and handle 404 errors gracefully. - Communication: Inform the user or logging system about the occurrence of the 404 error. - Continued Processing: After encountering a 404 error, continue processing the remaining documents from the list without interruption. This solution ensures that the application can handle unexpected errors without terminating the entire operation. It promotes resilience and robustness in the face of intermittent issues encountered during PDF downloads from arXiv. ### Issue: #20909 ### Dependencies: none --------- Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0b1a67 - Browse repository at this point
Copy the full SHA b0b1a67View commit details -
community[patch]: Using the right encoding to parse the web page in R…
…ecursiveUrlLoader (#20632) As shown in #13749 , `RecursiveUrlLoader` has encoding issue. This PR is to solve this. --------- Co-authored-by: Bagatur <[email protected]> Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1c3687 - Browse repository at this point
Copy the full SHA f1c3687View commit details -
community[minor]: bump version of LayerupSecurity, add support for un…
…trusted_input parameter (#19985) **Description:** update version of LayerupSecurity package for the Layerup Security integration. Add untrusted_input parameter.
Configuration menu - View commit details
-
Copy full SHA for 3e74936 - Browse repository at this point
Copy the full SHA 3e74936View commit details -
partner[patch]: Upgrade to Ruff v0.4.2 (#21108)
## Summary No new diagnostics (given that the set of enabled rules hasn't changed), but gains access to our new parser (much faster) and reduced false positives all around.
Configuration menu - View commit details
-
Copy full SHA for fd94aa8 - Browse repository at this point
Copy the full SHA fd94aa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbdfa3d - Browse repository at this point
Copy the full SHA dbdfa3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2407c35 - Browse repository at this point
Copy the full SHA 2407c35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a62fb0 - Browse repository at this point
Copy the full SHA 8a62fb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for aec13a6 - Browse repository at this point
Copy the full SHA aec13a6View commit details -
langchain[patch]: Migrate document transformers (#21098)
Migrate document transformers
Configuration menu - View commit details
-
Copy full SHA for 9b6d04a - Browse repository at this point
Copy the full SHA 9b6d04aView commit details -
langchain[patch]: Upgrade prompts to optional imports (#21078)
Upgrades prompts module to use optional imports. This code was generated with a migration script, but had to be adjusted manually a bit. Testing in preparation for applying this code modification across the rest of the modules in langchain package to reverse the dependency between langchain community and langchain.
Configuration menu - View commit details
-
Copy full SHA for 8658d52 - Browse repository at this point
Copy the full SHA 8658d52View commit details -
langchain[patch]: Migrate graphs to use optional community imports (#…
…21100) Migrate graphs to use optional community imports.
Configuration menu - View commit details
-
Copy full SHA for 3853fe9 - Browse repository at this point
Copy the full SHA 3853fe9View commit details -
langchain[patch]: Migrate output parsers to support optional communit…
…y imports (#21103) Migrate output parsers
Configuration menu - View commit details
-
Copy full SHA for 9e788f0 - Browse repository at this point
Copy the full SHA 9e788f0View commit details -
langchain[patch]: Migrate tools to treat community imports as optional (
#21117) Migrate tools to treat community imports as optional
Configuration menu - View commit details
-
Copy full SHA for e4f51f5 - Browse repository at this point
Copy the full SHA e4f51f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf95414 - Browse repository at this point
Copy the full SHA bf95414View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f8a307 - Browse repository at this point
Copy the full SHA 5f8a307View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c938da - Browse repository at this point
Copy the full SHA 6c938daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14422a4 - Browse repository at this point
Copy the full SHA 14422a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d3e9ea - Browse repository at this point
Copy the full SHA 6d3e9eaView commit details -
docs: minor changes in sambanova community integration docs (#21129)
- **Description:** minor changes in sambanova community integration notebook docs --------- Co-authored-by: Renate Kempf <[email protected]> Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3441a11 - Browse repository at this point
Copy the full SHA 3441a11View commit details -
community[patch]: add delete() method to AzureSearch vector store (#2…
…1127) **Issue:** Currently `AzureSearch` vector store does not implement `delete` method. This PR implements it. This also makes it compatible with LangChain indexer. **Dependencies:** None **Twitter handle:** @martintriska1 --------- Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f7f448 - Browse repository at this point
Copy the full SHA 0f7f448View commit details
Commits on May 1, 2024
-
openai[patch]: fix special token default behavior (#21131)
By default handle special sequences as regular text
Configuration menu - View commit details
-
Copy full SHA for bef50de - Browse repository at this point
Copy the full SHA bef50deView commit details -
upstage[minor]: Update few codes and add upstage loader in pdf section (
#21085) **Description:** Update UpstageLayoutAnalysisParser and Loader and add upstage loader example in pdf section **Dependencies:** langchain_community **Twitter handle:** [@UpstageAI](https://twitter.com/upstageai) - [x] **Add tests and docs**: If you're adding a new integration, please include 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/docs/integrations` directory. - [x] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible. - If you are adding something to community, do not re-import it in langchain. If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.
Configuration menu - View commit details
-
Copy full SHA for 8d2909e - Browse repository at this point
Copy the full SHA 8d2909eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e96bb - Browse repository at this point
Copy the full SHA c9e96bbView commit details -
docs: updated docs on langchain_google_community (#21064)
Thank you for contributing to LangChain! - [ ] **PR title**: "docs: updated docs on langchain_google_community" - [ ] **PR message**: - **Description:** updated docs on langchain_google_community
Configuration menu - View commit details
-
Copy full SHA for a36935b - Browse repository at this point
Copy the full SHA a36935bView commit details -
docs: remove repetitive words (#21058)
remove repetitive words Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a89094 - Browse repository at this point
Copy the full SHA 5a89094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67e6744 - Browse repository at this point
Copy the full SHA 67e6744View commit details -
experimental[patch]: Add support for non-function calling LLMs in llm…
… graph transformers (#21014)
Configuration menu - View commit details
-
Copy full SHA for 7860e4c - Browse repository at this point
Copy the full SHA 7860e4cView commit details -
community[patch]: update package name to bagelML (#19948)
**Description** This pull request updates the Bagel Network package name from "betabageldb" to "bagelML" to align with the latest changes made by the Bagel Network team. The following modifications have been made: - Updated all references to the old package name ("betabageldb") with the new package name ("bagelML") throughout the codebase. - Modified the documentation, and any relevant scripts to reflect the package name change. - Tested the changes to ensure that the functionality remains intact and no breaking changes were introduced. By merging this pull request, our project will stay up to date with the latest Bagel Network package naming convention, ensuring compatibility and smooth integration with their updated library. Please review the changes and provide any feedback or suggestions. Thank you!
Configuration menu - View commit details
-
Copy full SHA for 1fdf63f - Browse repository at this point
Copy the full SHA 1fdf63fView commit details -
experimental: clean python repl input(experimental:Added code for Pyt…
…honREPL) (#20930) Update python.py(experimental:Added code for PythonREPL) Added code for PythonREPL, defining a static method 'sanitize_input' that takes the string 'query' as input and returns a sanitizing string. The purpose of this method is to remove unwanted characters from the input string, Specifically: 1. Delete the whitespace at the beginning and end of the string (' \s'). 2. Remove the quotation marks (`` ` ``) at the beginning and end of the string. 3. Remove the keyword "python" at the beginning of the string (case insensitive) because the user may have typed it. This method uses regular expressions (regex) to implement sanitizing. It all started with this code: from langchain.agents import Tool from langchain_experimental.utilities import PythonREPL python_repl = PythonREPL() repl_tool = Tool( name="python_repl", description="Remove redundant formatting marks at the beginning and end of source code from input.Use a Python shell to execute python commands. If you want to see the output of a value, you should print it out with `print(...)`.", func=python_repl.run, ) When I call the agent to write a piece of code for me and execute it with the defined code, I must get an error: SyntaxError('invalid syntax', ('<string>', 1, 1,'In', 1, 2)) After checking, I found that pythonREPL has less formatting of input code than the soon-to-be deprecated pythonREPL tool, so I added this step to it, so that no matter what code I ask the agent to write for me, it can be executed smoothly and get the output result. I have tried modifying the prompt words to solve this problem before, but it did not work, and by adding a simple format check, the problem is well resolved. <img width="1271" alt="image" src="https://github.com/langchain-ai/langchain/assets/164149097/c49a685f-d246-4b11-b655-fd952fc2f04c"> --------- Co-authored-by: Bagatur <[email protected]> Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b473d1 - Browse repository at this point
Copy the full SHA 3b473d1View commit details -
community[patch]: Update comments for lazy_load method (#21063)
- [ ] **PR message**: - **Description:** Refactored the lazy_load method to use asynchronous execution for improved performance. The method now initiates scraping of all URLs simultaneously using asyncio.gather, enhancing data fetching efficiency. Each Document object is yielded immediately once its content becomes available, streamlining the entire process. - **Issue:** N/A - **Dependencies:** Requires the asyncio library for handling asynchronous tasks, which should already be part of standard Python libraries in Python 3.7 and above. - **Email:** [[email protected]](mailto:[email protected]) --------- Co-authored-by: Bagatur <[email protected]> Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 45ddf4d - Browse repository at this point
Copy the full SHA 45ddf4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12b1caf - Browse repository at this point
Copy the full SHA 12b1cafView commit details -
infra: Sync devcontainer.json and compose file mount location (#20461)
**Sync the config in `devcontainer.json` and `docker-compose.yml`** Issue: when opening the current `master` branch in a dev container in VS Code, I get the following message as VS Code cannot find the mounted source folder: ![image](https://github.com/langchain-ai/langchain/assets/1824461/41cf20c0-d1e0-4648-9578-edf80b99c2db) Opening in a GitHub Codespace works (it seems to ignore the mounts in the `docker-compose.yml`. This PR updates the mount in `docker-compose.yml` and the config in `devcontainer.json` so that the two align. I have tested these changes in GitHub Codespaces and a VS Code dev container and both loaded successfully. Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a01760 - Browse repository at this point
Copy the full SHA 8a01760View commit details -
docs: Docs (sample notebook) for Vertex DIY RAG Ranking API (#21054)
Vertex DIY RAG APIs helps to build complex RAG systems and provide more granular control, and are suited for custom use cases. The Ranking API takes in a list of documents and reranks those documents based on how relevant the documents are to a given query. Compared to embeddings that look purely at the semantic similarity of a document and a query, the ranking API can give you a more precise score for how well a document answers a given query. [Reference](https://cloud.google.com/generative-ai-app-builder/docs/ranking) --------- Co-authored-by: Bagatur <[email protected]> Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86fe484 - Browse repository at this point
Copy the full SHA 86fe484View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab55f69 - Browse repository at this point
Copy the full SHA ab55f69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fcab9a - Browse repository at this point
Copy the full SHA 2fcab9aView commit details -
ci: Use
ruff check
in Makefile (#21138)## Summary `ruff /path/to/file.py` works but is deprecated, and we now recommend `ruff check /path/to/file.py` (to match `ruff format /path/to/file.py`).
Configuration menu - View commit details
-
Copy full SHA for 2b10c4d - Browse repository at this point
Copy the full SHA 2b10c4dView commit details -
langchain[patch]: Migrate chat loaders to optional community imports (#…
…21089) Migrate chat loaders to optional community imports
Configuration menu - View commit details
-
Copy full SHA for d640605 - Browse repository at this point
Copy the full SHA d640605View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86ff8a3 - Browse repository at this point
Copy the full SHA 86ff8a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa0bc74 - Browse repository at this point
Copy the full SHA aa0bc74View commit details -
langchain[patch],community[minor]: Move graph index creator (#20795)
Move graph index creator to community
Configuration menu - View commit details
-
Copy full SHA for 1ce1a10 - Browse repository at this point
Copy the full SHA 1ce1a10View commit details -
community[minor]: Rememberizer retriever (#20052)
**Description:** This pull request introduces a new feature for LangChain: the integration with the Rememberizer API through a custom retriever. This enables LangChain applications to allow users to load and sync their data from Dropbox, Google Drive, Slack, their hard drive into a vector database that LangChain can query. Queries involve sending text chunks generated within LangChain and retrieving a collection of semantically relevant user data for inclusion in LLM prompts. User knowledge dramatically improved AI applications. The Rememberizer integration will also allow users to access general purpose vectorized data such as Reddit channel discussions and US patents. **Issue:** N/A **Dependencies:** N/A **Twitter handle:** https://twitter.com/Rememberizer
Configuration menu - View commit details
-
Copy full SHA for 2a6f78a - Browse repository at this point
Copy the full SHA 2a6f78aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1c21d - Browse repository at this point
Copy the full SHA 4d1c21dView commit details -
👥 Update LangChain people data (#21143)
👥 Update LangChain people data Co-authored-by: github-actions <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd38073 - Browse repository at this point
Copy the full SHA bd38073View commit details -
langchain[patch]: Migrate document loaders to use optional langchain …
…community imports (#21095)
Configuration menu - View commit details
-
Copy full SHA for 0e5bf16 - Browse repository at this point
Copy the full SHA 0e5bf16View commit details -
docs: standardize vertexai params (#20167)
Related to #20085 Requires langchain-ai/langchain-google#121
Configuration menu - View commit details
-
Copy full SHA for 8b4b75e - Browse repository at this point
Copy the full SHA 8b4b75eView commit details -
langchain[patch]: embedddings distance move import of openai embeddin…
…gs into local scope (#21148)
Configuration menu - View commit details
-
Copy full SHA for b879184 - Browse repository at this point
Copy the full SHA b879184View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a39fe6 - Browse repository at this point
Copy the full SHA 7a39fe6View commit details -
partners: AI21 Labs Jamba Support (#20815)
Description: Added support for AI21 new model - Jamba Twitter handle: https://github.com/AI21Labs --------- Co-authored-by: Asaf Gardin <[email protected]> Co-authored-by: Erick Friis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 642975d - Browse repository at this point
Copy the full SHA 642975dView commit details -
Configuration menu - View commit details
-
Copy full SHA for daab978 - Browse repository at this point
Copy the full SHA daab978View commit details -
langchain[patch]: Migrate top level files to use optional langchain c…
…ommunity (#21152) Migrate a few top level files to treat langchain community as an optional dependency
Configuration menu - View commit details
-
Copy full SHA for 7230e43 - Browse repository at this point
Copy the full SHA 7230e43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f709d9 - Browse repository at this point
Copy the full SHA 2f709d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59f10ab - Browse repository at this point
Copy the full SHA 59f10abView commit details -
langchain[patch]: Update some agent tool kits to handle community imp…
…ort as optional (#21157) A few things that were not caught by the migration script
Configuration menu - View commit details
-
Copy full SHA for 43110da - Browse repository at this point
Copy the full SHA 43110daView commit details -
Configuration menu - View commit details
-
Copy full SHA for bec3eee - Browse repository at this point
Copy the full SHA bec3eeeView commit details -
langchain[patch]: Migrate utils to use optional langchain_community (#…
…21163) Migrate utils to use optional imports from langchain community
Configuration menu - View commit details
-
Copy full SHA for 23c5d87 - Browse repository at this point
Copy the full SHA 23c5d87View commit details -
langchain[patch]: Fix how the serializable test identifies serializab…
…le objects (#21165) dir() will not work if we're using optional imports. The only way to do this is by using contents of __all__
Configuration menu - View commit details
-
Copy full SHA for 2914abd - Browse repository at this point
Copy the full SHA 2914abdView commit details -
langchain[patch]: Migrate chat models to optional community imports (#…
…21090) Migrate chat models to optional community imports
Configuration menu - View commit details
-
Copy full SHA for 57e8e70 - Browse repository at this point
Copy the full SHA 57e8e70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9932f49 - Browse repository at this point
Copy the full SHA 9932f49View commit details -
langchain[patch],community[minor]: Move load_tools to community (#21158)
Move load tools to community
Configuration menu - View commit details
-
Copy full SHA for 44602bd - Browse repository at this point
Copy the full SHA 44602bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0694538 - Browse repository at this point
Copy the full SHA 0694538View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e53fa7 - Browse repository at this point
Copy the full SHA 9e53fa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23fdd32 - Browse repository at this point
Copy the full SHA 23fdd32View commit details -
langchain[patch]: Migrate more code in utils to use optional langchai…
…n import (#21166) Moving is interactive util to avoid circular deps
Configuration menu - View commit details
-
Copy full SHA for 94a8387 - Browse repository at this point
Copy the full SHA 94a8387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa8626 - Browse repository at this point
Copy the full SHA 6fa8626View commit details
Commits on May 2, 2024
-
infra: cleanup docs build (#21134)
Refactors the docs build in order to: - run the same `make build` command in both vercel and local build - incrementally build artifacts in 2 distinct steps, instead of building all docs in-place (in vercel) or in a _dist dir (locally) Highlights: - introduces `make build` in order to build the docs - collects and generates all files for the build in `docs/build/intermediate` - renders those jupyter notebook + markdown files into `docs/build/outputs` And now the outputs to host are in `docs/build/outputs`, which will need a vercel settings change. Todo: - [ ] figure out how to point the right directory (right now deleting and moving docs dir in vercel_build.sh isn't great)
Configuration menu - View commit details
-
Copy full SHA for cd4c542 - Browse repository at this point
Copy the full SHA cd4c542View commit details -
langchain[patch]: Update more code to use langchain community as an o…
…ptional dependency (#21170) More code to use langchain community as an optional dependency
Configuration menu - View commit details
-
Copy full SHA for c306364 - Browse repository at this point
Copy the full SHA c306364View commit details -
langchain[patch],community[minor]: Move some unit tests from langchai…
…n to community, use core for fake models (#21190)
Configuration menu - View commit details
-
Copy full SHA for c9119b0 - Browse repository at this point
Copy the full SHA c9119b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5c3a04 - Browse repository at this point
Copy the full SHA b5c3a04View commit details -
langchain[patch],community[minor]: Migrate memory implementations to …
…community (#20845) Migrates memory implementations to community
Configuration menu - View commit details
-
Copy full SHA for 3cd7fce - Browse repository at this point
Copy the full SHA 3cd7fceView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd5d2c2 - Browse repository at this point
Copy the full SHA bd5d2c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for df49404 - Browse repository at this point
Copy the full SHA df49404View commit details -
core[patch]: Fixes for convert_messages (#21207)
- support two-tuples of any sequence type (eg. json.loads never produces tuples) - support type alias for role key - if id is passed in in dict form use it - if tool_calls passed in in dict form use them --------- Co-authored-by: Bagatur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 663747b - Browse repository at this point
Copy the full SHA 663747bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d297d90 - Browse repository at this point
Copy the full SHA d297d90View commit details -
community[patch]: Update lancedb.py (#21192)
very minor update in LanceDB integration, 'metric' argument was missing.
Configuration menu - View commit details
-
Copy full SHA for 7d451d0 - Browse repository at this point
Copy the full SHA 7d451d0View commit details -
docs: Added documentation on Anthropic models on vertex (#21070)
Description:Added documentation on Anthropic models on Vertex @lkuligin for review --------- Co-authored-by: [email protected] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee2c55c - Browse repository at this point
Copy the full SHA ee2c55cView commit details -
infra: Undo gh cache removal (#21210)
Co-authored-by: Nuno Campos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b00fd1d - Browse repository at this point
Copy the full SHA b00fd1dView commit details -
community[patch]: Refactor CassandraDatabase wrapper (#21075)
* Introduce individual `fetch_` methods for easier typing. * Rework some docstrings to google style * Move some logic to the tool * Merge the 2 cassandra utility files
Configuration menu - View commit details
-
Copy full SHA for 683fb45 - Browse repository at this point
Copy the full SHA 683fb45View commit details -
partners(mistralai): Removing unused variable in completion request (…
…using tool_calls or content) (#21201) This PR fixes #21196. The error was occurring when calling chat completion API with a chat history. Indeed, the Mistral API does not accept both `content` and `tool_calls` in the same body. This PR removes one of theses variables depending on the necessity. --------- Co-authored-by: Maxime Perrin <[email protected]> Co-authored-by: Chester Curme <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ebb5a7 - Browse repository at this point
Copy the full SHA 1ebb5a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d77e5e - Browse repository at this point
Copy the full SHA 2d77e5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb0a2fd - Browse repository at this point
Copy the full SHA eb0a2fdView commit details -
langchain: fix syntax error in code comment for create_tool_calling_a…
…gent (#21205) **PR message**: - **Description:** Corrected a syntax error in the code comments within the `create_tool_calling_agent` function in the langchain package. - **Issue:** N/A - **Dependencies:** No additional dependencies required. - **Twitter handle:** N/A
Configuration menu - View commit details
-
Copy full SHA for c1aa237 - Browse repository at this point
Copy the full SHA c1aa237View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa9faa8 - Browse repository at this point
Copy the full SHA aa9faa8View commit details -
openai[patch]: support tool_choice="required" (#21216)
Co-authored-by: ccurme <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ac6158 - Browse repository at this point
Copy the full SHA 6ac6158View commit details -
core: tracer: remove numeric execution order (#21220)
- this hasn't been used in a long time and requires some additional bookkeeping i'm going to streamline in the next pr
Configuration menu - View commit details
-
Copy full SHA for 47ce8d5 - Browse repository at this point
Copy the full SHA 47ce8d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1eb95b - Browse repository at this point
Copy the full SHA c1eb95bView commit details
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 67a5cc3 - Browse repository at this point
Copy the full SHA 67a5cc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70bde15 - Browse repository at this point
Copy the full SHA 70bde15View commit details -
docs: Update Nvidia documentation (#21240)
Updating Nvidia docs ahead for 5/15 competition. Thanks!
Configuration menu - View commit details
-
Copy full SHA for c3d169a - Browse repository at this point
Copy the full SHA c3d169aView commit details -
docs: Fix comment within "handle long text" example (#21248)
The current doc-string comment is referring to the wrong schema.
Configuration menu - View commit details
-
Copy full SHA for 64e17bd - Browse repository at this point
Copy the full SHA 64e17bdView commit details -
Hotfix RetrievalQA Docs: docs: Fix formatting (#21183)
# Newline Characters breaking formatting **Description**: As you can see in the image below, the formatting in the documentation is broken. As far as I can see the two added `\n` characters are breaking the documentation. Therefore I would propose to remove those ![image](https://github.com/langchain-ai/langchain/assets/88305668/23b6e726-71b2-4812-91ea-3e8600683733) **Dependencies**: None **Twitter Handle** - epu9byj --------- Co-authored-by: gere <[email protected]> Co-authored-by: Chester Curme <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a8d1d8 - Browse repository at this point
Copy the full SHA 3a8d1d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fbe82f - Browse repository at this point
Copy the full SHA 2fbe82fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c67e83 - Browse repository at this point
Copy the full SHA 6c67e83View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfa9a7f - Browse repository at this point
Copy the full SHA dfa9a7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d604a65 - Browse repository at this point
Copy the full SHA d604a65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4336929 - Browse repository at this point
Copy the full SHA 4336929View commit details