-
Notifications
You must be signed in to change notification settings - Fork 15.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Thank you for contributing to LangChain! Please title your PR "<package>: <description>", where <package> is whichever of langchain, community, core, experimental, etc. is being modified. 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, - **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` from the root of the package you've modified to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://python.langchain.com/docs/contributing/ 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/docs/integrations` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> --------- Co-authored-by: Harrison Chase <[email protected]>
- Loading branch information
Showing
7 changed files
with
106 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# langchain-core | ||
|
||
## 0.1.7 (Jan 5, 2024) | ||
|
||
#### Deleted | ||
|
||
No deletions. | ||
|
||
#### Deprecated | ||
|
||
- `BaseChatModel` methods `__call__`, `call_as_llm`, `predict`, `predict_messages`. Will be removed in 0.2.0. Use `BaseChatModel.invoke` instead. | ||
- `BaseChatModel` methods `apredict`, `apredict_messages`. Will be removed in 0.2.0. Use `BaseChatModel.ainvoke` instead. | ||
- `BaseLLM` methods `__call__, `predict`, `predict_messages`. Will be removed in 0.2.0. Use `BaseLLM.invoke` instead. | ||
- `BaseLLM` methods `apredict`, `apredict_messages`. Will be removed in 0.2.0. Use `BaseLLM.ainvoke` instead. | ||
|
||
#### Fixed | ||
|
||
- Restrict recursive URL scraping: [#15559](https://github.com/langchain-ai/langchain/pull/15559) | ||
|
||
#### Added | ||
|
||
No additions. | ||
|
||
#### Beta | ||
|
||
- Marked `langchain_core.load.load` and `langchain_core.load.loads` as beta. | ||
- Marked `langchain_core.beta.runnables.context.ContextGet` and `langchain_core.beta.runnables.context.ContextSet` as beta. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# langchain | ||
|
||
## 0.1.0 (Jan 5, 2024) | ||
|
||
#### Deleted | ||
|
||
No deletions. | ||
|
||
#### Deprecated | ||
|
||
Deprecated classes and methods will be removed in 0.2.0 | ||
|
||
| Deprecated | Alternative | Reason | | ||
|---------------------------------|-----------------------------------|------------------------------------------------| | ||
| ChatVectorDBChain | ConversationalRetrievalChain | More general to all retrievers | | ||
| create_ernie_fn_chain | create_ernie_fn_runnable | Use LCEL under the hood | | ||
| created_structured_output_chain | create_structured_output_runnable | Use LCEL under the hood | | ||
| NatBotChain | | Not used | | ||
| create_openai_fn_chain | create_openai_fn_runnable | Use LCEL under the hood | | ||
| create_structured_output_chain | create_structured_output_runnable | Use LCEL under the hood | | ||
| load_query_constructor_chain | load_query_constructor_runnable | Use LCEL under the hood | | ||
| VectorDBQA | RetrievalQA | More general to all retrievers | | ||
| Sequential Chain | LCEL | Obviated by LCEL | | ||
| SimpleSequentialChain | LCEL | Obviated by LCEL | | ||
| TransformChain | LCEL/RunnableLambda | Obviated by LCEL | | ||
| create_tagging_chain | create_structured_output_runnable | Use LCEL under the hood | | ||
| ChatAgent | create_react_agent | Use LCEL builder over a class | | ||
| ConversationalAgent | create_react_agent | Use LCEL builder over a class | | ||
| ConversationalChatAgent | create_json_chat_agent | Use LCEL builder over a class | | ||
| initialize_agent | Individual create agent methods | Individual create agent methods are more clear | | ||
| ZeroShotAgent | create_react_agent | Use LCEL builder over a class | | ||
| OpenAIFunctionsAgent | create_openai_functions_agent | Use LCEL builder over a class | | ||
| OpenAIMultiFunctionsAgent | create_openai_tools_agent | Use LCEL builder over a class | | ||
| SelfAskWithSearchAgent | create_self_ask_with_search | Use LCEL builder over a class | | ||
| StructuredChatAgent | create_structured_chat_agent | Use LCEL builder over a class | | ||
| XMLAgent | create_xml_agent | Use LCEL builder over a class | |
This file was deleted.
Oops, something went wrong.
29 changes: 17 additions & 12 deletions
29
docs/docs/contributing/packages.mdx → docs/docs/packages.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters