Erick Friis
2ac3a82d85
cli[patch]: new fields in integration template, release 0.0.21 ( #16398 )
2024-01-22 14:26:47 -07:00
William FH
04caf07dee
Make packages optional ( #15727 )
...
So we don't have to instruct people to modify the Dockerfile every time
they delete the packages directory.
See:
https://stackoverflow.com/questions/70096208/dockerfile-copy-folder-if-it-exists-conditional-copy/70096420#70096420
Tested on a new repo
2024-01-08 17:09:21 -08:00
Erick Friis
b1fa726377
docs: langchain-openai ( #15513 )
...
Updates docs and cookbooks to import ChatOpenAI, OpenAI, and OpenAI
Embeddings from `langchain_openai`
There are likely more
---------
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2024-01-06 15:54:48 -08: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
4d48aedea3
cli: 0.0.20 ( #14920 )
2023-12-19 11:56:21 -08:00
Erick Friis
9ef2feb674
cli[patch]: add embedding to integration template ( #14881 )
2023-12-19 09:58:21 -08:00
Erick Friis
c5250f12c2
cli[patch]: unicode issue ( #14672 )
...
Some operating systems compile template, resulting in unicode decode
errors
2023-12-13 11:14:51 -08:00
Erick Friis
858f4cbce4
cli[patch]: rc ( #14667 )
2023-12-13 10:00:04 -08:00
Erick Friis
7e6ca3c2b9
cli[patch]: integration template ( #14571 )
2023-12-13 08:55:30 -08:00
Erick Friis
bfb980b968
CLI 0.0.19 ( #13677 )
2023-11-21 12:34:38 -08:00
jakerachleff
249c796785
update langserve to v0.0.30 ( #13673 )
...
Upgrade langserve template version to 0.0.30 to include new improvements
2023-11-21 11:17:47 -08:00
jakerachleff
c6937a2eb4
fix templates dockerfile ( #13672 )
...
- **Description:** We need to update the Dockerfile for templates to
also copy your README.md. This is because poetry requires that a readme
exists if it is specified in the pyproject.toml
2023-11-21 11:09:55 -08:00
Erick Friis
427331d621
IMPROVEMENT Lock pydantic v1 in app template, cli 0.0.18 ( #13485 )
2023-11-16 15:22:11 -08:00
Erick Friis
75363f048f
BUG Fix app_name in cli app new ( #13482 )
2023-11-16 14:19:35 -08:00
Erick Friis
7c3066f9ec
more cli interactivity, bugfix ( #13360 )
2023-11-14 14:49:43 -08:00
Erick Friis
c0e6045c0b
cli 0.0.17 ( #13359 )
2023-11-14 09:56:18 -08:00
Erick Friis
927824b7cb
CLI interactivity ( #13148 )
...
Will implement more later
2023-11-14 09:53:29 -08:00
Erick Friis
280ecfd8eb
IMPROVEMENT redirect root to docs in langserve app template ( #13303 )
2023-11-13 15:51:41 -08:00
langchain-infra
f55f67055f
Add dockerfile template ( #13240 )
2023-11-13 10:33:01 -05:00
Erick Friis
a9b70baef9
cli updates, 0.0.16 ( #13034 )
...
- confirm flags, serve detection
- 0.0.16
- always gen code
- pip bool
2023-11-08 07:47:30 -08:00
Erick Friis
74134dd7e1
cli pyproject updating ( #12945 )
...
`langchain app add` and `langchain app remove` will now keep the
dependencies list updated.
---------
Co-authored-by: Nuno Campos <nuno@boringbits.io>
2023-11-07 11:06:08 -08:00
Erick Friis
5000c7308e
cli template gitignores ( #12914 )
...
- ap gitignore
- package
2023-11-05 22:34:45 -08: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
7db49d3842
Confirm sys.path includes current dir for app serve ( #12851 )
...
- Make sure sys.path is set properly for langchain app serve
- bump
2023-11-03 11:37:20 -07:00
Erick Friis
1bc35f61cb
CLI 0.0.14, Uvicorn update and no more [serve] ( #12845 )
...
Calls uvicorn directly from cli:
Reload works if you define app by import string instead of object.
(was doing subprocess in order to get reloading)
Version bump to 0.0.14
Remove the need for [serve] for simplicity.
Readmes are updated in #12847 to avoid cluttering this PR
2023-11-03 11:05:52 -07:00
Erick Friis
0da75b9ebd
Autopopulate module name in cli init ( #12814 )
2023-11-02 23:45:38 -07:00
Erick Friis
49e283a0cd
CLI 0.0.13, Configurable Template Demo ( #12796 )
2023-11-02 11:42:57 -07:00
Erick Friis
070823f294
CLI 0.0.12 ( #12787 )
2023-11-02 08:29:27 -07:00
Erick Friis
4421ba46d7
Demo Server, Fix Timescale ( #12746 )
...
- improve demo server
- missing deps
2023-11-01 15:29:34 -07:00
Erick Friis
14340ee7cd
use http.client instead of urllib3 ( #12660 )
...
dep problems with requests
cloudflare debugging not worth it with urllib
2023-11-01 11:15:05 -07:00
Erick Friis
3405dbbc64
dash not underscore ( #12716 )
...
template names are auto-populating with the wrong convention (with
underscores)
2023-11-01 09:48:37 -07:00
Erick Friis
44c8b159b9
properly increment version in cli ( #12685 )
...
Went from 0.0.9 -> 0.0.11 without releasing. Back to 10, then release.
2023-10-31 17:27:43 -07:00
Jacob Lee
bd668fcea1
Adds version CLI command ( #12619 )
...
Will be automatically bumped with `poetry version patch`.
@efriis @hwchase17
---------
Co-authored-by: Erick Friis <erick@langchain.dev>
2023-10-31 14:50:04 -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
Erick Friis
f39246bd7e
cli should pull instead of delete+clone ( #12607 )
...
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-10-30 16:44:09 -07:00
Harrison Chase
8b5e879171
add a template for the package readme ( #12499 )
...
Co-authored-by: Erick Friis <erick@langchain.dev>
2023-10-30 16:39:39 -07:00
Harrison Chase
1d51363e49
change project template ( #12493 )
2023-10-30 14:06:30 -07:00
Harrison Chase
9e0ae56287
various templates improvements ( #12500 )
2023-10-28 22:13:22 -07:00
Erick Friis
9adaa78c65
cli improvements ( #12465 )
...
Features
- add multiple repos by their branch/repo
- generate `pip install` commands and `add_route()` code
![Screenshot 2023-10-27 at 4 49 52
PM](https://github.com/langchain-ai/langchain/assets/9557659/3aec4cbb-3f67-4f04-8370-5b54ea983b2a )
Optimizations:
- group installs by repo/branch to avoid duplicate cloning
2023-10-28 08:25:31 -07:00
Erick Friis
38cee5fae0
cli updates 2 ( #12447 )
...
- extras group
- readme
- another readme
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2023-10-27 13:37:03 -07:00
Erick Friis
6908634428
cli updates oct27 ( #12436 )
2023-10-27 12:06:46 -07:00
David Duong
52c194ec3a
Fix templates typos ( #12428 )
2023-10-27 09:32:57 -07:00
Erick Friis
4db8d82c55
CLI CI 2 ( #12387 )
...
Will run all CI because of _test change, but future PRs against CLI will
only trigger the new CLI one
Has a bunch of file changes related to formatting/linting.
No mypy yet - coming soon
2023-10-26 17:01:31 -07:00
Erick Friis
03e79e62c2
cli fix ( #12380 )
2023-10-26 15:29:49 -07:00
Harrison Chase
b43996e553
Harrison/improve cli ( #12368 )
2023-10-26 13:53:59 -07:00
Harrison Chase
9ce38726a2
fix some stuff ( #12292 )
...
Co-authored-by: Erick Friis <erick@langchain.dev>
2023-10-26 13:30:36 -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
Erick Friis
43257a295c
CLI Git Improvements ( #12311 )
...
- delete repo sources like pip
- git dep fixes
- error messaging
2023-10-25 18:30:02 -07:00
Erick Friis
47070b8314
CLI ( #12284 )
...
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-10-25 11:06:58 -07:00