Commit Graph

2067 Commits

Author SHA1 Message Date
Harrison Chase
d6e245e2e1 cr 2023-09-16 17:07:48 -07:00
Harrison Chase
d3aee0a181 Merge branch 'master' into harrison/stop-importing-from-init 2023-09-16 17:07:05 -07:00
Harrison Chase
bcb64527ae Update docs/extras/use_cases/more/agents/autonomous_agents/baby_agi_with_agent.ipynb 2023-09-16 16:50:17 -07:00
Harrison Chase
6a0898f89d Update docs/extras/use_cases/more/agents/autonomous_agents/baby_agi_with_agent.ipynb 2023-09-16 16:50:08 -07:00
Harrison Chase
3f991afa15 Update docs/extras/use_cases/more/agents/autonomous_agents/baby_agi.ipynb 2023-09-16 16:49:58 -07:00
Harrison Chase
eb726fa333 Update docs/extras/use_cases/more/agents/agents/wikibase_agent.ipynb 2023-09-16 16:49:49 -07:00
Harrison Chase
9951a6cc75 Update docs/extras/use_cases/more/agents/agents/sales_agent_with_context.ipynb 2023-09-16 16:49:39 -07:00
Harrison Chase
447066163e Update docs/extras/use_cases/more/agents/agents/custom_agent_with_plugin_retrieval_using_plugnplai.ipynb 2023-09-16 16:49:30 -07:00
Harrison Chase
d908818b32 Update docs/extras/use_cases/more/agents/agents/custom_agent_with_plugin_retrieval.ipynb 2023-09-16 16:49:19 -07:00
Harrison Chase
0591854007 Update docs/extras/modules/memory/custom_memory.ipynb 2023-09-16 16:49:10 -07:00
Harrison Chase
f893a82efa Update docs/extras/modules/memory/agent_with_memory_in_db.ipynb 2023-09-16 16:49:02 -07:00
Harrison Chase
3b8f58edfa Update docs/snippets/modules/chains/foundational/llm_chain.mdx 2023-09-16 16:48:46 -07:00
Harrison Chase
baafcbacd9 Update docs/snippets/modules/agents/how_to/mrkl.mdx 2023-09-16 16:48:42 -07:00
Harrison Chase
641183a137 Update docs/snippets/modules/agents/how_to/custom_llm_agent.mdx 2023-09-16 16:48:37 -07:00
Harrison Chase
c8982b1a82 Update docs/extras/use_cases/qa_structured/integrations/myscale_vector_sql.ipynb 2023-09-16 16:48:32 -07:00
Harrison Chase
262b45522d Update docs/extras/use_cases/more/code_writing/llm_math.ipynb 2023-09-16 16:48:20 -07:00
Harrison Chase
5083e7b1e2 Update docs/extras/use_cases/more/agents/autonomous_agents/meta_prompt.ipynb 2023-09-16 16:48:15 -07:00
Harrison Chase
d52a853518 Update docs/extras/modules/memory/agent_with_memory.ipynb 2023-09-16 16:48:10 -07:00
Harrison Chase
3ead58d1c1 Update docs/extras/modules/chains/how_to/serialization.ipynb 2023-09-16 16:47:59 -07:00
Harrison Chase
620be7322f Update docs/extras/modules/chains/how_to/from_hub.ipynb 2023-09-16 16:47:53 -07:00
Harrison Chase
54a0900093 Update docs/extras/modules/agents/tools/custom_tools.ipynb 2023-09-16 16:47:47 -07:00
Harrison Chase
447517e125 Update docs/extras/modules/agents/tools/custom_tools.ipynb 2023-09-16 16:47:42 -07:00
Harrison Chase
563d7806f5 Update docs/extras/modules/agents/how_to/sharedmemory_for_tools.ipynb 2023-09-16 16:47:35 -07:00
Harrison Chase
1055a74dc4 Update docs/extras/modules/agents/how_to/custom_multi_action_agent.ipynb 2023-09-16 16:47:30 -07:00
Harrison Chase
d6663aecec Update docs/extras/modules/agents/how_to/custom_mrkl_agent.ipynb 2023-09-16 16:47:24 -07:00
Harrison Chase
7b692d22bf Update docs/extras/modules/agents/how_to/custom_agent_with_tool_retrieval.ipynb 2023-09-16 16:46:08 -07:00
Harrison Chase
2bf326b77d Update docs/extras/modules/agents/how_to/custom_agent.ipynb 2023-09-16 16:46:02 -07:00
Harrison Chase
e602c5ea95 Update docs/extras/modules/agents/how_to/chatgpt_clone.ipynb 2023-09-16 16:45:53 -07:00
Harrison Chase
6a7c07010d Update docs/extras/modules/agents/how_to/agent_vectorstore.ipynb 2023-09-16 16:45:46 -07:00
Harrison Chase
6609750538 Update docs/extras/modules/agents/agent_types/self_ask_with_search.ipynb 2023-09-16 16:45:39 -07:00
Harrison Chase
c9432e2055 Update docs/extras/modules/agents/agent_types/react_docstore.ipynb 2023-09-16 16:45:32 -07:00
Harrison Chase
865cd63f81 Update docs/extras/integrations/vectorstores/starrocks.ipynb 2023-09-16 16:45:25 -07:00
Harrison Chase
2d3064e6fd Update docs/extras/integrations/toolkits/vectorstore.ipynb 2023-09-16 16:45:18 -07:00
Harrison Chase
87838d0fcd Update docs/extras/integrations/providers/jina.mdx 2023-09-16 16:45:11 -07:00
Harrison Chase
0beb465adb Update docs/extras/integrations/providers/mlflow_ai_gateway.mdx 2023-09-16 16:45:01 -07:00
Harrison Chase
ffa69882c0 Update docs/extras/integrations/memory/motorhead_memory_managed.ipynb 2023-09-16 16:44:53 -07:00
Harrison Chase
c61a05d6b0 Update docs/extras/integrations/memory/motorhead_memory.ipynb 2023-09-16 16:44:46 -07:00
Harrison Chase
f2a56d733c Update docs/extras/integrations/llms/sagemaker.ipynb 2023-09-16 16:44:39 -07:00
Harrison Chase
10e419d84e Update docs/extras/integrations/llms/opaqueprompts.ipynb 2023-09-16 16:44:24 -07:00
Harrison Chase
284b9ae850 Update docs/extras/integrations/llms/bittensor.ipynb 2023-09-16 16:44:14 -07:00
Harrison Chase
bc7535a9c7 Update docs/extras/guides/model_laboratory.ipynb 2023-09-16 15:49:33 -07:00
Harrison Chase
f726b428ad stash 2023-09-16 15:41:51 -07:00
Joshua Sundance Bailey
c4e591a57d OpenAI function calling docstring and notebook imports (#10663)
This PR is a documentation fix.

Description:
* fixes imports in the code samples in the docstrings of
`create_openai_fn_chain` and `create_structured_output_chain`
* fixes imports in
`docs/extras/modules/chains/how_to/openai_functions.ipynb`
* removes unused imports from the notebook

Issues:
* the docstrings use `from pydantic_v1 import BaseModel, Field` which
this PR changes to `from langchain.pydantic_v1 import BaseModel, Field`
* importing `pydantic` instead of `langchain.pydantic_v1` leads to
errors later in the notebook
2023-09-16 14:24:50 -07:00
xleven
6f36bc6d38 add WeChat chat loader notebook (#10672)
Like
[DiscordChatLoader](https://python.langchain.com/docs/integrations/chat_loaders/discord)
(as mentioned in #9708), this notebook is a demonstration of
WeChatChatLoader based on copy-pasting WeChat messages dump.
2023-09-16 14:21:08 -07:00
Nino Risteski
91f1af0a93 Update community.md (#10676)
fixed typos
2023-09-16 14:19:39 -07:00
Harrison Chase
a5ca0ca6e7 update quickstart to use lcel (#10687) 2023-09-16 14:18:12 -07:00
Harrison Chase
bdd9fe4066 docs refresh intro (#10683) 2023-09-16 13:39:55 -07:00
Harrison Chase
116cc7998c update partners first sentence for preview (#10665) 2023-09-15 17:46:46 -07:00
Joshua Sundance Bailey
0a1dc04875 PydanticOutputParser doc nb: use langchain.pydantic_v1; remove unused imports (#10651)
Description: This PR changes the import section of the
`PydanticOutputParser` notebook.
* Import from `langchain.pydantic_v1` instead of `pydantic`
* Remove unused imports

Issue: running the notebook as written, when pydantic v2 is installed,
results in the following:
```python
PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.3/migration/
```
[...]
```python
PydanticUserError: The `field` and `config` parameters are not available in Pydantic V2, please use the `info` parameter instead.

For further information visit https://errors.pydantic.dev/2.3/u/validator-field-config-info
```
2023-09-15 14:05:01 -07:00
Harrison Chase
a07491cfdc add routing notebook (#10587) 2023-09-15 13:48:36 -07:00