langchain/libs
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
..
cli templates: readme langsmith not private beta (#20173) 2024-04-12 13:08:10 -07:00
community community: update Replicate to work with official models (#20633) 2024-04-19 01:43:40 +00:00
core core: deprecation default to qualname (#20578) 2024-04-18 15:35:17 -07:00
experimental experimental[patch]: prompts import fix (#20534) 2024-04-18 16:09:11 -04:00
langchain experimental[patch]: prompts import fix (#20534) 2024-04-18 16:09:11 -04:00
partners mistral[patch]: Support both model and model_name (#20557) 2024-04-18 16:12:33 -04:00
standard-tests mistral, openai: allow anthropic-style messages in message histories (#20565) 2024-04-17 15:55:45 -04:00
text-splitters text-splitters[minor]: Add lua code splitting (#20421) 2024-04-13 22:42:51 +00:00