neuralwork
/
mistral-stylist
Get fashion style recommendations from Mistral
Run neuralwork/mistral-stylist with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
prompt |
string
|
Prompt to send to the model.
|
|
event |
string
(enum)
|
Options: nature retreat, work / office event, wedding as a guest, tropical vacation, conference, sports event, winter vacation, beach, play / concert, picnic, night club, national parks, music festival, job interview, city tour, halloween party, graduation, gala / exhibition opening, fancy date, casual gathering, cruise, concert, cocktail party, casual date, business meeting, camping / hiking, birthday party, business lunch, bar, bachelorette / bachelor party, semi-casual event |
Event type.
|
max_new_tokens |
integer
|
1500
Min: 1 |
Maximum number of tokens to generate. A word is generally 2-3 tokens
|
min_new_tokens |
integer
|
-1
Min: -1 |
Minimum number of tokens to generate. To disable, set to -1. A word is generally 2-3 tokens.
|
temperature |
number
|
0.9
Min: 0.01 Max: 5 |
Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.
|
top_p |
number
|
0.9
Max: 1 |
When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens
|
seed |
integer
|
0
Max: 1000 |
Seed for reproducibility
|
{
"type": "object",
"title": "Input",
"required": [
"prompt",
"event"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"maximum": 1000,
"minimum": 0,
"x-order": 6,
"description": "Seed for reproducibility"
},
"event": {
"enum": [
"nature retreat",
"work / office event",
"wedding as a guest",
"tropical vacation",
"conference",
"sports event",
"winter vacation",
"beach",
"play / concert",
"picnic",
"night club",
"national parks",
"music festival",
"job interview",
"city tour",
"halloween party",
"graduation",
"gala / exhibition opening",
"fancy date",
"casual gathering",
"cruise",
"concert",
"cocktail party",
"casual date",
"business meeting",
"camping / hiking",
"birthday party",
"business lunch",
"bar",
"bachelorette / bachelor party",
"semi-casual event"
],
"type": "string",
"title": "event",
"description": "Event type.",
"x-order": 1
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 0.9,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt to send to the model."
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.9,
"maximum": 5,
"minimum": 0.01,
"x-order": 4,
"description": "Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value."
},
"max_new_tokens": {
"type": "integer",
"title": "Max New Tokens",
"default": 1500,
"minimum": 1,
"x-order": 2,
"description": "Maximum number of tokens to generate. A word is generally 2-3 tokens"
},
"min_new_tokens": {
"type": "integer",
"title": "Min New Tokens",
"default": -1,
"minimum": -1,
"x-order": 3,
"description": "Minimum number of tokens to generate. To disable, set to -1. A word is generally 2-3 tokens."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output"
}