This repository was archived by the owner on Feb 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapiSpec.raml
More file actions
123 lines (116 loc) · 2.21 KB
/
Copy pathapiSpec.raml
File metadata and controls
123 lines (116 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#%RAML 1.0
title: AI Agent API
baseUri: /api/v0
mediaType:
- application/json
version: v0
protocols:
- HTTP
types:
SimpleChatQuery:
properties:
prompt:
example: Example
type: string
llm_temperature:
example: 0.7
type: number
format: float
llm_provider:
example: Example
type: string
llm_model:
example: Example
type: string
chat_memory:
example: true
type: boolean
max_output_token:
example: 500
type: number
format: int
SimpleChatResponse:
properties:
promptResponse:
example: Example
type: string
inputTokens:
example: 100
type: number
format: int
outputTokens:
example: 100
type: number
format: int
LlmList:
type: array
items:
properties:
llm_provider:
example: Example
type: string
llm_model:
example: Example
type: string
/chat:
post:
displayName: Generate Chat response
headers:
userId?:
example: Albert
type: string
body:
type: SimpleChatQuery
responses:
"200":
body:
type: SimpleChatResponse
delete:
displayName: Delete conversation history
headers:
userId?:
example: Albert
type: string
/llm:
get:
displayName: List of available LLMs
responses:
"200":
body:
type: LlmList
/tools:
get:
displayName: List available tools
responses:
"200":
body:
type: array
items:
properties:
name:
example: Example
type: string
description:
example: Example
type: string
/tools/selection:
get:
displayName: List selected tools
responses:
"200":
body:
type: array
items:
type: string
post:
displayName: Define tools selection
body:
type: array
items:
type: string
responses:
"200":
body:
type: array
items:
type: string