-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathupsonic_configs.json
More file actions
101 lines (101 loc) · 2.87 KB
/
upsonic_configs.json
File metadata and controls
101 lines (101 loc) · 2.87 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
{
"envinroment_variables": {
"UPSONIC_WORKERS_AMOUNT": {
"type": "number",
"description": "The number of workers for the Upsonic API",
"default": 1
},
"API_WORKERS": {
"type": "number",
"description": "The number of workers for the Upsonic API",
"default": 1
},
"RUNNER_CONCURRENCY": {
"type": "number",
"description": "The number of runners for the Upsonic API",
"default": 1
},
"NEW_FEATURE_FLAG": {
"type": "string",
"description": "New feature flag added in version 2.0",
"default": "enabled"
}
},
"machine_spec": {
"cpu": 2,
"memory": 4096,
"storage": 1024
},
"agent_name": "Contract Analyzer Agent",
"description": "AI-powered contract analysis agent for legal and business insights",
"icon": "book",
"language": "book",
"streamlit": true,
"proxy_agent": false,
"dependencies": {
"api": [
"upsonic",
"fastapi",
"uvicorn>=0.34.2",
"aiofiles>=24.1.0",
"PyPDF2",
"python-docx",
"python-dotenv",
"chromadb",
"openai"
],
"streamlit": [
"streamlit"
],
"development": [
"pytest",
"ipdb"
]
},
"entrypoints": {
"api_file": "main.py",
"streamlit_file": "streamlit_app.py"
},
"input_schema": {
"inputs": {
"contract_text": {
"type": "string",
"description": "The contract text to analyze",
"required": true,
"default": null
},
"analysis_type": {
"type": "string",
"description": "Type of analysis: 'full', 'summary', 'risk', or 'extraction'",
"required": false,
"default": "full"
},
"session_id": {
"type": "string",
"description": "Session ID for conversation continuity",
"required": false,
"default": null
},
"question": {
"type": "string",
"description": "Specific question to ask about the contract (for Q&A mode)",
"required": false,
"default": null
}
}
},
"output_schema": {
"analysis_result": {
"type": "string",
"description": "The contract analysis result"
},
"analysis_type": {
"type": "string",
"description": "The type of analysis performed"
},
"error": {
"type": "string",
"description": "Error message if analysis failed"
}
}
}