gpt_academic
gpt_academic copied to clipboard
Prompt fix、脑图提示词优化
如下图所示
优化前:
优化后:
用引号明确哪部分是需要理解的内容,而且不要用警告等非指向性的文案,==========
以上xxx,这样模型很难理解到底哪部分是需要理解的,需要明确 引号内 or 多少个=号以上的才是需要处理的文本
⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🔎 Detected hardcoded secrets in your pull request
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
- | Hugging Face user access token | a00afd17e779c8251854f138734ee2134817b921 | config.py | View secret | |
- | Hugging Face user access token | ea41eaf23bd7e081182325f1d2fac80ccc281c16 | config.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!