Commit Graph

6438 Commits

Author SHA1 Message Date
William Fu-Hinthorn
e6955ea790 update readme 2023-12-11 13:29:35 -08:00
William Fu-Hinthorn
f6dd8afd1f rename 2023-12-11 13:28:34 -08:00
William Fu-Hinthorn
aae252b18b update 2023-12-11 13:27:05 -08:00
William Fu-Hinthorn
e4ffb17d7b mege 2023-12-11 12:58:59 -08:00
William Fu-Hinthorn
08ff74ea0b Update README 2023-12-11 12:56:27 -08:00
William Fu-Hinthorn
48bd4ce514 Merge branch 'bagatur/community_no_openai' into wfh/add_oai_agent_core_examples 2023-12-11 12:28:38 -08:00
William Fu-Hinthorn
1dbcdd61b9 Add core template 2023-12-11 12:20:51 -08:00
Harrison Chase
ce05b130b8 Harrison/bug fix (#14547)
Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-12-11 10:13:15 -08:00
Harrison Chase
bfcd705726 Harrison/docs update comm (#14498) 2023-12-11 09:25:24 -08:00
Eugene Yurtsev
c0f4b95aa9 RunnableWithMessageHistory: Fix input schema (#14516)
Input schema should not have history key
2023-12-10 23:33:02 -05:00
Bagatur
a76cb8966f langchain 0.0.349-rc.2 2023-12-08 18:32:22 -08:00
Bagatur
40a558e17d community 0.0.1-rc.2 2023-12-08 18:25:40 -08:00
Bagatur
873722fb31 core 0.0.13-rc.2 2023-12-08 18:14:37 -08:00
Bagatur
54e5ce5a60 fix 2023-12-08 18:09:30 -08:00
Bagatur
4b7e9a282f fix 2023-12-08 18:05:33 -08:00
Bagatur
62559b1656 poetry 2023-12-08 17:58:11 -08:00
Bagatur
891f7d6aa3 redo 2023-12-08 17:56:41 -08:00
Bagatur
0bc2007e9d Merge branch 'bagatur/community_no_openai' of github.com:langchain-ai/langchain into bagatur/community_no_openai 2023-12-08 17:53:48 -08:00
Bagatur
690aeb9e99 more 2023-12-08 17:53:42 -08:00
Leonid Ganeline
d9bfdc95ea docs[patch]: google platform page update (#14475)
Added missed tools

---------

Co-authored-by: Erick Friis <erickfriis@gmail.com>
v0.0.349-rc.2
2023-12-08 17:40:44 -08:00
Leonid Ganeline
2fa81739b6 docs[patch]: microsoft platform page update (#14476)
Added `presidio` and `OneNote` references to `microsoft.mdx`; added link
and description to the `presidio` notebook

---------

Co-authored-by: Erick Friis <erickfriis@gmail.com>
2023-12-08 17:40:30 -08:00
Yelin Zhang
84a57f5350 docs[patch]: add missing imports for local_llms (#14453)
<!-- Thank you for contributing to LangChain!

Replace this entire comment with:
  - **Description:** a description of the change, 
  - **Issue:** the issue # it fixes (if applicable),
  - **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the relevant
maintainer (see below),
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!

Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` to check this
locally.

See contribution guidelines for more information on how to write/run
tests, lint, etc:

https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md

If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in `docs/extras`
directory.

If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->
Keeping it consistent with everywhere else in the docs and adding the
missing imports to be able to copy paste and run the code example.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2023-12-08 17:23:29 -08:00
Erick Friis
1fbc29cc1a fix optional deps 2023-12-08 17:19:18 -08:00
Bagatur
982bcc64c6 nit 2023-12-08 16:50:35 -08:00
Harrison Chase
d9ef51176e cr 2023-12-08 16:44:20 -08:00
Harrison Chase
9c1b4335a3 cr 2023-12-08 16:38:54 -08:00
Bagatur
81c3d773ff merge 2023-12-08 16:31:41 -08:00
Harrison Chase
f5befe3b89 manual mapping (#14422) 2023-12-08 16:29:33 -08:00
Bagatur
9102ab5158 snapshot 2023-12-08 16:27:57 -08:00
Erick Friis
c24f277b7c langchain[patch], docs[patch]: use byte store in multivectorretriever (#14474) 2023-12-08 16:26:11 -08:00
Bagatur
e3ed09b7d2 poetry 2023-12-08 16:21:52 -08:00
Bagatur
b4bd07da51 nit 2023-12-08 16:10:17 -08:00
Bagatur
74d2503e18 add 2023-12-08 16:07:04 -08:00
Bagatur
41246cafe0 retrievers 2023-12-08 15:56:36 -08:00
Leonid Ganeline
1ef13661b9 docs[patch]: link and description cleanup (#14471)
Fixed inconsistencies; added links and descriptions

---------

Co-authored-by: Erick Friis <erickfriis@gmail.com>
2023-12-08 15:24:38 -08:00
Lance Martin
6fbfc375b9 Update README and vectorstore path for multi-modal template (#14473) 2023-12-08 15:24:05 -08:00
Bagatur
1c7ecef687 langchain 0.0.349-rc.1 2023-12-08 14:33:40 -08:00
Bagatur
121d184905 readme 2023-12-08 14:22:51 -08:00
Anish Nag
6da0cfea0e experimental[patch]: SmartLLMChain Output Key Customization (#14466)
**Description**
The `SmartLLMChain` was was fixed to output key "resolution".
Unfortunately, this prevents the ability to use multiple `SmartLLMChain`
in a `SequentialChain` because of colliding output keys. This change
simply gives the option the customize the output key to allow for
sequential chaining. The default behavior is the same as the current
behavior.

Now, it's possible to do the following:
```
from langchain.chat_models import ChatOpenAI
from langchain.prompts import PromptTemplate
from langchain_experimental.smart_llm import SmartLLMChain
from langchain.chains import SequentialChain

joke_prompt = PromptTemplate(
    input_variables=["content"],
    template="Tell me a joke about {content}.",
)
review_prompt = PromptTemplate(
    input_variables=["scale", "joke"],
    template="Rate the following joke from 1 to {scale}: {joke}"
)

llm = ChatOpenAI(temperature=0.9, model_name="gpt-4-32k")
joke_chain = SmartLLMChain(llm=llm, prompt=joke_prompt, output_key="joke")
review_chain = SmartLLMChain(llm=llm, prompt=review_prompt, output_key="review")

chain = SequentialChain(
    chains=[joke_chain, review_chain],
    input_variables=["content", "scale"],
    output_variables=["review"],
    verbose=True
)
response = chain.run({"content": "chickens", "scale": "10"})
print(response)
```

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
v0.0.349-rc.1
2023-12-08 13:55:51 -08:00
Leonid Ganeline
0797358c1b docs networkxupdate (#14426)
Added setting up instruction, package description and link
2023-12-08 13:39:50 -08:00
Bagatur
300305e5e5 infra: add langchain-community release workflow (#14469) 2023-12-08 13:31:15 -08:00
Bagatur
7b17c5a2c9 dispatch 2023-12-08 13:28:35 -08:00
Bagatur
f9c2173203 community 0.0.1-rc.1 2023-12-08 13:26:04 -08:00
Ben Flast
b32fcb550d Update mongodb_atlas docs for GA (#14425)
Updated the MongoDB Atlas Vector Search docs to indicate the service is
Generally Available, updated the example to use the new index
definition, and added an example that uses metadata pre-filtering for
semantic search

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-12-08 13:23:01 -08:00
Bagatur
238ba4e1eb test release check 2023-12-08 13:18:49 -08:00
Bagatur
0aae002ada release check 2023-12-08 13:14:58 -08:00
Bagatur
d1f047d2a0 core 0.0.13rc1 2023-12-08 13:11:26 -08:00
Bagatur
e8920aebb2 serialization 2023-12-08 11:50:45 -08:00
Bagatur
9cbeec5bfb y 2023-12-08 11:46:59 -08:00
Bagatur
af9129b185 x 2023-12-08 11:45:57 -08:00