mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
docs update
This commit is contained in:
parent
bee1c02d9d
commit
842d6fa4df
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@ os.environ["REPLICATE_API_KEY"] = "replicate key"
|
|||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||
|
||||
# replicate llama-2 call
|
||||
response = completion("replicate/llama-2-70b-chat:2796ee9483c3fd7aa2e171d38f4ca12251a30609463dcfd4cd76703f22e96cdf", messages)
|
||||
response = completion(
|
||||
model="replicate/llama-2-70b-chat:2796ee9483c3fd7aa2e171d38f4ca12251a30609463dcfd4cd76703f22e96cdf",
|
||||
messages=messages
|
||||
)
|
||||
```
|
||||
|
||||
### Replicate Models
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue