# Request to GPT Vision

Request to GPT Vision for image analysis.

<table data-header-hidden><thead><tr><th width="296.76666259765625" valign="top"></th><th width="323.56671142578125" valign="top"></th></tr></thead><tbody><tr><td valign="top">User Request</td><td valign="top">[Text] Enter the text of the request to the neural network.</td></tr><tr><td valign="top">Image File</td><td valign="top"><p>[Text] Path and name of the image file.</p><p>Supported formats:</p><ul><li>.jpg;</li><li>.png.</li></ul></td></tr><tr><td valign="top">Model</td><td valign="top">Select a model to generate a response.</td></tr><tr><td valign="top">Temperature</td><td valign="top"><p>[Number] A decimal number from 0 to 1 that indicates the degree of "randomness" or "creativity" of the result, where:</p><ul><li>0 - least creative result,</li><li>1 - most random.</li></ul><p>For most creative tasks, a value of 0.7 is more suitable, and if you want to receive the same response for the same request every time, set the value to 0.</p></td></tr><tr><td valign="top">Maximum Length</td><td valign="top"><p>[Number] The maximum length of the result, expressed in conditional tokens.</p><p>For English, 1 token is 4 characters, for most other languages, 1 token is 1 character.</p><p>Reduce this number if you want to receive shorter requests on average, increase it for longer requests. Keep in mind that this number limits the length of the response, but the response may not necessarily be the length you specified - depending on the content of the request, it may be shorter.</p></td></tr><tr><td valign="top">Auto Length Limiting</td><td valign="top">When enabled, the specified maximum length will be automatically adjusted. This is done by calculating the number of tokens in the request and considering the maximum possible number of tokens for the selected model.</td></tr><tr><td valign="top">Timeout</td><td valign="top"><p>[Number] The maximum waiting time for a response in seconds. The actual waiting time depends on the selected model, the length of your request, and the expected length of the response, as well as the current load on the servers.</p><p>If the set timeout limit is exceeded, an error occurs.</p></td></tr><tr><td valign="top">Response Role</td><td valign="top">[Text] The role with which the neural network responded.</td></tr><tr><td valign="top">Response</td><td valign="top">[Text] The text of the response from the neural network.</td></tr><tr><td valign="top">Final Length</td><td valign="top">[Number] The final length of the request and result (combined), expressed in conditional tokens.</td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - by default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that the blocks will output during operation. Possible values:</p><ul><li>"Default" - by default;</li><li>"Release" - output is disabled;</li><li>"Debug" - main information output;</li><li>"Detailed" - detailed information output.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block.</td></tr></tbody></table>


---

# 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://docs.sherparpa.ru/en/sherpa-rpa/sherpa-designer/spravochnik-blokov/mashinnoe-obuchenie-machine-learning/zapros-k-gpt-vision-openaivisionrequest.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.
