Func-it translates API specifications into a properly formatted functions
parameter for the OpenAI Chat Completions API.
-
Clone the repository and navigate into the directory:
git clone https://github.com/username/funcit.git cd funcit
-
Install the dependencies using
pnpm
:pnpm install
-
Copy the
.env.example
file to.env.local
and add your OpenAI API key:cp .env.example .env.local nano .env.local
Replace
YOUR_OPENAI_API_KEY
inOPENAI_API_KEY=YOUR_OPENAI_API_KEY
with your actual OpenAI API key. -
Start the development server:
pnpm dev
-
Go to http://localhost:3000 to start using Func-it.
For additional details about the OpenAI Chat Completions API and function calling, please see the OpenAI documentation.
This project is licensed under the MIT license. See the LICENSE file for more information.