#assistant and thread
1 messages · Page 1 of 1 (latest)
creating run and retrieving run would look like this
def create_run(ass_id, thr_id):
run = openai.beta.threads.runs.create(
thread_id=thr_id,
assistant_id=ass_id,
#instructions=""
)
return run
def ret_run(thread_id, run_id):
run = openai.beta.threads.runs.retrieve(
thread_id=thread_id,
run_id=run_id
)
return run
Sorry, I ment custom gpt
you still need something this to use assistant
for example
can I call this url via api key using python, node?
@solemn plover Could you help me with this?
I have to ask ChatGPT to get the answer
I assume they didn't make it directly accesible via api