Azure-Samples / azure-search-power-skills

A collection of useful functions to be deployed as custom skills for Azure Cognitive Search
MIT License
288 stars 170 forks source link

Adding support for customer-chosen language model in Azure AI Studio #202

Closed amitkalay closed 1 month ago

amitkalay commented 1 month ago

Purpose

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

What to Check

Verify that the following are valid

{
  "values": [
    {
      "warnings": null,
      "errors": [],
      "recordId": "5",
      "data": {
        "generative-caption": " The image shows a red Tesla Model S electric car driving on a highway. To make this car, the following parts are required:\n\n1. Body: The car's body is made of aluminum, which is lightweight and durable.\n2. Engine: The Tesla Model S uses an electric motor as its primary source of power.\n3. Battery: The car has a lithium-ion battery pack that stores the energy needed to power the electric motor.\n4. Chassis: The car's chassis is made of steel and provides the structural support for the car.\n5. Wheels: The Tesla Model S comes with alloy wheels, which are designed to provide good traction and stability on the road.\n6. Interior: The car's interior is made of high-quality materials and features advanced technology, such as a touchscreen display and a digital dashboard.\n7. Suspension: The car's suspension system is designed to provide a smooth and comfortable ride, even on rough roads.\n8. Tires: The Tesla Model S is equipped with low rolling resistance tires, which help improve the car's range and efficiency.\n9. Brake system: The car's braking system is designed to provide strong stopping power and help maintain the car's stability during deceleration."
      }
    }
  ]
}

Other Information