-
Notifications
You must be signed in to change notification settings - Fork 19.9k
Comparing changes
Open a pull request
base repository: langchain-ai/langchain
base: v0.0.307
head repository: langchain-ai/langchain
compare: v0.0.308
- 12 commits
- 26 files changed
- 11 contributors
Commits on Oct 4, 2023
-
GitHubIssuesLoader Custom API URL Support (#11378)
- **Description:** Adds support for custom API URL in the GitHubIssuesLoader. This allows it to be used with Github enterprise instances.
Configuration menu - View commit details
-
Copy full SHA for 939bcec - Browse repository at this point
Copy the full SHA 939bcecView commit details -
Fixed small import typo in react_docstore documentation --------- Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cdf5259 - Browse repository at this point
Copy the full SHA cdf5259View commit details -
Trigger Docker release workflow after new langchain release is made. (#β¦
β¦11290) We want to publish a new Docker image after a new langchain Python package version is published.
Configuration menu - View commit details
-
Copy full SHA for 37f2f71 - Browse repository at this point
Copy the full SHA 37f2f71View commit details -
Feat bedrock cohere support (#11230)
**Description:** Added support for Cohere command model via Bedrock. With this change it is now possible to use the `cohere.command-text-v14` model via Bedrock API. About Streaming: Cohere model outputs 2 additional chunks at the end of the text being generated via streaming: a chunk containing the text `<EOS_TOKEN>`, and a chunk indicating the end of the stream. In this implementation I chose to ignore both chunks. An alternative solution could be to replace `<EOS_TOKEN>` with `\n` Tests: manually tested that the new model work with both `llm.generate()` and `llm.stream()`. Tested with `temperature`, `p` and `stop` parameters. **Issue:** #11181 **Dependencies:** No new dependencies **Tag maintainer:** @baskaryan **Twitter handle:** mangelino --------- Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2f83350 - Browse repository at this point
Copy the full SHA 2f83350View commit details -
Add explanations to GoogleDriveLoader how to avoid errors (#11335)
- **Description:** add a paragraph to the GoogleDriveLoader doc on how to bypass errors on authentication. For some reason, specifying credential path via `credentials_path` constructor parameter when creating `GoogleDriveLoader` makes it so that the oAuth screen is never showing up when first using GoogleDriveLoader. Instead, the `RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'})` error happens. Setting it via `os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = ...` solves the problem. Also, `token_path` constructor parameter is mandatory, otherwise another error happens when trying to `load()` for the first time. These errors are tricky and time-consuming to figure out, so I believe it's good to mention them in the docs. --------- Co-authored-by: Erick Friis <erick@langchain.dev>Configuration menu - View commit details
-
Copy full SHA for 34a6410 - Browse repository at this point
Copy the full SHA 34a6410View commit details -
Anthropic system message fix (#11301)
Removes human prompt prefix before system message for anthropic models Bedrock anthropic api enforces that Human and Assistant messages must be interleaved (cannot have same type twice in a row). We currently treat System Messages as human messages when converting messages -> string prompt. Our validation when using Bedrock/BedrockChat raises an error when this happens. For ChatAnthropic we don't validate this so no error is raised, but perhaps the behavior is still suboptimal
Configuration menu - View commit details
-
Copy full SHA for b499de2 - Browse repository at this point
Copy the full SHA b499de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0893c7 - Browse repository at this point
Copy the full SHA b0893c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88c5349 - Browse repository at this point
Copy the full SHA 88c5349View commit details -
Configuration menu - View commit details
-
Copy full SHA for 106608b - Browse repository at this point
Copy the full SHA 106608bView commit details -
Add _type to json functions output parser (#11381)
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md 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/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
Configuration menu - View commit details
-
Copy full SHA for 0d80226 - Browse repository at this point
Copy the full SHA 0d80226View commit details -
a better error description when GCP project is not set (#11377)
- **Description:** a little bit better error description - **Issue:** #10879
Configuration menu - View commit details
-
Copy full SHA for 4f4e0f3 - Browse repository at this point
Copy the full SHA 4f4e0f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd514c2 - Browse repository at this point
Copy the full SHA dd514c2View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we canβt render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.0.307...v0.0.308