| Hi HN, I’ve been working on FunctionHub for the past few months and I’m excited to share it here. FunctionHub lets you write code in TypeScript and have GPT 3.5/4 call it. Your code can make HTTP requests to any API out there, scrape the web, or make database queries. GPT can then use the results to generate content, analyze data, or make further transactions to mutate objects. FunctionHub works by generating OpenAPI specs from your functions and passing them along to GPT. When GPT "invokes" your function, FunctionHub executes your code and re-prompts GPT with the result. It also supports chained function calls for complex tasks within a specific application domain. I wanted FunctionHub to be simple yet powerful enough for AI and general-purposes applications. So I built a VSCode-like editor with interactive API, NPM support, public functions that can be forked, and dynamic REST endpoints for your functions. I’d love to hear any feedback, suggestions, or problems you might have! Website: https://functionhub.net Docs: https://functionhub.net/docs Thanks! |
One thing I’m curious about is if function calling can reduce token usage and by how much. GPT 4 is quite expensive for any large app with a lot of usage.