Чтобы разблокировать полный потенциал моделей чата с поддержкой визуального зрения, таких как GPT-4 Turbo с vision и GPT-4o, важно адаптировать запросы к конкретным потребностям. Ниже приведены некоторые рекомендации по повышению точности и эффективности запросов.
Основы написания запроса изображения
Контекстная специфика. Добавление контекста в сценарий под рукой дает модели лучшее представление о соответствующих выходных данных. Этот уровень специфики помогает сосредоточиться на соответствующих аспектах и избежать лишних подробностей.
Запросы, ориентированные на задачи: фокусирование на конкретной задаче помогает модели разрабатывать выходные данные при рассмотрении этой перспективы.
Обработка отказов. Когда модель указывает на неспособность выполнять задачу, уточнение запроса может быть эффективным решением. Более конкретные запросы могут направлять модель к более четкому пониманию и лучшему выполнению задачи. Имейте в виду следующие советы:
Объяснения запросов для созданных ответов для повышения прозрачности в выходных данных модели
При использовании запроса на одно изображение поместите изображение перед текстом
Попросите модель сначала описать изображение в деталях и завершить конкретную задачу из описания.
Добавление примеров. Добавление примеров, представляющих тип ответов, которые вы ищете
Разбиение запросов. Попробуйте разбить сложные запросы пошаговые инструкции по созданию управляемых вложенных целей
Определите формат выходных данных: четко упоминайте нужный формат для выходных данных, например markdown, JSON, HTML и т. д. Кроме того, можно предложить определенную структуру, длину или определенные атрибуты ответа.
Пример входных и выходных данных запроса
Существует множество способов создания системных запросов на настройку выходных данных в соответствии с вашими потребностями. В следующем примере входных данных и выходных данных показано, как настроить запросы, которые могут дать вам различные результаты. Попробуйте использовать эти образы и настроить системный запрос на игровой площадке Azure AI Foundry.
Контекстная специфика
Контекст может помочь улучшить отзывы от модели. Например, если вы работаете над описаниями изображений для каталога продуктов, убедитесь, что запрос отражает это в четком и кратком виде. Предложение, например "Описание изображений для каталога продуктов для походов на открытом воздухе, фокусируясь на энтузиазме и профессионализме", позволяет модели создавать ответы, которые являются точными и контекстно богатыми.
Базовый запрос
Выходные данные модели
Что такое на этом изображении?
The image shows a camping setup in a forest area. There is a yellow tent, two folding camping chairs—one red and one blue—and a portable camping table. The surrounding area is densely populated with trees, indicating that the campsite is in a wooded region.
Обновленный запрос
Выходные данные модели
Описание изображений для каталога продуктов для походов на открытом воздухе, акцентируя внимание на энтузиазме и профессионализме.
"Embark on your next outdoor adventure with our premium hiking and camping essentials! Featured here is our vibrant, spacious tent, designed to be your home away from home amidst the serenity of nature. Crafted with top-notch materials, it promises durability and comfort in any weather. Complementing the tent are our ultra-comfortable, lightweight folding chairs, available in eye-catching red and serene blue, perfect for those moments of relaxation after a day of exploration. Don't forget our sturdy, portable table, ideal for a delightful outdoor meal or a game of cards under the stars. Elevate your camping experience with our reliable products, where quality meets the great outdoors!"
Запросы, ориентированные на задачи
Предоставление модели определенной задаче для выполнения является одним из способов резкости ответа. В этом примере эта подсказка управляет моделью, чтобы сосредоточиться на элементах, важных для оценки страхования, тем самым повышая точность и релевантность.
Базовый запрос
Выходные данные модели
Что такое на этом изображении?
The image shows a silver sedan that has been in an accident. The front end of the car is damaged, with the hood crumpled, and the bumper partially detached. The car is resting against a utility pole on the sidewalk, and there is visible smoke coming from the engine area, indicating a recent crash. The setting appears to be a residential street, as indicated by the presence of houses in the background, a neatly trimmed hedge, and a sidewalk.
Обновленный запрос
Выходные данные модели
Анализ этого видео о повреждении автомобиля для отчета об автостраховки, сосредоточение на выявлении и детализации ущерба
In the image provided, we observe a silver sedan that has sustained significant front-end damage. The vehicle's hood is notably crumpled, and the front bumper has suffered substantial deformation, partially detaching from the chassis. The right headlamp assembly appears to be damaged or dislodged. There is also visible damage to the front grille area. The car is in contact with a utility pole, suggesting a frontal collision with the pole at a relatively low or moderate speed. Smoke is emanating from the engine compartment, suggesting potential mechanical or electrical damage that may need further inspection for a comprehensive assessment. The airbags do not appear to be deployed in this image. The vehicle will require a detailed inspection to evaluate the full extent of structural and mechanical damage for a complete insurance report.
Обработка отказов
При получении выходных данных отказа от модели существует несколько способов настройки входных данных для создания более подходящего ответа. Ниже приведен один из примеров того, как справиться с отказом и прогрессом.
Базовый запрос
Выходные данные модели
Планирование этой еды
Sorry, I can't provide that information.
Запрос на выполнение
Выходные данные модели
Какие сведения вам нужны?
I apologize for the confusion earlier. To plan a meal based on the image provided, I would need to know the following: The number of people dining to ensure there's enough food for everyone. Any dietary restrictions or preferences to accommodate (e.g., vegetarian, gluten-free, allergies). The occasion or type of meal being planned (e.g., casual lunch, dinner party). Desired balance of the meal in terms of food groups and nutrition. With this information, I could help suggest how to portion the dishes, create a balanced meal, and ensure the meal meets the needs of all diners.
Добавление примеров
Базовый запрос
Выходные данные модели
Что такое порода собак и что такое его средний вес и высота?
The dog in the image appears to be a Border Collie. Border Collies are known for their intelligence, agility, and herding abilities.The average weight for a Border Collie is typically around 30-45 pounds (14-20 kilograms). As for height, Border Collies generally stand about 18-22 inches (46-56 centimeters) tall at the shoulder. These figures can vary based on the individual dog's genetics, diet, and level of activity. Border Collies are medium-sized dogs with a well-proportioned body and a high level of energy.
Обновленный запрос
Выходные данные модели
Вопрос: Что такое порода собак и что такое средняя весовая и высота?
Ответ: Порода: померанец; средний вес: 3-7 фунтов; средняя высота: 8-14 дюймов Ответ: Порода: английский бульдог; средний вес: 50-55 lbs; средняя высота: 14-16 дюймов
A: Breed: Border Collie; average weight: 30-45 lbs; average height: 18-22 inches
Критические запросы
Базовый запрос
Выходные данные модели
Что в этом изображении?
The image contains a recipe card titled Grandma's Apple Crumb Pie. It is noted as a Thanksgiving tradition. The ingredients listed are:
5-7 apples, peeled
1 9-inch pie crust
3/4 cups sugar
1/2 teaspoon cinnamon
A dash of salt
3 tablespoons butter
Please note that the measurements for sugar, flour, and butter are not fully visible in the image. If needed, the standard measures for a crumb topping typically involve a combination of sugar, flour, and butter mixed together until crumbly
Обновленный запрос
Выходные данные модели
Вы являетесь помощником по искусственному интеллекту, который помогает создавать списки покупок и инструкции для подготовки пищи на основе рецептов. Укажите список ингредиентов для покупки, а затем укажите список инструкций по подготовке ингредиентов на основе карточки рецепта.
Sure, here's a shopping list based on the recipe card: Shopping List:
5-7 apples (suitable for baking, such as Granny Smith or Honeycrisp)
1 ready-made pie crust (9-inch)
Sugar (ensure you have enough for 1/2 cup)
All-purpose flour (ensure you have enough for 3/4 cup)
Ground cinnamon
Salt
Butter (ensure you have enough for 3 tablespoons)
Prepping Instructions:
Peel the apples: Using a vegetable peeler or a paring knife, remove the skin from 5 to 7 apples.
Core and slice the apples: Cut the apples into quarters, remove the cores, and then slice the apple quarters into thin slices or chunks, depending on your preference for pie texture.
Measure the ingredients: Measure out 3/4 cups of sugar, 1/2 teaspoon of cinnamon, a dash of salt (about 1/8 teaspoon), and 3 tablespoons of butter.
Prepare the butter: Cut the butter into small pieces to be ready to use in the recipe. It's often easier to incorporate if it's cold, so keep it refrigerated until it's needed
Preheat your oven according to the pie recipe's instructions so it's ready for baking once your pie is assembled.
Remember to follow any additional preparation or baking instructions provided in the full recipe for your apple crumb pie.
Определение формата выходных данных
Базовый запрос
Выходные данные модели
Описание этого изображения
The image shows a luxurious white villa with a traditional thatched roof on one section and a clear blue swimming pool in the foreground. There are sun loungers lined up along the poolside, inviting relaxation. The architecture includes elegant archways, a balcony with wooden railings, and large windows and doors that suggest a bright and airy interior. The villa is surrounded by lush tropical vegetation, including tall palm trees, which adds to the serene and exotic ambiance of the setting.
Обновленный запрос
Выходные данные модели
Вы являетесь помощником по искусственному интеллекту, который пишет подробные описания для свойств аренды отпуска. Суммируете в трех предложениях оптимальные функции описания на основе только того, что видно на изображении. В заключение с одним предложением о том, почему клиент должен забронировать сегодня.
This idyllic villa showcases an inviting private pool with steps for easy access, framed by a beautifully tiled sun deck and comfortable loungers ideal for soaking up the sun or enjoying a good book under the shade of tropical palms. Architectural charm is evident in the villa's design, featuring elegant archways, a thatched-roof gazebo, and balconies that promise serene views and a perfect spot to savor your morning or evening beverages. The lush greenery surrounding the property not only provides privacy but also enhances the sense of an exclusive paradise retreat. Don't miss the opportunity to secure this perfect blend of luxury and tranquility – book today for a tropical escape like no other!
Эти рекомендации и примеры показывают, как специализированные системные запросы могут значительно повысить производительность моделей с поддержкой визуального зрения, гарантируя, что ответы не только точны, но и идеально подходят для конкретного контекста задачи.