Skip to content

Commit

Permalink
published induced.ai
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 committed Mar 26, 2024
1 parent 06cada5 commit 7e1043f
Show file tree
Hide file tree
Showing 14 changed files with 1,479 additions and 0 deletions.
106 changes: 106 additions & 0 deletions sdks/db/cached-method-objects/from-custom-request_induced.ai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
hash: 888fcb00ab5f7257272f3cf596ab5aed1b8e77301c425baf3c9c7654d5b8803d
methodObjects:
- url: /autonomous
method: execute
httpMethod: post
tag: Task
typeScriptTag: task
description: Execute an Autonomous Task
parameters:
- name: task
schema: string
description: ''
example: Go to google and search for Elon Musk
responses:
- statusCode: '200'
description: ''
- url: /autonomous/{id}
method: getResult
httpMethod: get
tag: Autonomous
typeScriptTag: autonomous
description: Get Autonomous Task Result
parameters:
- name: id
schema: string
required: true
description: ''
example: ID
responses:
- statusCode: '200'
description: ''
- url: /autonomous/{id}/stop
method: terminateTask
httpMethod: post
tag: Autonomous
typeScriptTag: autonomous
description: Stop an Autonomous Task
parameters:
- name: id
schema: string
required: true
description: ''
example: ID
responses:
- statusCode: '200'
description: Task stopped successfully
- url: /autonomous/{id}/feedback
method: submission
httpMethod: post
tag: Feedback
typeScriptTag: feedback
description: Provide Feedback for an Autonomous Task
parameters:
- name: id
schema: string
required: true
description: ''
example: ID
- name: feedback
schema: boolean
description: ''
responses:
- statusCode: '200'
description: Feedback received successfully
- url: /extract
method: fromUrl
httpMethod: post
tag: Extraction
typeScriptTag: extraction
description: Extract data from a URL
parameters:
- name: url
schema: string
description: ''
- name: query
schema: string
description: ''
- name: columns
schema: string
description: ''
- name: limit
schema: integer
description: ''
- name: format
schema: string
description: ''
responses:
- statusCode: '200'
description: ''
- url: /extract/{id}
method: getResult
httpMethod: get
tag: Extraction
typeScriptTag: extraction
description: Get extraction result
parameters:
- name: id
schema: string
required: true
description: ''
example: ID
responses:
- statusCode: '200'
description: ''
numberOfSchemas: 7
apiDescription: Building the next evolution of actionable AI.
1 change: 1 addition & 0 deletions sdks/db/category-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,4 @@ apis:
Slope-undefined: Payment Processing
HiBob-undefined: HR Talent & Recruitment
intelliHR-undefined: HR Talent & Recruitment
InducedAI-undefined: AI Tools
1 change: 1 addition & 0 deletions sdks/db/custom-request-last-fetched.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,4 @@ lastUpdated:
slope.so: 2024-03-26T05:36:21.770Z
hibob.com: 2024-03-26T06:54:43.640Z
intellihr.com: 2024-03-26T07:08:24.035Z
induced.ai: 2024-03-26T07:54:57.246Z
247 changes: 247 additions & 0 deletions sdks/db/custom-request-specs/induced.ai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
openapi: 3.0.0
info:
title: Autonomous API
version: 1.0.0
servers:
- url: https://api.induced.ai/api/v1
paths:
/autonomous:
post:
summary: Execute an Autonomous Task
operationId: executeAutonomousTask
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
task:
type: string
example: Go to google and search for Elon Musk
responses:
'200':
description: Task executed successfully
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
id:
type: string
streamingUrl:
type: string
watchUrl:
type: string
requestId:
type: string
timeTaken:
type: integer
security:
- ApiKeyAuth: []
/autonomous/{id}:
get:
summary: Get Autonomous Task Result
operationId: getAutonomousTaskResult
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Task result retrieved successfully
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
run:
type: object
properties:
id:
type: string
status:
type: string
objective:
type: string
steps:
type: array
items:
type: object
properties:
id:
type: string
step:
type: string
status:
type: string
thought:
type: string
result:
type: string
requestId:
type: string
timeTaken:
type: integer
security:
- ApiKeyAuth: []
/autonomous/{id}/stop:
post:
summary: Stop an Autonomous Task
operationId: stopAutonomousTask
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Task stopped successfully
security:
- ApiKeyAuth: []
/autonomous/{id}/feedback:
post:
summary: Provide Feedback for an Autonomous Task
operationId: provideAutonomousTaskFeedback
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
feedback:
type: boolean
responses:
'200':
description: Feedback received successfully
security:
- ApiKeyAuth: []
/extract:
post:
summary: Extract data from a URL
operationId: extractData
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
query:
type: string
columns:
type: string
limit:
type: integer
format:
type: string
enum:
- json
- csv
- markdown
responses:
'200':
description: Data extracted successfully
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
id:
type: string
status:
type: string
objective:
type: string
requestId:
type: string
timeTaken:
type: integer
security:
- ApiKeyAuth: []
/extract/{id}:
get:
summary: Get extraction result
operationId: getExtractionResult
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Extraction result retrieved successfully
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
run:
type: object
properties:
id:
type: string
status:
type: string
objective:
type: string
url:
type: string
screenshot:
type: string
output:
type: object
properties:
name:
type: string
value:
type: string
format:
type: string
time:
type: number
requestId:
type: string
timeTaken:
type: integer
security:
- ApiKeyAuth: []
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
Loading

0 comments on commit 7e1043f

Please sign in to comment.