Pesquisa Avançada
Resultado(s) da Pesquisa
15 resultados encontrados
MicroService AI
Agents are configurable virtual assistants that interact with users. They can be created, updated, listed and deleted via API. Additionally, you can manage conversations and files associated with each agent. The application allows you to customize these intera...
HOW TO GET START
This section will guide you through the steps needed to set up and start the project in your local environment. Follow these instructions to ensure you have all the prerequisites installed and configured correctly, and to make sure the project runs as expected...
ASSISTANTS
AI assistants are virtual agents designed to automate interactions and streamline tasks. They are created and configured via API endpoints, which allow users to set up, update, and manage assistants with specific models and instructions. These assistants hand...
ASSITANTS/CHAT
The Agents/Chat functionality enables users to interact with AI assistants through automated conversations. Users can start new chats or continue existing ones using specific API endpoints, allowing for seamless communication. Messages sent to the assistants a...
ASSITANTS/FILES
Agents/Files functionality allows users to upload and manage documents associated with AI assistants. Users can upload files via a POST request to /assistants/{id}/files and delete them using a DELETE request to /assistants/{id}/files/{fileId}. This capability...
PREREQUISITES
1- DOCKER AND DOCKER COMPOSE NEED TO BE INSTALLED IN YOUR MACHINE. Docker is crucial in this application because it allows you to create an isolated and consistent environment for development, testing and production. With Docker, all necessary dependencies an...
FIRST STEP
1.CLONE: git clone <repository-url> cd <repository-name> 2.COPY THE EXAMPLE FILE '.ENV': cp example.env .env 3.EDIT THE FILE '.ENV ' WITH YOUR CONFIGURATIONS : OPEN THE FILE.env IN ONE FILE EDITOR AND FILL ON THE VARIABLES , LIKE OPENAI_API_KEY, TOKEN_ACCESS...
CREATE ASSISTANTS
METHOD: POST ROUTE: /assistants DESCRIPTION: CREATE ASSISTANTS. BODY: { "referenceId": "string" "name": "string", "description": "string", "model": "string", "instructions": "string", "temperature": 1.0 } ANSWER: 200: SUCCESS { "id": "string", "cr...
DELETE ASSISTANT
METHOD: DELETE ROUTE: /assistants/{id} DESCRIPTION: DELETE AN ASSISTANT. PARAMETERS: PATH: id (string, required) ANSWERS: 200: SUCCESS 422: VALIDATION ERROR
UPTADE ASSISTANT
METHOD: PUT ROUTE: /assistants/{id} *DESCRIPTION: UPTADE ASSISTANT. PATH: id (string, required) BODY: { "name": "string", "description": "string", "model": "string", "instructions": "string", "temperature": 1.0 } ANSWERS: 200: SUCCESS { "id": "...
LIST AGENTS
METHOD: GET ROUTE: /assistants/ DESCRIPTION: LIST ALL ASSISTENTS. QUERY: -sort(optional ) -sortorder(optional, "asc|desc") -page(optional) -limit(optional) ANSWER: 200: SUCCESS [ { "id": "string", "created_at": 1234567890, "model": "string", "object":...
GET
METHOD: GET ROUTE: /assistants/{id}/chat/{threadId} DESCRIPTION: UPTADE THE CHAT ASSISTANT. PARAMETERS: PATH: id (string, required) -threadId (string, required)
POST
METHOD: POST ROUTE: /assistants/{id}/chat DESCRIPTION: CREATE A NEW CHAT ASSISTANT. PARAMETERS: threadId PATH: id (string, required) { "message": "string" }
POST
METHOD: POST ROUTE: /assistants/{id}/files DESCRIPTION: CREATE A NEW FILE ASSISTANT. PATH: id (string, required) { "message": "string" }
DELETE
METHOD: DELETE ROUTE: /assistants/{id}/files/{fileId} DESCRIPTION: DELETE A FILE ASSISTANT. PATH: id (string, required) FileId(string, required)