YAV-AI/NodeJS-OpenAI-Function-Calling-Example
This repository contains a basic Node.js example demonstrating how to call functions using the OpenAI API. The example showcases a conversation with the OpenAI GPT-3.5 Turbo model, including making function calls and processing their responses.
This is a basic guide that shows developers how to make OpenAI's GPT models interact with external tools or data. It takes in a user's natural language request and uses a large language model to decide which predefined function to call, then processes the output. Developers building conversational AI applications would use this to add dynamic capabilities to their chatbots.
No commits in the last 6 months.
Use this if you are a developer looking for a straightforward, minimal example to integrate OpenAI's function calling feature into your Node.js application.
Not ideal if you are an end-user seeking a ready-to-use AI application, as this is a code example for developers.
Stars
29
Forks
6
Language
JavaScript
License
MIT
Category
Last pushed
Mar 13, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/YAV-AI/NodeJS-OpenAI-Function-Calling-Example"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
ndycode/oc-chatgpt-multi-auth
OpenCode plugin for using ChatGPT Plus/Pro in GPT-5 and Codex workflows with OAuth login,...
oceanlvr/ChatGPT-ProBot
🤖️ A ChatGPT based GitHub robot. dialogue/CR/etc..
dataforseo/open-ai-actions
OpenAPI specs for integrating DataForSEO APIs with ChatGPT Actions
rizerphe/openai-functions
Generate ChatGPT function call schemas based on function docstrings.
FullStackWithLawrence/openai-hello-world
A Python "Hello World" application that also demonstrates the OpenAI API and usage of Docker.