mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
63a1569d5f
Thank you for contributing to LangChain! - [ ] **PR title**: docs: fixed syntax error in ChatAnthropic Example - rag app tutorial notebook - generation - [ ] **PR message**: - **Description:** Fixed a syntax error in the ChatAnthropic initialization example in the RAG tutorial notebook. The original code had an extra set of quotation marks around the model parameter, which would cause a Python syntax error. The corrected version removes these unnecessary quotes. - **Dependencies:** No new dependencies required for this documentation fix. I've verified that the corrected code is syntactically valid and matches the expected format for initializing a ChatAnthropic instance in LangChain. - **Twitter handle:** madhu_shantan - [ ] **Add tests and docs**: the error in Jupyter notebook: <img width="1189" alt="Screenshot 2024-08-29 at 12 43 47 AM" src="https://github.com/user-attachments/assets/07148a93-300f-40e2-ad4a-ac219cbb56a4"> the corrected cell: <img width="983" alt="Screenshot 2024-08-29 at 12 44 18 AM" src="https://github.com/user-attachments/assets/75b1455a-3671-454e-ac16-8ca77c049dbd"> - [ ] **Lint and test**: As this is a documentation-only change, I have not run the full test suite. However, I have verified that the corrected code example is syntactically valid and matches the expected usage of the ChatAnthropic class. the error in the docs is here - <img width="1020" alt="Screenshot 2024-08-29 at 12 48 36 AM" src="https://github.com/user-attachments/assets/812ccb20-b411-4a5b-afc1-41742efb32a7"> |
||
---|---|---|
.. | ||
api_reference | ||
data | ||
docs | ||
scripts | ||
src | ||
static | ||
.gitignore | ||
.yarnrc.yml | ||
babel.config.js | ||
docusaurus.config.js | ||
ignore-step.sh | ||
Makefile | ||
package.json | ||
README.md | ||
sidebars.js | ||
vercel_build.sh | ||
vercel_requirements.txt | ||
vercel.json | ||
yarn.lock |
LangChain Documentation
For more information on contributing to our documentation, see the Documentation Contributing Guide