mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
update docs using OR
This commit is contained in:
parent
e162a9855b
commit
da8c2c4184
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ import os
|
|||
from litellm import completion
|
||||
os.environ["OPENROUTER_API_KEY"] = ""
|
||||
|
||||
os.environ["OR_SITE_URL"] = "" # optional
|
||||
os.environ["OR_APP_NAME"] = "" # optional
|
||||
|
||||
response = completion(
|
||||
model="openrouter/google/palm-2-chat-bison",
|
||||
messages=messages,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue