Erick Friis
d83b720c40
templates: readme langsmith not private beta ( #20173 )
2024-04-12 13:08:10 -07:00
Erick Friis
49f3cc0f6b
templates: bump lockfile deps ( #19001 )
2024-03-13 01:25:45 +00:00
Erick Friis
1317578ad1
templates: use langchain-text-splitters ( #18360 )
...
- deps
- import
- import
2024-03-01 03:00:58 +00:00
Bagatur
5efb5c099f
text-splitters[minor], langchain[minor], community[patch], templates, docs: langchain-text-splitters 0.0.1 ( #18346 )
2024-02-29 18:33:21 -08:00
Erick Friis
ed789be8f4
docs, templates: update schema imports to core ( #17885 )
...
- chat models, messages
- documents
- agentaction/finish
- baseretriever,document
- stroutputparser
- more messages
- basemessage
- format_document
- baseoutputparser
---------
Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-02-22 15:58:44 -08:00
Erick Friis
a53370a060
pinecone[patch], docs: PineconeVectorStore, release 0.0.3 ( #17896 )
2024-02-22 08:24:08 -08:00
Erick Friis
64785822dc
templates: bump ( #17074 )
2024-02-05 17:12:12 -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
Erick Friis
b885880344
templates[patch]: fix pydantic imports ( #14632 )
2023-12-12 15:31:14 -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
Alex Kira
0caef3cde7
Change RunnableMap to RunnableParallel for consistency ( #14142 )
...
- **Description:** Change instances of RunnableMap to RunnableParallel,
as that should be the one used going forward. This makes it consistent
across the codebase.
2023-12-01 13:36:40 -08:00
Erick Friis
96f6b90349
templates[patch]: relock templates ( #14149 )
2023-12-01 13:35:54 -08:00
Erick Friis
78da34153e
TEMPLATES Metadata ( #13691 )
...
Co-authored-by: Lance Martin <lance@langchain.dev>
2023-11-22 01:41:12 -05:00
Erick Friis
9dfad613c2
IMPROVEMENT Allow openai v1 in all templates that require it ( #13489 )
...
- pyproject change
- lockfiles
2023-11-16 17:10:08 -08:00
Erick Friis
db4b97d590
Relock Templates ( #13028 )
2023-11-07 15:01:49 -08:00
Harrison Chase
83cee2cec4
Template Readmes and Standardization ( #12819 )
...
Co-authored-by: Erick Friis <erick@langchain.dev>
2023-11-03 13:15:29 -07:00
Erick Friis
6c237716c4
Update readmes with new cli install ( #12847 )
...
Old command still works. Just simplifying.
Merge after releasing CLI 0.0.15
2023-11-03 12:10:32 -07:00
Erick Friis
ab5309f6f2
template updates ( #12736 )
...
- langchain license
- add timescale vector dep to that template
2023-11-01 13:53:26 -07:00
Erick Friis
2a7e0a27cb
update lc version ( #12655 )
...
also updated py version in `csv-agent` and `rag-codellama-fireworks`
because they have stricter python requirements
2023-10-31 10:19:15 -07:00
Erick Friis
a1fae1fddd
Readme rewrite ( #12615 )
...
Co-authored-by: Lance Martin <lance@langchain.dev>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-10-31 00:06:02 -07:00
David Duong
b5c17ff188
Force List[Tuple[str,str]] to chat history widget ( #12530 )
...
Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-10-30 15:19:32 -07:00
David Duong
d39b4b61b6
Batch apply poetry lock --no-update
for all templates ( #12531 )
...
Ran the following bash script for all templates
```bash
#!/bin/bash
set -e
current_dir="$(pwd)"
for directory in */; do
if [ -d "$directory" ]; then
(cd "$directory" && poetry lock --no-update)
fi
done
cd "$current_dir"
```
Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-10-30 15:18:53 -07:00
Bagatur
2424fff3f1
notebook fmt ( #12498 )
2023-10-29 15:50:09 -07:00
Harrison Chase
9e0ae56287
various templates improvements ( #12500 )
2023-10-28 22:13:22 -07:00
Lance Martin
d6acb3ed7e
Clean-up template READMEs ( #12403 )
...
Normalize, and update notebooks.
2023-10-26 22:23:03 -07:00
Erick Friis
4b16601d33
Format Templates ( #12396 )
2023-10-26 19:44:30 -07:00
Lance Martin
bc6f6e968e
Add template for Pinecone + Multi-Query ( #12353 )
2023-10-26 10:12:23 -07:00
Jacob Lee
28c39503eb
Allow index name customization via env var in rag-conversation ( #12315 )
2023-10-25 22:11:13 -07:00
Erick Friis
ebf998acb6
Templates ( #12294 )
...
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Lance Martin <lance@langchain.dev>
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
2023-10-25 18:47:42 -07:00