gpt-engineer-org / gpt-engineer

Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app
MIT License
52.42k stars 6.82k forks source link

implement new feature - function calling #58

Closed smoking-caterpillar closed 1 year ago

smoking-caterpillar commented 1 year ago

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 commented 1 year ago

This could be used to save files to the filesystem

Meathelix1 commented 1 year ago

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.

NoCLin commented 1 year ago

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