Can I use v1/chat/completions to request the lora adaptor? #2512
Unanswered
qingzhong1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import requests
url = ".../v1/chat/completions"
data = {"model": "aa","messages": [{"role": "user", "content": "What is the capital of France?"}],}
response = requests.post(url, json=data)
Beta Was this translation helpful? Give feedback.
All reactions