You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the format has changed in recent openai python package versions. I'll investigate which versions adhere to which behavior and update the README with 2 install methods (old package and new package). Thanks for the tip.
new
from openai import OpenAI
client = OpenAI(
api_key="irrelevant", # this must set
base_url = "https://api.kastan.ai/v1" # this must set
)
def custom_completion(prompt):
custom_completion("what is the capital of france?")
The text was updated successfully, but these errors were encountered: