x
This commit is contained in:
@@ -7,7 +7,7 @@ client = OpenAI(
|
||||
|
||||
# 聊天完成
|
||||
response = client.chat.completions.create(
|
||||
model="/opt/model/Qwen3-Next-80B-A3B-Instruct-AWQ-4bit",
|
||||
model="Qwen3-Next-80B-A3B-Instruct-AWQ-4bit",
|
||||
messages=[
|
||||
{"role": "system", "content": "You are a helpful assistant."},
|
||||
{"role": "user", "content": "你好,请介绍一下你自己"}
|
||||
@@ -16,4 +16,4 @@ response = client.chat.completions.create(
|
||||
temperature=0.7
|
||||
)
|
||||
|
||||
print(response.choices[0].message.content)
|
||||
print(response.choices[0].message.content)
|
||||
|
||||
Reference in New Issue
Block a user