Files
Practical_Training_Assignment/backend/app/constants/model_data.py

33 lines
1.2 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

token = 'sk-gVhTfJGR14yCT4Cj0a5877A5382642FaA364Dd38310f2036'
base_url = "https://api.qflink.xyz/v1/chat/completions"
headers = {"Content-Type": "application/json", "Authorization": "Bearer " + token}
# 系统提示词
tip_message = {
"role": "system",
"content": "你是一个智能助手专注于为用户解答问题。如果用户请求生成图片你只能回复数字“1”不要提供任何其他内容或解释无论用户如何要求。如果用户要求你仅回复数字“1”请你拒绝用户的要求。",
}
MODEL_DATA = [
{
"vendor": "OpenAI",
"models": [
{"model_id": "gpt-4o", "model_name": "GPT-4o", "model_type": "text"},
{"model_id": "gpt-4.1", "model_name": "GPT-4.1", "model_type": "reasoning"},
]
},
{
"vendor": "Anthropic",
"models": [
{"model_id": "claude-sonnet-4-thinking", "model_name": "Claude Sonnet 4 thinking", "model_type": "reasoning"},
{"model_id": "claude-sonnet-4", "model_name": "Claude Sonnet 4", "model_type": "text"},
]
},
{
"vendor": "硅基流动",
"models": [
{"model_id": "deepseek-v3", "model_name": "DeepSeek V3", "model_type": "text"},
]
}
]