Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

prompting tip: How to write hybrid english & code prompts while building custom GPTs -Turn on code interpreter -"write code to ..." -Regenerate a few times until you get one you like -Copy paste it back into your prompt -tweak it to improve Now your ai can write consistent...

117,034 Aufrufe • vor 2 Jahren •via X (Twitter)

10 Kommentare

Profilbild von hulk
hulkvor 2 Jahren

👇🏼

Profilbild von Matt Ferrante
Matt Ferrantevor 2 Jahren

I find this works especially well for if you have repeatable patterns. Like a model/table definition, associated serializers and views, front-end tables/lists and create forms. You provide some examples of each for a couple models and then can describe a new model and have it create all the components. I already have some prompts that do this well, but factoring into a GPT would make it even easier.

Profilbild von Serg
Sergvor 2 Jahren

I'm currently trying to get chatgpt to guide me step by step to creating a ai chatbot. I'm a complete newbie to coding, but I've prompted chatgpt to start guiding me. I dont know if its giving me a correct code but I'm sort of hoping for the best.

Profilbild von Nick Dobos
Nick Dobosvor 2 Jahren

One step at a time! Ya never know if it works until it does or not!

Profilbild von Bob
Bobvor 2 Jahren

Just a tip you can upload premade python scripts and have the AI run that way it is faster.

Profilbild von Motyar
Motyarvor 2 Jahren

How to hide the system prompt.

Profilbild von Nick Dobos
Nick Dobosvor 2 Jahren

Impossible.

Profilbild von rohit
rohitvor 2 Jahren

You mean a part of the instruction set in the custom GPTs?

Profilbild von Nick Dobos
Nick Dobosvor 2 Jahren

Exactly Put code in your instructions system prompt, that you use to tell the GPT how to behave "You are a GPT named SuperCoder" "SuperCoder can perform these functions in response to use questions" "< actual code> "

Profilbild von Daniel Ernesto Fernández
Daniel Ernesto Fernándezvor 2 Jahren

You could train Grimoire with a kernel to help create the step-by-step framework and code for a high-performance custom GPT, this would certainly give a great result for many, many we would appreciate with tips $...

Ähnliche Videos

👀 I used OpenAI's Code Interpreter to make Flappy Bird 🐦in 7 minutes: Code Interpreter/GPT-4 for code generation. Pre-existing or AI-generated assets for graphics. --- Here's how to make the game in only 6 steps: (1): Enter the following prompt: "write p5.js code for Flappy Bird where you control a yellow bird continuously flying between a series of green pipes. The bird flaps every time you left click the mouse. If the bird falls to the ground or hits a pipe, you lose. This game goes on infinitely until you lose and you get points the further you go". (2): Use generative AI or existing game assets and spirits. I searched "flappy bird assets" on Google and used the first link, a GitHub repo with pngs from the original Flappy Bird. (3): Use this prompt to link assets to the code: "Please generate the entire file again based on the fact I'm using a unique background, spirits for the bird, and pipes. Here is the list of assets I'm using: [list of file names]." Code Interpreter should modify the code accordingly to include the list of file names. (4) Make an account OpenProcessing -> create a sketch -> paste in the code generated by Code Interpreter -> upload in-game assets from step (2). (5) (Optional) Ask ChatGPT to make changes to improve the in-game experience e.g., adding a high score, restarting the game when the bird dies, etc. Copy the new code into your OpenProcessing sketch and reload the game. (6) If something doesn't work, ask GPT4 to fix it. Copy and paste the error message and ask it to regenerate the code. --- Bonus Tips: - Iteratively test code. Each time you make a change using Code Interpreter, test the updated code by playing the game so you catch new bugs early. - Learn programming by asking questions: "Act as a senior programmer very good at explaining concepts to a beginner. Tell me how gravity works in this game and how you used code to make this happen."Code Interpreter/GPT4 for code generation. Download Pre-existing assets or generate new images for graphics. Excited to see what you make!

Alex Ker 🔭

739,854 Aufrufe • vor 2 Jahren

I'm teaching a new course! AI Python for Beginners is a series of four short courses that teach anyone to code, regardless of current technical skill. We are offering these courses free for a limited time. Generative AI is transforming coding. This course teaches coding in a way that’s aligned with where the field is going, rather than where it has been: (1) AI as a Coding Companion. Experienced coders are using AI to help write snippets of code, debug code, and the like. We embrace this approach and describe best-practices for coding with a chatbot. Throughout the course, you'll have access to an AI chatbot that will be your own coding companion that can assist you every step of the way as you code. (2) Learning by Building AI Applications. You'll write code that interacts with large language models to quickly create fun applications to customize poems, write recipes, and manage a to-do list. This hands-on approach helps you see how writing code that calls on powerful AI models will make you more effective in your work and personal projects. With this approach, beginning programmers can learn to do useful things with code far faster than they could have even a year ago. Knowing a little bit of coding is increasingly helping people in job roles other than software engineers. For example, I've seen a marketing professional write code to download web pages and use generative AI to derive insights; a reporter write code to flag important stories; and an investor automate the initial drafts of contracts. With this course you’ll be equipped to automate repetitive tasks, analyze data more efficiently, and leverage AI to enhance your productivity. If you are already an experienced developer, please help me spread the word and encourage your non-developer friends to learn a little bit of coding. I hope you'll check out the first two short courses here!

Andrew Ng

1,223,658 Aufrufe • vor 1 Jahr