mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-23 22:27:10 +00:00
docs update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user