CtrlF+
CtrlF+ · GPT Actions
Autoleaf Plugin
A plugin to add Arxiv urls to your knowledge base, query the LaTeX in the knowledge base, and assist in writing scientific articles.
POST /send-arxiv-urlReceive an Arxiv URL and a collection name and add it to the database.POST /query-databaseQuery the database for information given a collection name and a query string."
Original API schema
{
"openapi": "3.0.1",
"info": {
"title": "Autoleaf Plugin",
"description": "A plugin to add Arxiv urls to your knowledge base, query the LaTeX in the knowledge base, and assist in writing scientific articles.",
"version": "v1"
},
"servers": [
{
"url": "https://autoleaf.up.railway.app"
}
],
"paths": {
"/send-arxiv-url": {
"post": {
"operationId": "receiveUrl",
"summary": "Receive an Arxiv URL and a collection name and add it to the database.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/receiveUrlRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/receiveUrlResponse"
}
}
}
}
}
}
},
"/query-database": {
"post": {
"operationId": "queryDatabase",
"summary": "Query the database for information given a collection name and a query string.\"",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/queryDatabaseRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/queryDatabaseResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"receiveUrlRequest": {
"type": "object",
"required": [
"url",
"collection"
],
"properties": {
"url": {
"type": "string",
"description": "The Arxiv URL to add to the database."
},
"collection": {
"type": "string",
"description": "The name of the collection to add the content to."
}
}
},
"receiveUrlResponse": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A message indicating the result of the operation."
}
}
},
"queryDatabaseRequest": {
"type": "object",
"required": [
"text",
"collection"
],
"properties": {
"text": {
"type": "string",
"description": "The text provided by the user."
},
"collection": {
"type": "string",
"description": "The name of the collection to query."
}
}
},
"queryDatabaseResponse": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The results of the query."
}
}
}
}
}
}