ccurme
dcba7df2fe
community[patch]: deprecate langchain_community Chroma in favor of langchain_chroma ( #24474 )
2024-07-22 11:00:13 -04:00
Erick Friis
551640a030
templates: remove lockfiles ( #22920 )
...
poetry will default to latest versions without
2024-06-14 21:42:30 +00:00
wangda
28e956735c
docs:Correcting spelling mistakes in readme ( #22664 )
...
Signed-off-by: zhangwangda <zhangwangda94@163.com>
2024-06-10 15:33:41 +00:00
Bagatur
50186da0a1
infra: rm unused # noqa violations ( #22049 )
...
Updating #21137
2024-05-22 15:21:08 -07:00
Erick Friis
d83b720c40
templates: readme langsmith not private beta ( #20173 )
2024-04-12 13:08:10 -07:00
Erick Friis
74b2c0aa01
templates, cli: more security deps ( #19006 )
2024-03-12 20:48:56 -07:00
Erick Friis
49f3cc0f6b
templates: bump lockfile deps ( #19001 )
2024-03-13 01:25:45 +00: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
Erick Friis
64785822dc
templates: bump ( #17074 )
2024-02-05 17:12:12 -08:00
Jonathan Algar
a74f3a4979
Batch update of alt text and title attributes for images in md/mdx files across repo ( #15357 )
...
**Description:** Batch update of alt text and title attributes for
images in `md` & `mdx` files across the repo using
[alttexter](https://github.com/jonathanalgar/alttexter )/[alttexter-ghclient](https://github.com/jonathanalgar/alttexter-ghclient )
(built using LangChain/LangSmith).
**Limitation:** cannot update `ipynb` files because of [this
issue](https://github.com/langchain-ai/langchain/pull/15357#issuecomment-1885037250 ).
Can revisit when Docusaurus is bumped to v3.
I checked all the generated alt texts and titles and didn't find any
technical inaccuracies. That's not to say they're _perfect_, but a lot
better than what's there currently.
[Deployed](https://langchain-819yf1tbk-langchain.vercel.app/docs/modules/model_io/ )
image example:
![chrome_yZQ7BF2GTj](https://github.com/langchain-ai/langchain/assets/93204286/43a9a4d4-70fd-41c4-8978-b6240ff63ffa )
You can see LangSmith traces for all the calls out to the LLM in the PRs
merged into this one:
* https://github.com/jonathanalgar/langchain/pull/6
* https://github.com/jonathanalgar/langchain/pull/4
* https://github.com/jonathanalgar/langchain/pull/3
I didn't add the following files to the PR as the images already have OK
alt texts:
*
27dca2d92f/docs/docs/integrations/providers/argilla.mdx (L3)
*
27dca2d92f/docs/docs/integrations/providers/apify.mdx (L11)
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-01-12 14:37:48 -08:00
Erick Friis
08be477c24
templates: 0.1 bump ( #15648 )
2024-01-06 18:31:46 -08:00
Erick Friis
69a8a26683
templates: fix deps ( #15439 )
2024-01-03 13:28:05 -08:00
Bagatur
fa5d49f2c1
docs, experimental[patch], langchain[patch], community[patch]: update storage imports ( #15429 )
...
ran
```bash
g grep -l "langchain.vectorstores" | xargs -L 1 sed -i '' "s/langchain\.vectorstores/langchain_community.vectorstores/g"
g grep -l "langchain.document_loaders" | xargs -L 1 sed -i '' "s/langchain\.document_loaders/langchain_community.document_loaders/g"
g grep -l "langchain.chat_loaders" | xargs -L 1 sed -i '' "s/langchain\.chat_loaders/langchain_community.chat_loaders/g"
g grep -l "langchain.document_transformers" | xargs -L 1 sed -i '' "s/langchain\.document_transformers/langchain_community.document_transformers/g"
g grep -l "langchain\.graphs" | xargs -L 1 sed -i '' "s/langchain\.graphs/langchain_community.graphs/g"
g grep -l "langchain\.memory\.chat_message_histories" | xargs -L 1 sed -i '' "s/langchain\.memory\.chat_message_histories/langchain_community.chat_message_histories/g"
gco master libs/langchain/tests/unit_tests/*/test_imports.py
gco master libs/langchain/tests/unit_tests/**/test_public_api.py
```
2024-01-02 16:47:11 -05:00
Bagatur
480626dc99
docs, community[patch], experimental[patch], langchain[patch], cli[pa… ( #15412 )
...
…tch]: import models from community
ran
```bash
git grep -l 'from langchain\.chat_models' | xargs -L 1 sed -i '' "s/from\ langchain\.chat_models/from\ langchain_community.chat_models/g"
git grep -l 'from langchain\.llms' | xargs -L 1 sed -i '' "s/from\ langchain\.llms/from\ langchain_community.llms/g"
git grep -l 'from langchain\.embeddings' | xargs -L 1 sed -i '' "s/from\ langchain\.embeddings/from\ langchain_community.embeddings/g"
git checkout master libs/langchain/tests/unit_tests/llms
git checkout master libs/langchain/tests/unit_tests/chat_models
git checkout master libs/langchain/tests/unit_tests/embeddings/test_imports.py
make format
cd libs/langchain; make format
cd ../experimental; make format
cd ../core; make format
```
2024-01-02 15:32:16 -05:00
Bagatur
8e0d5813c2
langchain[patch], experimental[patch]: replace langchain.schema imports ( #15410 )
...
Import from core instead.
Ran:
```bash
git grep -l 'from langchain.schema\.output_parser' | xargs -L 1 sed -i '' "s/from\ langchain\.schema\.output_parser/from\ langchain_core.output_parsers/g"
git grep -l 'from langchain.schema\.messages' | xargs -L 1 sed -i '' "s/from\ langchain\.schema\.messages/from\ langchain_core.messages/g"
git grep -l 'from langchain.schema\.document' | xargs -L 1 sed -i '' "s/from\ langchain\.schema\.document/from\ langchain_core.documents/g"
git grep -l 'from langchain.schema\.runnable' | xargs -L 1 sed -i '' "s/from\ langchain\.schema\.runnable/from\ langchain_core.runnables/g"
git grep -l 'from langchain.schema\.vectorstore' | xargs -L 1 sed -i '' "s/from\ langchain\.schema\.vectorstore/from\ langchain_core.vectorstores/g"
git grep -l 'from langchain.schema\.language_model' | xargs -L 1 sed -i '' "s/from\ langchain\.schema\.language_model/from\ langchain_core.language_models/g"
git grep -l 'from langchain.schema\.embeddings' | xargs -L 1 sed -i '' "s/from\ langchain\.schema\.embeddings/from\ langchain_core.embeddings/g"
git grep -l 'from langchain.schema\.storage' | xargs -L 1 sed -i '' "s/from\ langchain\.schema\.storage/from\ langchain_core.stores/g"
git checkout master libs/langchain/tests/unit_tests/schema/
make format
cd libs/experimental
make format
cd ../langchain
make format
```
2024-01-02 15:09:45 -05:00
Lance Martin
8996d1a65d
Update multi-modal multi-vector template README.md ( #14992 )
2023-12-20 20:07:12 -08:00
Lance Martin
320c3ae4c8
templates: Add Ollama multi-modal templates ( #14868 )
...
Templates for [local multi-modal
LLMs](https://llava-vl.github.io/llava-interactive/ ) using -
* Image summaries
* Multi-modal embeddings
---------
Co-authored-by: Erick Friis <erick@langchain.dev>
2023-12-20 15:28:53 -08:00
Lance Martin
7234335a9a
Template for multi-modal w/ multi-vector ( #14618 )
...
Results -
![image](https://github.com/langchain-ai/langchain/assets/122662504/16bac14d-74d7-47b1-aed0-72ae25a81f39 )
2023-12-13 16:43:14 -08:00