copilot+pycharm报错
问题:GitHub Copilot: Sign in failed. Reason: Request signInInitiate failed with message: read ECONNRESET, request id: 5, error code: -32603
解决方案:下载对应版本
Versions: GitHub Copilot - IntelliJ IDEs Plugin | Marketplace (jetbrains.com)。 在setting的plugins里面选择install plugin from disk。以及fanqiang。
奇怪的是,在另一台电脑上,开始也报错,当我终于找到这个网址,刚开始下载对应版本的文件,pycharm就好了……
难道他只是需要缓缓??

chatgpt+zotero教程
Zotero GPT下载:https://github.com/MuiseDestiny/zotero-gpt
免费密钥领取:https://github.com/chatanywhere/GPT_API_free
唤醒后 :
/secretky sk-afdfds(你的密钥),
/api https://api.chatanywhere.com.cn
/clear一下
就可以啦

Code

  • Cursor
  • Copilot
  • Codeium

api

API Reference - OpenAI API

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from openai import OpenAI
import os

# Set the proxy URL and port
proxy_url = 'http://127.0.0.1'
proxy_port = '8080' # !!!please replace it with your own port

# Set the http_proxy and https_proxy environment variables
os.environ['http_proxy'] = f'{proxy_url}:{proxy_port}'
os.environ['https_proxy'] = f'{proxy_url}:{proxy_port}'

client = OpenAI()

response = client.chat.completions.create(
model="gpt-3.5-turbo",
messages=[
{
"role": "system",
"content": "You will be provided with unstructured data, and your task is to parse it into CSV format."
},
{
"role": "user",
"content": "There are many fruits that were found on the recently discovered planet Goocrux. There are neoskizzles that grow there, which are purple and taste like candy. There are also loheckles, which are a grayish blue fruit and are very tart, a little bit like a lemon. Pounits are a bright green color and are more savory than sweet. There are also plenty of loopnovas which are a neon pink flavor and taste like cotton candy. Finally, there are fruits called glowls, which have a very sour and bitter taste which is acidic and caustic, and a pale orange tinge to them."
}
],
temperature=0.7,
max_tokens=64,
top_p=1
)

print(response.choices[0].message.content)

资源

Prompt

读论文

  • 接下来我会给你文章摘要以一行表格的形式输出:使用的模型,应用场景,之前文献存在的问题,提出的 idea,limitations(future improvement)

1.

  1. 角色:资深教授,精通英文论文的阅读与笔记撰写,具有数十年的人工智能、深度学习等领域的研究经验。
    任务:根据我提供的资料,总结出该论文主要的贡献点(创新点)是什么
    输出语言:中文
    要求:
    1. 符合中文的语言习惯、逻辑严谨、语句通顺,需要分点作答。
    2. 每一个贡献点以总分的形式总结
      1. 首先以加粗的短句总结出贡献点是什么
      2. 然后详细解释贡献点,必须确保通俗易懂,大领域的读者也可以理解。
    3. 贡献点的数目应该保持在 3-4 点之间。
    4. 请注意贡献点之间的差异性,不要出现内容过于接近的点
      资料:
  2. 角色:资深教授,精通英文论文的阅读与笔记撰写,具有数十年的人工智能、深度学习等领域的研究经验。
    任务:根据我提供的资料,使用一句话总结出论文是基于什么现有问题提出的。
    输出语言:中文
    要求:
    1. 符合中文的语言习惯、逻辑严谨、语句通顺。
    2. 只能使用一句话进行总结。
    3. 总结的内容必须是可靠的,可信的。
    4. 请给出选择这句话的原因
    5. 请给出选择这句话的参考原文及原文译文。
      资料:
      3.角色:资深教授,精通英文论文的阅读与笔记撰写,具有数十年的人工智能、深度学习等领域的研究经验。
      任务:根据我提供的资料,以通俗易懂的语言总结该内容
      输出语言:中文
      要求:
    6. 符合中文的语言习惯、逻辑严谨、语句通顺。
    7. 你需要思考该资料讲述了多少个较为独立的内容,每一个较为独立的内容作为一点进行撰写
    8. 每一个较为独立的内容以总分的形式总结
      1. 首先以加粗的短句总结出较为独立的内容是什么
      2. 然后详细解释较为独立的内容,必须确保通俗易懂,大领域的读者也可以理解。
    9. 如果遇到公式,请尽量在详细解释中保留公式并对公式进行必要的解释。
      资料:

用上这10条神指令(prompt),让ChatGPT快速写出优质高分科研论文 (qq.com)

  1. Topic Exploration and Understanding:

English Prompt: Act as an academic research expert. Conduct an extensive search for research papers on the specified [topic]. Ensure the papers are from reputable journals, conferences, or academic institutions. Provide a comprehensive list of the findings, including the title of the paper, authors, publication date, abstract, and a link to access the full paper. For each paper, write a brief summary highlighting the main findings and their relevance.

2. Paper Summarization:

English Prompt: Act as an academic research expert. Read and digest the content of the research paper titled [title]. Produce a concise and clear summary that encapsulates the main findings, methodology, results, and implications of the study. Ensure that the summary is written in a manner that is accessible to a general audience while retaining the core insights and nuances of the original paper.

3. Research Question Formulation:

English Prompt: Act as an academic research expert. For the given [topic], formulate a comprehensive research question that can guide a potential study. Ensure the question is clear, specific, and researchable. It should address a gap or need in the current body of knowledge, and have significance in its respective field.

4. Methodology Suggestions:

English Prompt: Act as an academic research expert. Your task is to suggest appropriate methodologies for researching [topic]. Provide a comprehensive list of both qualitative and quantitative research methods that are best suited for the subject matter.

5. Data Source Identification:

English Prompt: Act as an academic research expert. Your task is to identify and compile a list of credible data sources related to [topic]. Ensure that the sources are reputable, recent, and relevant to the research objectives.

6. Drafting an Outline:

English Prompt: Act as an academic research expert. Draft a comprehensive research paper outline on [topic]. The outline should be well-structured, starting with a compelling introduction that states the problem or question, the relevance of the topic, and the objectives of the research.

7. Enhancing Readability:

English Prompt: Act as an academic research expert and copywriter. Your task is to review and enhance the readability of the provided [piece of text] in a research paper. Ensure that the text is clear, concise, and free from jargon while maintaining its academic integrity.

8. Interpreting Reviewer Feedback:

English Prompt: Act as an academic research expert. Carefully analyze and interpret the [feedback] provided by the reviewer on the submitted research paper. Identify key concerns, constructive suggestions, and areas of improvement highlighted by the reviewer.

9. Abstract Writing:

English Prompt: Act as an academic research expert. Draft an abstract for a research paper titled [title]. The abstract should succinctly summarize the main objectives, methodologies, key findings, and implications of the research.

10. Paper Promotion:

English Prompt: Act as an academic research and marketing expert. Identify and recommend suitable sources and platforms to effectively promote a research paper titled [title]. Your recommendations should cater to the target audience of academics, scholars, and professionals within the paper’s field.