mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(docs) proxy + langchain
This commit is contained in:
parent
4f9f53f7dc
commit
d5f67a0a25
1 changed files with 11 additions and 0 deletions
|
@ -24,5 +24,16 @@ response = chat(messages)
|
|||
|
||||
print(response)
|
||||
|
||||
claude_chat = ChatOpenAI(
|
||||
openai_api_base="http://0.0.0.0:8000",
|
||||
model = "claude-v1",
|
||||
temperature=0.1
|
||||
)
|
||||
|
||||
response = claude_chat(messages)
|
||||
|
||||
print(response)
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue