#triggher def openaiI

1 messages · Page 1 of 1 (latest)

final marsh
#

Guys I have 2 questions:

In a simple way how do I trigger a Python function via Openai, example:

I write to openai "Turn off the lights", and it triggers a python function and chatgpt returns a response, like: "Ok I turned off the lights"

The second question is how do I make it so that it triggers a function that returns a value and chatgpt processes it, example: I write to chatgpt what the weather was like, call the function that returns the value "20 degrees" and chat gpt responds with today it's 20 degrees .

I hope I was clear, thanks!

fiery thunder
final marsh
fiery thunder
final marsh
#

OK, thanks a lot. Dear

final marsh
#

@fiery thunder i have a question

fiery thunder