#Is it possible to read in a text file in canvas/pyodide

1 messages · Page 1 of 1 (latest)

weak loom
#

I'm hoping to use ChatGPT to help me solve advent of code puzzles without leaving the browser.

I start with attaced two text files. One is a description of the puzzle and the second is my input.

It is able to give me python to solve the puzzle and knows the name of my file name. Howerver, I would love it to be run the function of the text file that I uploaded

dim rivetBOT
#

Hi @weak loom. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. However, you might find helpful information in the OpenAI documentation or community forums. You can explore the OpenAI Cookbook (https://cookbook.openai.com) or the OpenAI Community Forum (https://community.openai.com) for more insights on using ChatGPT with file uploads and code execution.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: