Skip to content

Instantly share code, notes, and snippets.

@hardcorebadger
hardcorebadger / gist:ab1d6703b13f2829fddbba2eeb1d4c8a
Created June 16, 2023 23:16
OpenAI Functions - Multi-Tool Agent
import requests
from functools import partial
import json
import openai
from termcolor import colored
MAX_ITERATIONS = 4
BASE_URL = "https://api.example.com"