Committed by
GitHub
Merge pull request #484 from 666ghj/main
Update README
Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -576,10 +576,10 @@ SENTIMENT_CONFIG = { | @@ -576,10 +576,10 @@ SENTIMENT_CONFIG = { | ||
| 576 | >from openai import OpenAI | 576 | >from openai import OpenAI |
| 577 | > | 577 | > |
| 578 | >client = OpenAI(api_key="your_api_key", | 578 | >client = OpenAI(api_key="your_api_key", |
| 579 | -> base_url="https://api.siliconflow.cn/v1") | 579 | +> base_url="https://aihubmix.com/v1") |
| 580 | > | 580 | > |
| 581 | >response = client.chat.completions.create( | 581 | >response = client.chat.completions.create( |
| 582 | -> model="Qwen/Qwen2.5-72B-Instruct", | 582 | +> model="gpt-4o-mini", |
| 583 | > messages=[ | 583 | > messages=[ |
| 584 | > {'role': 'user', | 584 | > {'role': 'user', |
| 585 | > 'content': "推理模型会给市场带来哪些新的机会"} | 585 | > 'content': "推理模型会给市场带来哪些新的机会"} |
-
Please register or login to post a comment