Erick Friis
c9ec8c5d07
docs: dont rewrite ipynb links that have double slash (v0.1) ( #21776 )
2024-05-16 13:26:09 -07:00
Erick Friis
4ea6f882d4
infra: remove prints from notebook build (v0.1) ( #21689 )
2024-05-14 16:27:44 -07:00
Erick Friis
03bd0f51c9
docs: ignore nb echo:false blocks (v0.1) ( #21642 )
2024-05-14 00:22:53 +00:00
Erick Friis
893f06b5de
infra: rewrite ipynb links to md ( #21392 )
2024-05-07 23:16:52 +00:00
Erick Friis
d5bde4fa91
infra: use nbconvert for docs build ( #21135 )
...
todo
- [x] remove quarto build semantics
- [x] remove quarto download/install
- [x] make `uv` not verbose
2024-05-07 12:30:17 -07:00
Erick Friis
aa9faa8512
docs: model table keywords, remove tool calling from llm ( #21225 )
2024-05-02 21:04:29 +00:00
Erick Friis
cd4c54282a
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)
2024-05-01 17:34:05 -07:00
Bagatur
6d3e9eaf84
docs: format ( #21132 )
2024-04-30 23:32:41 +00:00
ccurme
6986e44959
docs: update chat model feature table ( #20899 )
2024-04-25 15:05:43 -04:00
Bagatur
be51cd3bc9
docs: fix api ref link autogeneration ( #20766 )
2024-04-22 17:36:41 -07:00
Bagatur
2a11a30572
docs: automatically add api ref links ( #20755 )
...

2024-04-22 14:05:29 -07:00
Bagatur
c05c379b26
docs: add structred output to feat table ( #20539 )
2024-04-16 19:14:26 -07:00
Eugene Yurtsev
de938a4451
docs: Update chat model providers include package information ( #20336 )
...
Include package information
2024-04-11 13:29:42 -04:00
Bagatur
56fe4ab382
docs: update tool-calling table ( #20338 )
2024-04-11 09:50:20 -07:00
Eugene Yurtsev
0e74fb4ec1
docs: Update list of chat models tool calling providers ( #20330 )
...
Will follow up with a few missing providers
2024-04-11 12:22:49 -04:00
ccurme
0dbd5f5012
add script to check imports ( #19611 )
2024-03-29 13:30:20 -04:00
Brace Sproul
17c62e0f3a
ci[minor]: Bump LC scripts package, add retry option ( #19285 )
...
The `retryFailed` option will retry all failed links, once at a time
with the goal of not triggering bot protection
`microsoft.com` is now hard coded into the whitelist
2024-03-19 10:42:59 -07:00
Brace Sproul
98cd8f673b
docs[minor]ci[minor]: Add script & CI to check recurring links daily ( #19100 )
2024-03-14 17:42:22 -07:00
Bagatur
34284c25d4
docs: turn on link check ( #18924 )
2024-03-11 10:50:39 -07:00
Erick Friis
3a2eb6e12b
infra: add print rule to ruff ( #16221 )
...
Added noqa for existing prints. Can slowly remove / will prevent more
being intro'd
2024-02-09 16:13:30 -08:00
MING KANG
c3624b416d
docs: fix llm/chat_model tables ( #15716 )
...
- **Description:** This PR aims to fix the documentation for
langchain-commnuity.
- **Issue:** The table In this page :
[https://python.langchain.com/docs/integrations/llms/ ](https://urldefense.com/v3/__https://python.langchain.com/docs/integrations/llms/__;!!ACWV5N9M2RV99hQ!Jqw8gWnQrL1H6blPiGN10jrh1TDAzqGcKAaTAZv7TBy1X_m-03E7T-alOrWY5_71R8QUdONvF2wMRK54D50$ )
is built based on old module. The proposed fix is to modify the import
from langchain-commnuity.
- **Dependencies:** N/A
- **Twitter handle:** N/A
2024-01-08 11:40:35 -08:00
Bagatur
9ffca3b92a
docs[patch], templates[patch]: Import from core ( #14575 )
...
Update imports to use core for the low-hanging fruit changes. Ran
following
```bash
git grep -l 'langchain.schema.runnable' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.runnable/langchain_core.runnables/g'
git grep -l 'langchain.schema.output_parser' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.output_parser/langchain_core.output_parsers/g'
git grep -l 'langchain.schema.messages' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.messages/langchain_core.messages/g'
git grep -l 'langchain.schema.chat_histry' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.chat_history/langchain_core.chat_history/g'
git grep -l 'langchain.schema.prompt_template' {docs,templates,cookbook} | xargs sed -i '' 's/langchain\.schema\.prompt_template/langchain_core.prompts/g'
git grep -l 'from langchain.pydantic_v1' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.pydantic_v1/from langchain_core.pydantic_v1/g'
git grep -l 'from langchain.tools.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.tools\.base/from langchain_core.tools/g'
git grep -l 'from langchain.chat_models.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.chat_models.base/from langchain_core.language_models.chat_models/g'
git grep -l 'from langchain.llms.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.llms\.base\ /from langchain_core.language_models.llms\ /g'
git grep -l 'from langchain.embeddings.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.embeddings\.base/from langchain_core.embeddings/g'
git grep -l 'from langchain.vectorstores.base' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.vectorstores\.base/from langchain_core.vectorstores/g'
git grep -l 'from langchain.agents.tools' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.agents\.tools/from langchain_core.tools/g'
git grep -l 'from langchain.schema.output' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.output\ /from langchain_core.outputs\ /g'
git grep -l 'from langchain.schema.embeddings' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.embeddings/from langchain_core.embeddings/g'
git grep -l 'from langchain.schema.document' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.document/from langchain_core.documents/g'
git grep -l 'from langchain.schema.agent' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.agent/from langchain_core.agents/g'
git grep -l 'from langchain.schema.prompt ' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.prompt\ /from langchain_core.prompt_values /g'
git grep -l 'from langchain.schema.language_model' {docs,templates,cookbook} | xargs sed -i '' 's/from langchain\.schema\.language_model/from langchain_core.language_models/g'
```
2023-12-11 16:49:10 -08:00
Bagatur
3596be5210
DOCS: format notebooks ( #13371 )
2023-11-14 14:17:44 -08:00
Predrag Gruevski
2ebd167dba
Lint Python notebooks with ruff. ( #12677 )
...
The new ruff version fixed the blocking bugs, and I was able to fairly
easily us to a passing state: ruff fixed some issues on its own, I fixed
a handful by hand, and I added a list of narrowly-targeted exclusions
for files that are currently failing ruff rules that we probably should
look into eventually.
I went pretty lenient on the docs / cookbooks rules, allowing dead code
and such things. Perhaps in the future we may want to tighten the rules
further, but this is already a good set of checks that found real issues
and will prevent them going forward.
2023-11-14 15:58:22 -05:00
Bagatur
dd7959f4ac
template readme's in docs ( #13152 )
2023-11-09 23:36:21 -08:00
Bagatur
850336bcf1
Update model i/o docs ( #13160 )
2023-11-09 20:35:55 -08:00
Bagatur
2424fff3f1
notebook fmt ( #12498 )
2023-10-29 15:50:09 -07:00
Leonid Ganeline
869a49a0ab
removed CardLists for LLMs and ChatModels ( #12307 )
...
Problem statement:
In the `integrations/llms` and `integrations/chat` pages, we have a
sidebar with ToC, and we also have a ToC at the end of the page.
The ToC at the end of the page is not necessary, and it is confusing
when we mix the index page styles; moreover, it requires manual work.
So, I removed ToC at the end of the page (it was discussed with and
approved by @baskaryan)
2023-10-25 19:13:44 -07:00
Bagatur
eedfddac2d
Restructure docs ( #11620 )
2023-10-10 12:55:19 -07:00
Bagatur
88ab69c288
mv docs extras ( #11399 )
2023-10-06 10:09:41 -07:00