langchain/docs
Charlie Holtz 1cbab0ebda
community: update Replicate to work with official models (#20633)
Description: you don't need to pass a version for Replicate official
models. That was broken on LangChain until now!

You can now run: 

```
llm = Replicate(
    model="meta/meta-llama-3-8b-instruct",
    model_kwargs={"temperature": 0.75, "max_length": 500, "top_p": 1},
)
prompt = """
User: Answer the following yes/no question by reasoning step by step. Can a dog drive a car?
Assistant:
"""
llm(prompt)
```

I've updated the replicate.ipynb to reflect that.

twitter: @charliebholtz

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-04-19 01:43:40 +00:00
..
api_reference Community: Updating Azure Retriever and Docs to be Azure AI Search instead of Azure Cognitive Search (#19925) 2024-04-08 11:12:41 -04:00
data 👥 Update LangChain people data (#19858) 2024-04-01 09:57:31 -07:00
docs community: update Replicate to work with official models (#20633) 2024-04-19 01:43:40 +00:00
scripts docs: add structred output to feat table (#20539) 2024-04-16 19:14:26 -07:00
src docs: add Cohere to ChatModelTabs (#20386) 2024-04-12 10:35:10 -04:00
static docs: reorg and visual refresh (#19765) 2024-04-04 00:58:36 -07:00
.gitignore docs[minor]: Swap gtag for supabase (#18937) 2024-03-11 14:23:12 -07:00
.local_build.sh docs: partner packages (#16960) 2024-02-02 15:12:21 -08:00
.yarnrc.yml docs[minor]: Add thumbs up/down to all docs pages (#18526) 2024-03-04 15:14:28 -08:00
babel.config.js Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
code-block-loader.js Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
docusaurus.config.js docs: fix title cap (#20048) 2024-04-05 02:36:33 +00:00
package.json Lock low level dep to fix Vercel docs build (#20573) 2024-04-17 15:21:28 -07:00
README.md docs: developer docs (#14776) 2023-12-17 12:55:49 -08:00
settings.ini Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
sidebars.js docs: graphs update (#19675) 2024-04-04 14:13:22 -07:00
vercel_build.sh docs[patch]: Revert quarto update (#19880) 2024-04-01 12:11:27 -07:00
vercel_requirements.txt infra: docs build install community editable (#14739) 2023-12-14 16:13:09 -08:00
vercel.json upstage: init package (#20574) 2024-04-17 23:25:36 +00:00
yarn.lock Lock low level dep to fix Vercel docs build (#20573) 2024-04-17 15:21:28 -07:00

LangChain Documentation

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