Files
langchain/tests/unit_tests/examples/test_specs/joinmilo/apispec.json
T
Yaroslav Halchenko 0d92a7f357 codespell: workflow, config + some (quite a few) typos fixed (#6785)
Probably the most  boring PR to review ;)

Individual commits might be easier to digest

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
2023-07-12 16:20:08 -04:00

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"
}
}
}
}
}
}