Sydney Runkle
7e926520d5
packaging: remove Python upper bound for langchain and co libs ( #31025 )
...
Follow up to https://github.com/langchain-ai/langsmith-sdk/pull/1696 ,
I've bumped the `langsmith` version where applicable in `uv.lock`.
Type checking problems here because deps have been updated in
`pyproject.toml` and `uv lock` hasn't been run - we should enforce that
in the future - goes with the other dependabot todos :).
2025-04-28 14:44:28 -04:00
Oskar Stark
0d2cea747c
docs: streamline LangSmith teasing ( #30302 )
...
This can only be reviewed by [hiding
whitespaces](https://github.com/langchain-ai/langchain/pull/30302/files?diff=unified&w=1 ).
The motivation behind this PR is to get my hands on the docs and make
the LangSmith teasing short and clear.
Right now I don't know how to do it, but this could be an include in the
future.
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2025-03-28 15:13:22 -04:00
ccurme
22d1a7d7b6
standard-tests[patch]: require model_name in response_metadata if returns_usage_metadata ( #30497 )
...
We are implementing a token-counting callback handler in
`langchain-core` that is intended to work with all chat models
supporting usage metadata. The callback will aggregate usage metadata by
model. This requires responses to include the model name in its
metadata.
To support this, if a model `returns_usage_metadata`, we check that it
includes a string model name in its `response_metadata` in the
`"model_name"` key.
More context: https://github.com/langchain-ai/langchain/pull/30487
2025-03-26 12:20:53 -04:00
ccurme
b09e7c125c
cli: use pytest-watcher ( #30465 )
...
pytest-watch is no longer maintained.
2025-03-24 18:06:31 +00:00
ccurme
3823daa0b9
cli: update integration doc template for tools ( #30188 )
...
Chain example -> langgraph agent
2025-03-09 21:14:43 +00:00
Eugene Yurtsev
894fd63a61
cli: release 0.0.36 ( #30159 )
...
Bump for 0.0.36
2025-03-07 13:05:40 -05:00
ccurme
806211475a
core[patch]: update structured output tracing ( #30123 )
...
- Trace JSON schema in `options`
- Rename to `ls_structured_output_format`
2025-03-07 13:05:25 -05:00
ccurme
924d9b1b33
cli[patch]: fix retriever template ( #29907 )
...
Chat model tabs don't render correctly in .ipynb template.
2025-02-20 17:51:19 +00:00
Erick Friis
6c1e21d128
core: basemessage.text() ( #29078 )
2025-02-18 17:45:44 -08:00
Erick Friis
1a225fad03
multiple: fix uv path deps ( #29790 )
...
file:// format wasn't working with updates - it doesn't install as an
editable dep
move to tool.uv.sources with path= instead
2025-02-13 21:32:34 +00:00
ccurme
3450bfc806
infra: add UV_FROZEN to makefiles ( #29642 )
...
These are set in Github workflows, but forgot to add them to most
makefiles for convenience when developing locally.
`uv run` will automatically sync the lock file. Because many of our
development dependencies are local installs, it will pick up version
changes and update the lock file. Passing `--frozen` or setting this
environment variable disables the behavior.
2025-02-06 14:36:54 -05:00
ccurme
d172984c91
infra: migrate to uv ( #29566 )
2025-02-06 13:36:26 -05:00
Erick Friis
dced0ed3fd
deepseek, docs: chatdeepseek integration added ( #29445 )
2025-01-28 06:32:58 +00:00
ccurme
1bf6576709
cli[patch]: fix anchor links in templates ( #29178 )
...
These are outdated and can break docs builds.
2025-01-13 18:28:18 +00:00
Isaac Francisco
62074bac60
replace all LANGCHAIN_ flags with LANGSMITH_ flags ( #29120 )
2025-01-11 01:24:40 +00:00
Morgante Pell
79fc9b6b04
cli: bump gritql version ( #28981 )
...
**Description:**
bump gritql dependency, to use new binary names from
[here](https://github.com/getgrit/gritql/pull/565 )
**Issue:**
fixes https://github.com/langchain-ai/langchain/issues/27822
2025-01-01 20:02:46 -08:00
Erick Friis
cef21a0b49
cli: warning on app add ( #28619 )
...
instead of #28128
2024-12-09 06:07:14 +00:00
Erick Friis
dd0085a9ff
docs: standard tests to markdown, load templates from files ( #28603 )
2024-12-07 01:37:21 +00:00
ccurme
2c6bc74cb1
multiple: combine sync/async vector store standard test suites ( #28580 )
...
Breaking change in `langchain-tests`.
2024-12-06 14:55:06 -05:00
ccurme
f3dc142d3c
cli[patch]: implement minimal starter vector store ( #28577 )
...
Basically the same as core's in-memory vector store. Removed some
optional methods.
2024-12-06 13:10:22 -05:00
Erick Friis
bc636ccc60
cli: release 0.0.35 ( #28557 )
2024-12-05 16:40:52 -08:00
Erick Friis
7ecf38f4fa
cli: create specific files from template ( #28556 )
2024-12-06 00:32:47 +00:00
Erick Friis
ecff9a01e4
cli: release 0.0.34 ( #28525 )
2024-12-05 15:35:49 +00:00
Erick Friis
43c35d19d4
cli: standard tests in cli, test that they run, skip vectorstore tests ( #28521 )
2024-12-05 00:38:32 -08:00
ccurme
7b9a0d9ed8
docs: update tutorials ( #28219 )
2024-11-26 10:43:12 -05:00
Erick Friis
4ccb3e64c7
cli: release 0.0.33 ( #28278 )
2024-11-21 20:13:37 -08:00
Erick Friis
49254cde70
docs: poetry publish ( #28275 )
2024-11-22 03:10:03 +00:00
William FH
197b885911
[CLI] Relax constraints ( #28218 )
2024-11-19 09:31:56 -08:00
Erick Friis
a073c4c498
templates,docs: leave templates in v0.2 ( #27952 )
...
all template installs will now have to declare `--branch v0.2` to make
clear they aren't compatible with langchain 0.3 (most have a pydantic v1
setup). e.g.
```
langchain-cli app add pirate-speak --branch v0.2
```
2024-11-07 22:23:48 +00:00
Bagatur
ee63d21915
many: use core 0.3.15 ( #27834 )
2024-11-01 20:35:55 +00:00
Erick Friis
7ecd720120
multiple: update docs urls to latest 2 ( #26837 )
2024-09-30 17:37:07 -07:00
Eugene Yurtsev
88891477eb
langchain-cli: release 0.0.31 ( #26533 )
...
langchain-cli 0.0.31 release
2024-09-16 12:57:24 -04:00
Erick Friis
4131be63af
multiple: 0.3.0 not dev version ( #26502 )
2024-09-15 18:26:50 +00:00
Eugene Yurtsev
77ccb4b1cf
cli[patch]: Update the migration script message ( #26490 )
...
Update the migration script message
2024-09-14 14:40:35 -04:00
Erick Friis
c2a3021bb0
multiple: pydantic 2 compatibility, v0.3 ( #26443 )
...
Signed-off-by: ChengZi <chen.zhang@zilliz.com>
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
Co-authored-by: Dan O'Donovan <dan.odonovan@gmail.com>
Co-authored-by: Tom Daniel Grande <tomdgrande@gmail.com>
Co-authored-by: Grande <Tom.Daniel.Grande@statsbygg.no>
Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: ccurme <chester.curme@gmail.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Tomaz Bratanic <bratanic.tomaz@gmail.com>
Co-authored-by: ZhangShenao <15201440436@163.com>
Co-authored-by: Friso H. Kingma <fhkingma@gmail.com>
Co-authored-by: ChengZi <chen.zhang@zilliz.com>
Co-authored-by: Nuno Campos <nuno@langchain.dev>
Co-authored-by: Morgante Pell <morgantep@google.com>
2024-09-13 14:38:45 -07:00
Bagatur
7bf54636ff
make
2024-09-04 10:24:42 -07:00
Bagatur
3ec93c2817
standard-tests[patch]: add Ser/Des test
2024-09-04 10:24:06 -07:00
Christophe Bornet
038c287b3a
all: Improve make lint command ( #25344 )
...
* Removed `ruff check --select I` as `I` is already selected and checked
in the main `ruff check` command
* Added checks for non-empty `PYTHON_FILES`
* Run `ruff check` only on `PYTHON_FILES`
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-23 18:23:52 -07:00
Erick Friis
580fbd9ada
docs: api ref to new site somewheres ( #25679 )
...
```
https://api\.python\.langchain\.com/en/latest/ ([^/]*)/langchain_([^.]*)\.(.*)\.html([^"]*)
https://python.langchain.com/v0.2/api_reference/$2/$1/langchain_$2.$3.html$4
```
---------
Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-08-23 10:01:16 -07:00
ZhangShenao
ba89933c2c
Doc[Embeddings] Add docs for ZhipuAIEmbeddings
( #25662 )
...
- Add docs for `ZhipuAIEmbeddings`.
- Using integration doc template.
- Source api reference: https://bigmodel.cn/dev/api#vector
---------
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-23 01:33:43 +00:00
Erick Friis
9447925d94
cli: release 0.0.30 ( #25672 )
2024-08-22 10:21:19 -07:00
Isaac Francisco
e0bbb81d04
[docs]: standardize tool docstrings ( #25351 )
2024-08-13 16:10:00 -07:00
Erick Friis
d5b548b4ce
docs: index pages, sidebars ( #25316 )
2024-08-13 15:52:51 -07:00
Isaac Francisco
0478f7f5e4
[docs]: LLM integration pages ( #25005 )
2024-08-13 14:50:45 -07:00
Eugene Yurtsev
dadb6f1445
cli[patch]: Update integration template for embedding models ( #25248 )
...
Update integration template for embedding models
2024-08-09 14:28:57 -04:00
ccurme
3b7437d184
docs: update integration api refs ( #25195 )
...
- [x] toolkits
- [x] retrievers (in this repo)
2024-08-09 12:27:32 +00:00
Isaac Francisco
dc7423e88f
[docs]: standardizing document loader integration pages ( #25002 )
2024-08-08 16:33:09 -07:00
Erick Friis
da9281feb2
cli: release 0.0.29 ( #25196 )
2024-08-08 12:52:49 -07:00
Isaac Francisco
11adc09e02
[docs]: change rag reference in vector store pages ( #25125 )
2024-08-08 10:08:14 -07:00
Brace Sproul
d77c7c4236
docs: Fix misspelling of instantiate in docs ( #25107 )
2024-08-07 15:05:06 -07:00