Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
docs[patch]: Adds links to deprecations page (langchain-ai#22514)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Jun 4, 2024
1 parent 91fed3a commit 1e748a6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/docs/how_to/sequence.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"source": [
"---\n",
"keywords: [Runnable, Runnables, LCEL, chain, chains, chaining]\n",
"keywords: [Runnable, Runnables, RunnableSequence, LCEL, chain, chains, chaining]\n",
"---"
]
},
Expand Down
24 changes: 12 additions & 12 deletions docs/docs/versions/v0_2/deprecations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ Deprecated: 0.1.0
Removal: 0.3.0


Alternative: Use new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc.
Alternative: Use [LangGraph](/docs/how_to/migrate_agent/) or new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc.


#### Chain.__call__
Expand Down Expand Up @@ -566,7 +566,7 @@ Deprecated: 0.1.17
Removal: 0.3.0


Alternative: RunnableSequence, e.g., `prompt | llm`
Alternative: [RunnableSequence](/docs/how_to/sequence/), e.g., `prompt | llm`


#### LLMSingleActionAgent
Expand All @@ -577,7 +577,7 @@ Deprecated: 0.1.0
Removal: 0.3.0


Alternative: Use new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc.
Alternative: Use [LangGraph](/docs/how_to/migrate_agent/) or new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc.


#### Agent
Expand All @@ -588,7 +588,7 @@ Deprecated: 0.1.0
Removal: 0.3.0


Alternative: Use new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc.
Alternative: Use [LangGraph](/docs/how_to/migrate_agent/) or new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc.


#### OpenAIFunctionsAgent
Expand Down Expand Up @@ -753,7 +753,7 @@ Deprecated: 0.1.17
Removal: 0.3.0


Alternative: create_retrieval_chain
Alternative: [create_retrieval_chain](https://api.python.langchain.com/en/latest/chains/langchain.chains.retrieval.create_retrieval_chain.html#langchain-chains-retrieval-create-retrieval-chain)


#### load_agent_from_config
Expand Down Expand Up @@ -786,7 +786,7 @@ Deprecated: 0.1.0
Removal: 0.3.0


Alternative: Use new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc.
Alternative: Use [LangGraph](/docs/how_to/migrate_agent/) or new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc.


#### XMLAgent
Expand Down Expand Up @@ -819,7 +819,7 @@ Deprecated: 0.1.17
Removal: 0.3.0


Alternative: create_history_aware_retriever together with create_retrieval_chain (see example in docstring)
Alternative: [create_history_aware_retriever](https://api.python.langchain.com/en/latest/chains/langchain.chains.history_aware_retriever.create_history_aware_retriever.html) together with [create_retrieval_chain](https://api.python.langchain.com/en/latest/chains/langchain.chains.retrieval.create_retrieval_chain.html#langchain-chains-retrieval-create-retrieval-chain) (see example in docstring)


#### create_extraction_chain_pydantic
Expand All @@ -830,7 +830,7 @@ Deprecated: 0.1.14
Removal: 0.3.0


Alternative: with_structured_output method on chat models that support tool calling.
Alternative: [with_structured_output](/docs/how_to/structured_output/#the-with_structured_output-method) method on chat models that support tool calling.


#### create_openai_fn_runnable
Expand All @@ -841,7 +841,7 @@ Deprecated: 0.1.14
Removal: 0.3.0


Alternative: with_structured_output method on chat models that support tool calling.
Alternative: [with_structured_output](/docs/how_to/structured_output/#the-with_structured_output-method) method on chat models that support tool calling.


#### create_structured_output_runnable
Expand All @@ -852,7 +852,7 @@ Deprecated: 0.1.17
Removal: 0.3.0


Alternative: with_structured_output method on chat models that support tool calling.
Alternative: [with_structured_output](/docs/how_to/structured_output/#the-with_structured_output-method) method on chat models that support tool calling.


#### create_openai_fn_chain
Expand Down Expand Up @@ -884,7 +884,7 @@ Deprecated: 0.1.14
Removal: 0.3.0


Alternative: with_structured_output method on chat models that support tool calling.
Alternative: [with_structured_output](/docs/how_to/structured_output/#the-with_structured_output-method) method on chat models that support tool calling.


#### create_extraction_chain_pydantic
Expand All @@ -895,4 +895,4 @@ Deprecated: 0.1.14
Removal: 0.3.0


Alternative: with_structured_output method on chat models that support tool calling.
Alternative: [with_structured_output](/docs/how_to/structured_output/#the-with_structured_output-method) method on chat models that support tool calling.

0 comments on commit 1e748a6

Please sign in to comment.