This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, json | |
from dotenv import load_dotenv | |
load_dotenv() | |
# uv add portkey-ai==2.0.0 | |
from portkey_ai import Portkey | |
import base64 | |
import httpx | |
portkey = Portkey( | |
api_key=os.getenv("PORTKEY_API_KEY") |