KEVIN JOHN KULL
Upload gistfile1.txt
5dba34e
import os
import openai
openai.api_key = os.getenv("OPENAI_API_KEY")
def generate_schizoanalysis_response(prompt, model="text-davinci-002"):
full_prompt = f"Generate a response in the manner of schizoanalysis: {prompt}"
response = openai.Completion.create(
engine=model,
prompt=full_prompt,
max_tokens=150,
n=1,
stop=None,
temperature=0.7,
)
return response.choices[0].text.strip()
# Replace this with your actual question
your_question = "What is the nature of reality?"
response = generate_schizoanalysis_response(your_question)
print(f"Response: {response}")