You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs
Madhu Shantan 63a1569d5f
docs: fixed syntax error in ChatAnthropic Example - rag app tutorial notebook (#25824)
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">
3 weeks ago
..
api_reference
data
docs docs: fixed syntax error in ChatAnthropic Example - rag app tutorial notebook (#25824) 3 weeks ago
scripts docs, infra: cerebras docs, update docs template linting with better error (#25782) 3 weeks ago
src docs: improve docs for InMemoryVectorStore (#25786) 3 weeks ago
static
.gitignore
.yarnrc.yml
Makefile
README.md
babel.config.js
docusaurus.config.js
ignore-step.sh
package.json
sidebars.js
vercel.json docs: remove deprecated nemo embed docs (#25720) 4 weeks ago
vercel_build.sh
vercel_requirements.txt
yarn.lock

README.md

LangChain Documentation

For more information on contributing to our documentation, see the Documentation Contributing Guide