正在加载视频...

视频加载失败

👶🤖 Introducing `gpt-engineer` ▸ One prompt generates a codebase ▸ Asks clarifying questions ▸ Generates technical spec ▸ Writes all necessary code ▸ Easy to add your own reasoning steps, modify, and experiment ▸ open source: ▸ Lets you finish a coding project in minutes. swyx scooped me on...

664,715 次观看 • 3 年前 •via X (Twitter)

10 条评论

Alex Mizrahi 的头像
Alex Mizrahi3 年前

Generating a whole code base at once is a nice trick but it works only for tiny code bases. Basically as soon as things don't fit into the context the quality will drop sharply and the tool won't be useful. To make a real GPT engineer you need to make it incremental. It should work only on a small task at a time. For example it might work in a loop: 1. Select parts of the code base which are relevant for a particular task. 2. Generate new code taking the context into consideration. 3. Update the summary of the code base. Of course, with a larger context size it might become feasible to update the whole code base at once. But I doubt that quality will be the same as with a smaller context. And you hit a hard limit once you exceed the context size.

Sid⚡️ 的头像
Sid⚡️3 年前

Bonus feature: Over promise and under deliver like a true consulting engineer

spink 的头像
spink3 年前

This looks cool! I’m working on something pretty similar

SQUIP 的头像
SQUIP3 年前

this is amazing 🔥🔥. . any tips on how to make this work with chatgpt-3.5 turbo for the plebs on the waitlist for gpt4 api access? I'm getting an error bc of the context length token limits of the 3.5 model. I want to experiment with this soo bad.

Daniel Deveney 的头像
Daniel Deveney3 年前

But did the code work? And does it have the ability to clarify that it works, and debug it if it doesn’t?

Mihai ᛋ 的头像
Mihai ᛋ3 年前

bro why didn't you hit run

Jacob Valdez 的头像
Jacob Valdez3 年前

Thank you thank you thank you But at the same time 😭😭😭😭😭😭😭. There goes my profession

Robin Ranjit Singh Chauhan @ Neurips 的头像
Robin Ranjit Singh Chauhan @ Neurips3 年前

So did the snake game work? Demo ended for it ran. Anyways cool project!

dj spry 的头像
dj spry3 年前

@SteveMoraco @Memdotai mem it

Mem 的头像
Mem3 年前

@antonosika @SteveMoraco Saved! Here's the compiled thread: 🪄 AI-generated summary: "gpt-engineer is an open source tool that allows users to generate a codebase, ask clarifying questions, create a technical spec, and write all necessary code with ease. It also...

相关视频

GPT-5 is live in Cline. We've been working with OpenAI to get this model ready, and here's our take: it's disciplined, persistent, & highly competent. It's collaborative in planning & and a diligent operator while acting. It plans thoroughly, asks optioned follow-ups when needed, & then gets out of the way and ships code. On long tasks it keeps going before pausing to check in. It follows instructions to the letter. And most importantly -- it writes good code. GPT-5 is like "The Wolf" from Pulp Fiction. Comes in, assesses the situation, then executes. Here's what you can expect from GPT-5 in Cline: > verbose while planning; terse while executing > asks a lot of good clarification questions, & frequently provides options when appropriate > strong context retention and persistence over long horizons (256k context window) > good at diff-style edits and multi-file changes (we'll monitor as more usage data comes in) > quiet in Act mode -- writes code without yapping Metaprompting is another strength. We tested early with OpenAI and used GPT-5 to tune our own prompt for GPT-5. Here's a pattern we like: “Answer from your own perspective: what changes or additions would help you better follow this prompt? Here is the prompt (or snippet): [snippet]. Users have complained about X and Y. What minimal edits would you make while keeping the rest intact?” Do you need to change any of your existing patterns in Cline? No -- it's good out of the box. Give a clear goal and constraints, let it plan, then let it cook. Expect more clarifying questions than most models. Pricing: $1.25/M input tokens (+90% cache), $10/M output. Roughly half of Sonnet 4 ($3/$15). Want to try GPT-5? Use it in Cline today for pure, unfiltered inference via the OpenAI, Cline, or OpenRouter providers. (fyi -- GPT-5 one-shotted this browser DAW below on the prompt "build something impressive to show me what you're capable of")

Cline

63,496 次观看 • 11 个月前

This workflow combining Loom’s AI features + a custom ChatGPT GPT is saving me hours. Instead of creating onboarding Docs for new team members, I film a Loom → generate SOP → train a GPT to answer questions Game changer for businesses to delegate faster. Here's how to do it: First, I record a video of whatever task I want to delegate to the new team member with Loom. The more in-depth, the better, but I just used a 7-minute video. Then, I use Loom's new AI 'Write a document' feature. Upgrading to Loom AI from the standard Loom plan cost me $2. Loom AI can generate an entire SOP, PR description, step-by-step guide, QA, and more from a simple Loom video in <5 seconds. In the past, I’ve spent 2 hours+ hand-writing each one of these docs to onboard new team members, so Loom AI is already a massive timesaver. But it gets even better! Next, we can take that data from the SOP document, and we use it as 'Knowledge' to train a Custom GPT that can answer the new team members' questions. The more SOP docs/Knowledge you feed the GPT, the better. But one is fine if that's all you have because the GPT will pull any unknown answers from the web or its training data. Here are the prompt Instructions you want to put into the Custom GPT (copy and paste this): You are an expert CEO, specialized in onboarding and training new team members. Using the Knowledge provided, you will help new team members with any questions or stipulations they may have about their new role. Stick as true to the data provided as possible, but if= they ask any questions that the Knowledge base does not have a specific answer for, you are permitted to use your pre-trained data and/or web browsing capabilities. That's it! It can't replace you entirely, but it'll save you 90% of the time you would've wasted on writing an SOP doc and answering questions. Simple AI workflows here and there really add up. There's also a workflow to help with the job screening process, but I'll save that for another day :^)

