Skip to content

Instantly share code, notes, and snippets.

@kylemcdonald
Created June 14, 2023 01:10
Show Gist options
  • Save kylemcdonald/dbac21de2d7855633689f5526225154c to your computer and use it in GitHub Desktop.
Save kylemcdonald/dbac21de2d7855633689f5526225154c to your computer and use it in GitHub Desktop.
Example of OpenAI function calling API to extract data from LAPD newsroom articles.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielgwilson
Copy link

I'd like to star this 75 times. This example FINALLY helped me understand function calling. Can't believe it's so straightforward. Thanks a ton.

Screenshot 2024-05-10 at 12 17 25 PM

I really want to star it too but don't want to mess this up 😬—too perfect

@potatoqualitee
Copy link

haha! that was perfect. it's now at 76, enjoy 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment