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 openai | |
import openai_function | |
@openai_function | |
def sum(a:int, b:int) -> int: | |
"""Sum description adds a + b""" | |
return a + b | |
completion = openai.ChatCompletion.create( | |
model="gpt-3.5-turbo-0613", |