# ChatGPT PDF files

You can upload these files in your chatGPT and then ask to create code that you can upload in Misty.

This is the prompt that we suggest to use when uploading the files:

```
I am uploading three PDF files that provide comprehensive guidance on programming the Misty robot using Python. These files contain the following:

Misty_Python_API.pdf: This file includes all the API instructions available in Misty's Python SDK, offering detailed information on various functions and commands that can be used to control Misty.
Misty_Python_lessons.pdf: This document provides a series of lessons on how to build code for Misty, covering fundamental programming concepts and practical examples.
Misty_Python_projects.pdf: This file features advanced projects that demonstrate sophisticated use cases for Misty. You can refer to these examples to handle more complex tasks and inspire your responses to advanced requests.

Please utilize the information in these files to generate Python code for the Misty robot based on the queries provided.
```

{% file src="/files/LjiUQkTT40kBFy6ijrO4" %}

{% file src="/files/XsPfDYSivys4SpWiBz0V" %}

{% file src="/files/tOmZxbBF2MEjBx6jVNwu" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lessons.mistyrobotics.com/resource-database/chatgpt-pdf-files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
