我们可以像使用函数一样使用ChatGPT。例如,我写了个简单的SVM Demo。我没有为不同的模型重写所有相同的代码,甚至复制代码并替换所有变量名称,而是让 ChatGPT 为我做这件事。 我将代码粘贴到 ChatGPT 中,并要求它以相同的风格编写代码,但针对决策树、随机森林和 XGBoost。这效果好得令人难以置信!它甚至为我正确替...
在要插入代码的位置,用 co 快捷键呼出 prompt 窗口,输入 prompt 后回车即可。毕竟我只需要 chatgpt 返回一个干净的代码块直接插入即可。 二)我有一套自己写代码的习惯,也有一套自己常用的 prompt,最好能模糊匹配出来,少敲些字符。 三)现在大部分 AICoding 插件都是千篇一律做成对话框,要什么对话,直接插入才爽...
GPT4.0: def all_digits_odd(number):digits = str(number)for digit in digits:if int(digit) % 2 == 0:return Falsereturn Truedef find_min_x():x = 2019while True:if all_digits_odd(x):return xx += 2019if __name__ == "__main__":min_x = find_min_x()print("满足条件的最小整...
One example of a very simple ChatGPT prompt could be: “Tell me a joke.” You can continue the conversation by providing another prompt that builds on the response. In this article, we’ll discuss tips for writing awesome prompts for ChatGPT. We’ll also share some of the best ChatGPT ...
Be precise: The code snippet produced by ChatGPT will be more accurate the more explicit your prompt is. Add information on the programming, the goal you’re trying to achieve, and any unique needs or restrictions for the code example. ...
For example, when a user says, "Translate 'Hello, world' into Spanish," this is deemed a ChatGPT prompt, and it asks a translation from the model. Text inputs such as "Tell me a story" or "What's the best pizza recipe?" also inspire the model to respond to particular requests or...
2. Ask ChatGPT to provide sources This is where a bit of prompt engineering comes in. A good starting point is with this query: Please provide sources for the previous answer I've found that this prompt often provides offline sources, books, papers, etc. The problem with offline sources...
主要来自:https://github.com/f/awesome-chatgpt-prompts此外,发现这个库也很好用:AiShort(ChatGPT Shortcut)-简单易用的 AI 快捷指令表 ChatGPT SEO提示 Contributed by:StoryChief AIReference:7 Powerful ChatGPT Prompts to Create SEO Content Faster供稿人:StoryChief AI 参考:https://storychief.io/blog/...
ChatGPT Plugins demo https://github.com/openai/chatgpt-retrieval-plugin 借助colab平台自动生成srt字幕 https://github.com/JimLiu/whisper-podcast-subtitles sd和mj生成图片指令参考 https://prompthero.com/ llama-index +ChatGPT PDF文件 https://gist.github.com/ninehills/ecf7107574c83016e8b68965bf9a51...
Contributed by: @iuzn Generated by ChatGPT I want you to act as a prompt generator for Midjourney's artificial intelligence program. Your job is to provide detailed and creative descriptions that will inspire unique and interesting images from the AI. Keep in mind that the AI is capable of...