Commit Graph

68 Commits (f1313339ac6f45bcf0afcf572d372c7e3660c0af)

Author SHA1 Message Date
Eugene Yurtsev 727d5023ce
core[patch]: Use defusedxml in XMLOutputParser (#19526)
This mitigates a security concern for users still using older versions of libexpat that causes an attacker to compromise the availability of the system if an attacker manages to surface malicious payload to this XMLParser.
6 months ago
Bagatur 5d220975fc
core[patch]: Release 0.1.33 (#19348) 6 months ago
Leonid Kuligin 366ba77459
core[minor]: moved fake llms and embeddings to core (#19226)
- [ ] **PR title**: "core: moved fake llms and embeddings to core"


- [ ] **PR message**:
 - **Description:** moved fake llms and embeddings to core"
6 months ago
Erick Friis 781aee0068
community, langchain, infra: revert store extended test deps outside of poetry (#19153)
Reverts langchain-ai/langchain#18995

Because it makes installing dependencies in python 3.11 extended testing
take 80 minutes
6 months ago
Erick Friis 9e569d85a4
community, langchain, infra: store extended test deps outside of poetry (#18995)
poetry can't reliably handle resolving the number of optional "extended
test" dependencies we have. If we instead just rely on pip to install
extended test deps in CI, this isn't an issue.
6 months ago
Bagatur 191ddbc77e
core[patch]: rc release 0.1.33-rc.1 (#19103) 6 months ago
Bagatur 573f48e34d
core[patch]: Release 0.1.32 (#19088) 6 months ago
Erick Friis 4881bb669c
core[patch]: release 0.1.31 (#18989) 6 months ago
Eugene Yurtsev 8c71f92cb2
core: upgrade mypy to recent mypy (#18753)
Testing this works per package on CI
6 months ago
Erick Friis c09b520ce4
core[patch]: release 0.1.30 (#18706) 6 months ago
Christophe Bornet ea141511d8
core: Move document loader interfaces to core (#17723)
This is needed to be able to move document loaders to partner packages.

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
7 months ago
Erick Friis e1924b3e93
core[patch]: deprecate hwchase17/langchain-hub, address path traversal (#18600)
Deprecates the old langchain-hub repository. Does *not* deprecate the
new https://smith.langchain.com/hub

@PinkDraconian has correctly raised that in the event someone is loading
unsanitized user input into the `try_load_from_hub` function, they have
the ability to load files from other locations in github than the
hwchase17/langchain-hub repository.

This PR adds some more path checking to that function and deprecates the
functionality in favor of the hub built into LangSmith.
7 months ago
Bagatur dd07eddf24
core[patch]: Release 0.1.29 (#18530) 7 months ago
Bagatur 9e46535ebc
core[patch]: Release 0.1.28 (#18341) 7 months ago
Bagatur 7e66d964c6
core[patch]: Release 0.1.27 (#18159) 7 months ago
Bagatur e045655657
core[patch]: Release 0.1.26 (#17990) 7 months ago
Bagatur 4e28888d45
core[patch]: Release 0.1.25 (#17833) 7 months ago
Nuno Campos 07ee41d284
Cache calls to create_model for get_input_schema and get_output_schema (#17755)
Thank you for contributing to LangChain!

- [ ] **PR title**: "package: description"
- Where "package" is whichever of langchain, community, core,
experimental, etc. is being modified. Use "docs: ..." for purely docs
changes, "templates: ..." for template changes, "infra: ..." for CI
changes.
  - Example: "community: add foobar LLM"


- [ ] **PR message**: ***Delete this entire checklist*** and replace
with
    - **Description:** a description of the change
    - **Issue:** the issue # it fixes, if applicable
    - **Dependencies:** any dependencies required for this change
- **Twitter handle:** if your PR gets announced, and you'd like a
mention, we'll gladly shout you out!


- [ ] **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.


- [ ] **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.
7 months ago
Bagatur 8009be862e
core[patch]: Release 0.1.24 (#17744) 7 months ago
William FH 64743dea14
core[patch], community[patch], langchain[patch], experimental[patch], robocorp[patch]: bump LangSmith 0.1.* (#17567) 7 months ago
Bagatur 89b765ec27
core[patch]: Release 0.1.23 (#17479) 7 months ago
Erick Friis 3a2eb6e12b
infra: add print rule to ruff (#16221)
Added noqa for existing prints. Can slowly remove / will prevent more
being intro'd
7 months ago
Charlie Marsh 24c0bab57b
infra, multiple: Upgrade configuration for Ruff v0.2.0 (#16905)
## Summary

This PR upgrades LangChain's Ruff configuration in preparation for
Ruff's v0.2.0 release. (The changes are compatible with Ruff v0.1.5,
which LangChain uses today.) Specifically, we're now warning when
linter-only options are specified under `[tool.ruff]` instead of
`[tool.ruff.lint]`.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
Co-authored-by: Bagatur <baskaryan@gmail.com>
7 months ago
Bagatur 7fa4dc593f
core[patch]: Release 0.1.22 (#17274) 7 months ago
Bagatur 00757567ba
core[patch]: Release 0.1.21 (#17202) 7 months ago
Bagatur 78409634fe
core[patch]: Release 0.1.20 (#17194) 7 months ago
Nuno Campos 65798289a4
core[minor]: Use batched tracing in sdk (#16305)
Remove threadpool executor usage in langchain tracer, this is now
handled by sdk
7 months ago
Bagatur cd945e3a5b
core[patch]: Release 0.1.19 (#17117) 7 months ago
Bagatur bb73251146
core[patch]: Release 0.1.18 (#16870) 8 months ago
Bagatur 7237dc67d4
core[patch]: Release 0.1.17 (#16737) 8 months ago
Bagatur 1e3ce338ca
core[patch]: Release 0.1.16 (#16589) 8 months ago
Bagatur ef6a335570
core[patch]: Release 0.1.15 (#16473) 8 months ago
Erick Friis cfe95ab085
multiple: update langsmith dep (#16407) 8 months ago
Bagatur 9cf0f5eb78
core[patch]: Release 0.1.14 (#16382) 8 months ago
Bagatur e3828bee43
core[patch]: Release 0.1.13 (#16287) 8 months ago
SN f175bf7d7b
Use env for revision id if not passed in as param; use `git describe` as backup (#16227)
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com>
8 months ago
Bagatur 7ad9eba8f4
core[patch]: Release 0.1.12 (#16161) 8 months ago
Bagatur 5c73fd5bba
core[patch]: support old core namespaces (#16155) 8 months ago
Bagatur 076593382a
core[patch]: Release 0.1.11 (#16100) 8 months ago
Erick Friis 437cebc955
core[patch]: release 0.1.10 (#15911) 8 months ago
Erick Friis 33dccf0f66
core[patch]: release 0.1.9 (#15794) 8 months ago
Bagatur 60f925d678
core[patch]: Release 0.1.8 (#15677) 8 months ago
Bagatur 96b47e18e0
core[patch]: Release 0.1.7 (#15610) 9 months ago
Bagatur 817b84de9e
core[patch]: Release 0.1.6 (#15547) 9 months ago
Bagatur b317ad2472
core[patch]: Release 0.1.5 (#15480) 9 months ago
Bagatur 80ceed6da5
core[patch]: Release 0.1.4 (#15319) 9 months ago
Nuno Campos 7d5800ee51
Add Runnable.get_graph() to get a graph representation of a Runnable (#15040)
It can be drawn in ascii with Runnable.get_graph().draw()
9 months ago
Bagatur 7eb1100925
core[patch]: Release 0.1.3 (#15022) 9 months ago
Bagatur a841f62791
core[patch]: 0.1.2 (#14959) 9 months ago
Bagatur b802dd96f2
core[patch]: Release 0.1.1 (#14738) 9 months ago