gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

implement new feature - function calling

Open smoking-caterpillar opened this issue 2 years ago • 3 comments

With the release of gpt-3.5-turbo-0613 and gpt-4-0613, OpenAI implemented function calling which now makes it possible to call python functions via chat responses. It can also work with GPT 3.5 for anyone not on the GPT-4 beta. More info - https://platform.openai.com/docs/guides/gpt/function-calling

smoking-caterpillar avatar Jun 15 '23 21:06 smoking-caterpillar

This could be used to save files to the filesystem

smoking-caterpillar avatar Jun 15 '23 21:06 smoking-caterpillar

This could be used to save files to the filesystem

You can do anything with just function calling now. I would say one of the best things OpenAI has done.

Meathelix1 avatar Jun 16 '23 01:06 Meathelix1

After my testing, implementing chat_to_files using function calling is very accurate.

I'm planning to submit a PR these days.

Here is the PR: https://github.com/AntonOsika/gpt-engineer/pull/94

Can I get your review?

@AntonOsika @patillacode

NoCLin avatar Jun 16 '23 15:06 NoCLin