HAHAHAHAHAH

This commit is contained in:
Agnosto Dvonik 2024-02-24 13:28:59 -05:00
parent d51bb4a562
commit db278dcfd8

16
data.py
View File

@ -12,9 +12,17 @@ client = OpenAI(
def app(): def app():
# data shit --> where does it come from??? # data shit --> where does it come from???
data = OCR.image_to_string("input.png") data = OCR.image_to_string("input.png")
print(data) print(data)
""" complete = client.chat.completions.create(
UNFINISHED model="gpt-3.5-turbo",
""" messages = [
{
"role": "user",
"content": "parse the following data in JSON format: ${data}",
}
])
print(complete.choices[0].message.content)
app()