Rowan Cheung

129,424 次观看 • 2 年前

OpenAI just announced API access to o1 (advanced reasoning model) yesterday. I'm delighted to announce today a new short course, Reasoning with o1, built with OpenAI, and taught by Colin Jarvis, Head of AI Solutions at OpenAI, to show you how to use this effectively! Unlike previous language models which generate output directly, o1 “thinks before it responds,” and generates many reasoning tokens before returning a more thoughtful and accurate response. It is great at complex reasoning -- including planning for agentic workflows, coding, and domain-specific reasoning in STEM fields like law. But how you should use it is quite different from other LLMs. I think o1 will be a game changer for many AI applications; and in this course, you'll learn how to use it effectively. In detail, you’ll: - Learn to recognize what tasks o1 is suited for, and when to use a smaller model, or combine o1 with a smaller model - Understand the new principles of prompting reasoning models: Be simple and direct; no explicit chain-of-thought required; use structure; show rather than tell - Implement multi-step orchestration in which o1 plans, and hands tasks over to gpt-4o-mini to execute specific steps; this illustrates a design pattern to optimize intelligence (accuracy) and cost - Use o1 for a coding task to build a new application, edit existing code, and test performance by running a coding competition between o1-mini and GPT 4o - Use o1 for image understanding and learn how it performs better with a "hierarchy of reasoning," in which it incurs the latency and cost upfront, preprocessing the image and indexing it with rich details so it can be used for Q&A later - Learn a technique called meta-prompting, in which you use o1 to improve your prompts. Using a customer support evaluation set, you'll iteratively use o1 to modify a prompt to improve performance You'll also learn about how OpenAI used reinforcement learning to produce a model that uses "test-time compute" to improve performance. I think you'll find this course enjoyable and valuable. Please sign up for it here:

Andrew Ng

357,661 次观看 • 1 年前

✨ I spent the last 48 hours making GPT-4 read the entire Solana validator codebase and write documentation, so doesn't have to. Introducing — an AI-powered chatbot trained on nothing but code that can answer deep technical questions. How it works 👇 But first... A huge shoutout to , Zahid Khawaja, and Sean. Their hard work made prototyping this thing a breeze. Without further ado... Devs like to write code, not documentation. Tribal knowledge is lost when devs move on to other projects, leaving future devs to sort through mountains of code and figure out not just how it works, but why it works that way. This is all about to change. GPT-4's ability to write code is stunning. It seems to understand something fundamental about writing software that previous models just didn't. This comprehension of the principles that drive the design behind a complex system carries over into its ability to document existing codebases in a truly impressive way. With the enlarged context window(s), it's now feasible to feed GPT-4 entire files of code and ask it to write documentation about how the code works. Taking this as a starting point, the process looks something like this: 1. Download repo. 2. Depth-first traversal of repo contents, ignoring things like package-lock and binary files. 3. For each file, feed to GPT-4 and ask it to write documentation in markdown. 4. Save the output in a separate location as [outputRoot]/[inputFilepath][inputFilename].md 5. For each folder, we ask GPT-4 to write a summary of the folder, taking the newly generated documentation for all files in the folder and the summaries from each of its subfolders as context. Write this to the filesystem as markdown. Now we have a filesystem that matches the structure of the input repo, but all files in the tree are markdown documentation of the corresponding code file. From here, we: 1. Load markdown documents into LangChain. 2. Embed all documents via OpenAI embeddings. 3. Store embeddings in Pinecone. When a user sends a query: 1. Embed query. 2. Find k-nearest markdown files. 3. Feed to GPT-4 with a prompt asking to answer the query based on k-nearest markdown documents provided. The craziest part of all this? GPT-4 actually wrote ~30% of the code. The results are pretty good for 2 days of work. There is certainly room for improvement. Some items that are top of mind: 1. TolyGPT will occasionally hallucinate answers. It is especially bad with links to external sources, like GitHub. The base model seems to know a bit about Solana already, and sometimes this creeps in. Fine-tuning the prompt can solve some of this. 2. Context selection is difficult in a codebase this large. For example, sometimes it will pull in details about the Solana SDK when asked about transaction processing. The SDK files can seem relevant depending on the phrasing of the question. It may be worth breaking the documentation into subsystems to limit this. 3. Not all files fit into the 32k token window. As of now, there are 23 (out of ~1,100) files that cannot be documented in their entirety. Some of these files are very important to how Solana works. Final thoughts: 1. GPT-4 is super powerful, and we're going to see a ton of tools that supercharge the entire software development lifecycle. This is not 12 months away. For the people that can afford it, these tools are here now. And they're only getting better. Act accordingly. 2. The price of inference has to come down for this to go mainstream. I spent about $300 prototyping this project, and the final crawl cost about the same. The high cost of GPT-4 will push developers to other, cheaper alternatives with similar performance. This is coming very soon. If you have a large software project and you're interested in something like this for your codebase, fill out this form and we'll be in touch this week. Or just DM me :)

Sam Hogan 🇺🇸

374,577 次观看 • 3 年前