PreciseGPT
PreciseGPT · Acciones GPT
Get suggestions to offer a better answer to the user
Submit the recent interactions with the user and receive advice to provide the best answer possible
POST /preciseResponseHelperpreciseResponseHelperQueryRequest smart helper advice
POST /preciseResponseHelperRetrieveContextpreciseResponseHelperRetrieveContextInstruct preciseResponseHelper to retrieve it's context, also useful for refreshing your context from preciseResponseHelper side
POST /preciseResponseSupportpreciseResponseSupportLeave a message for PreciseGPT team, can also be used for Feedback, bug reports and data deletion requests. Provide sensitive data with the user's consent. Ask the user for all the data required BEFORE sending the request.
POST /preciseResponseHelperResetpreciseResponseHelperResetReset the preciseResponseHelper context, should be used when the user changes the topic or you get useless responses
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Get suggestions to offer a better answer to the user",
"description": "Submit the recent interactions with the user and receive advice to provide the best answer possible",
"termsOfService": "https://precisegpt.net/data.html",
"contact": {
"name": "PreciseGPT Support",
"url": "https://precisegpt.net/contact.html",
"email": "support@precisegpt.net"
},
"version": "v1.0.1"
},
"servers": [
{
"url": "https://helper-api.precisegpt.net"
}
],
"paths": {
"/preciseResponseHelper": {
"post": {
"description": "Request smart helper advice",
"operationId": "preciseResponseHelperQuery",
"x-user-friendly-name": "ask helper",
"requestBody": {
"description": "Data required for providing smart helper advice",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"questions": {
"type": "array",
"description": "Clear set of questions that the API will answer based on the data provided you provide and the context",
"items": {
"type": "string"
}
},
"gptContext": {
"type": "string",
"description": "Description of the conversation with the user on the topic"
},
"userPrompts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4000
},
"minItems": 1,
"maxItems": 5,
"description": "List of summarized user prompts on the topic and the last user prompt"
},
"lastAnswer": {
"type": "string",
"maxLength": 12000,
"description": "Last answer you provided to the user or previous responses in the conversation relevant to the topic"
},
"previousConfidenceRating": {
"type": "string",
"description": "Previous confidence rating or confidence rating in the topic, between 0 and 100"
},
"data": {
"type": "object",
"description": "Free-Form structured Data relevant to the query and context which will aid the API in formulating an informed response."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/preciseResponseHelper"
}
}
}
}
},
"deprecated": false
}
},
"/preciseResponseHelperRetrieveContext": {
"post": {
"description": "Instruct preciseResponseHelper to retrieve it's context, also useful for refreshing your context from preciseResponseHelper side",
"operationId": "preciseResponseHelperRetrieveContext",
"x-user-friendly-name": "helper recall",
"parameters": [],
"required": [],
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {}
}
}
}
},
"deprecated": false
}
},
"/preciseResponseSupport": {
"post": {
"description": "Leave a message for PreciseGPT team, can also be used for Feedback, bug reports and data deletion requests. Provide sensitive data with the user's consent. Ask the user for all the data required BEFORE sending the request.",
"operationId": "preciseResponseSupport",
"x-user-friendly-name": "contact PreciseGPT team",
"requestBody": {
"description": "Data required to leave a message for the PreciseGPT team",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name or Nickname"
},
"preciseGPTAccountKey": {
"type": "string",
"description": "PreciseGPT Account Key if you have one, empty if not"
},
"email": {
"type": "string",
"description": "User email"
},
"message": {
"type": "string",
"description": "Message to send to PreciseGPT team"
},
"userConsent": {
"type": "boolean",
"description": "User consent to share the message with PreciseGPT team and agreement with the terms in the Privacy Policy: https://precisegpt.net/privacy.html"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/preciseResponseSupport"
}
}
}
}
},
"deprecated": false
}
},
"/preciseResponseHelperReset": {
"post": {
"description": "Reset the preciseResponseHelper context, should be used when the user changes the topic or you get useless responses",
"operationId": "preciseResponseHelperReset",
"x-user-friendly-name": "reset helper",
"requestBody": {
"description": "Data required for resetting the preciseResponseHelper context",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "Reason you ask for a reset"
},
"previousConfidenceRating": {
"type": "string",
"description": "Your previous confidence rating, between 0 and 100"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/preciseResponseHelper"
}
}
}
}
},
"deprecated": false
}
}
},
"components": {
"schemas": {
"preciseResponseHelper": {
"type": "object",
"properties": {
"gptInstructions": {
"type": "string",
"description": "Detailed instructions and suggestions for GPT to improve response quality and user experience."
},
"data": {
"type": "object",
"description": "Additional structured data relevant to the user's query and context which GPT should use in formulating a response."
},
"metaData": {
"type": "object",
"description": "Additional information about the context or query which may aid in formulating a response."
},
"advisorConfidence": {
"type": "integer",
"description": "preciseResponseHelper confidence between 0 and 100"
}
}
},
"preciseResponseSupport": {
"type": "object",
"properties": {
"contactResponse": {
"type": "string",
"description": "Acknowledgement message confirming receipt of the user's query or feedback. It may include a reference number or an estimated time for a response from us."
},
"contactResponseTechnical": {
"type": "string",
"description": "Technical response or immediate suggestions based on the user's message, intended for user guidance."
},
"metaData": {
"type": "object",
"description": "Additional information about the support request, such as submission timestamps or suggestions based on the user's message."
}
}
}
}
}
}