supershaneski/openai-api-function-call-sample

A sample app to demonstrate Function calling using the latest format in Chat Completions API and also in Assistants API.

41
/ 100
Emerging

This project helps developers integrate AI models like GPT-3.5 or GPT-4 into their applications so those applications can intelligently use external tools. It demonstrates how to feed user queries into an AI, let the AI decide which external functions to call (like getting weather or booking a hotel), and then process the results back to the user. The primary user is a developer building AI-powered applications that need to interact with external systems.

No commits in the last 6 months.

Use this if you are a developer looking for a practical example of how to implement function calling with OpenAI's Chat Completions or Assistants API in a Next.js application.

Not ideal if you are an end-user looking for a ready-to-use AI assistant or an application development framework, as this is a sample demonstrating a specific API feature.

AI application development API integration conversational AI tool use backend development
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 16 / 25

How are scores calculated?

Stars

97

Forks

16

Language

JavaScript

License

MIT

Last pushed

Nov 21, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/supershaneski/openai-api-function-call-sample"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.