mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
26314d7004
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"openapi": "3.0.1",
|
|
"info": {
|
|
"title": "Milo",
|
|
"description": "Use the Milo plugin to lookup how parents can help create magic moments / meaningful memories with their families everyday. Milo can answer - what's magic today?",
|
|
"version": "v2"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://www.joinmilo.com/api"
|
|
}
|
|
],
|
|
"paths": {
|
|
"/askMilo": {
|
|
"get": {
|
|
"operationId": "askMilo",
|
|
"summary": "Get daily suggestions from Milo about how to create a magical moment or meaningful memory for parents. Milo can only answer 'what's magic today?'",
|
|
"parameters": [
|
|
{
|
|
"in": "query",
|
|
"name": "query",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"required": true,
|
|
"description": "This should always be 'what's magic today?'"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/askMiloResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"askMiloResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"answer": {
|
|
"type": "string",
|
|
"description": "A text response drawn from Milo's repository"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |