mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-18 07:50:42 +03:00
Add copyright notice and author attribution to multiple Python files in the gns3-copilot module. This ensures proper licensing attribution and clarifies authorship for the project files.
41 lines
1.4 KiB
Python
41 lines
1.4 KiB
Python
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
# GNS3-Copilot - AI-powered Network Lab Assistant for GNS3
|
|
#
|
|
# This file is part of GNS3-Copilot project.
|
|
#
|
|
# GNS3-Copilot is free software: you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by the
|
|
# Free Software Foundation, either version 3 of the License, or (at your
|
|
# option) any later version.
|
|
#
|
|
# GNS3-Copilot is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
# for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with GNS3-Copilot. If not, see <https://www.gnu.org/licenses/>.
|
|
#
|
|
# Copyright (C) 2025 Guobin Yue
|
|
# Author: Guobin Yue
|
|
#
|
|
# Project Home: https://github.com/yueguobin/gns3-copilot
|
|
#
|
|
|
|
"""
|
|
Title Generation Prompt for GNS3-Copilot
|
|
|
|
Prompt template for generating conversation titles.
|
|
Generates concise Chinese or English titles based on conversation language.
|
|
|
|
"""
|
|
|
|
TITLE_PROMPT = """
|
|
Based on the following conversation records,
|
|
analyze the language composition and generate a concise, summary title.
|
|
If the content is predominantly in Chinese, generate a Chinese title.
|
|
If the content is predominantly in English, generate an English title.
|
|
Only return the title, do not include any additional explanations or punctuation:
|
|
"""
|