获取项目设置
开发环境
开发环境
GET
api/v1/projects/{projectId}/settings
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.comapi/v1/projects//settings' \
--header 'authorization;'
响应示例响应示例
200 - 成功示例
{
"status": "success",
"data": {
"chatbot_avatar": "https://example.com/chatbot_avatar.png",
"chatbot_background": "https://example.com/chatbot_background.png",
"default_prompt": "How can I help you?",
"example_questions": [
"How do I get started?"
],
"response_source": "own_content",
"chatbot_msg_lang": "en",
"chatbot_color": "#000000",
"persona_instructions": "You are a custom chatbot assistant called CustomGPT, a friendly lawyer who answers questions based on the given context.",
"citations_answer_source_label_msg": "Where did this answer come from?",
"citations_sources_label_msg": "Sources",
"hang_in_there_msg": "Hang in there! I'm thinking..",
"chatbot_siesta_msg": "Oops! The chat bot is taking a siesta. This usually happens when OpenAI is down! Please try again later.",
"is_loading_indicator_enabled": true,
"enable_citations": true,
"citations_view_type": "user",
"no_answer_message": "Sorry, I don't have an answer for that.",
"ending_message": "Please email us for further support",
"remove_branding": false,
"chatbot_model": "gpt-4",
"is_selling_enabled": false,
"license_slug": true,
"selling_url": "string"
}
}
请求参数
Path 参数
projectId
string
必需
Header 参数
authorization
string
必需
返回响应
修改于 2024-02-22 03:53:08