Spaces:
Running
Running
Update .env.local.template
Browse files- .env.local.template +1 -72
.env.local.template
CHANGED
@@ -31,78 +31,7 @@ COMMUNITY_TOOLS=true
|
|
31 |
ENABLE_ASSISTANTS=true
|
32 |
ENABLE_ASSISTANTS_RAG=true
|
33 |
|
34 |
-
TOOLS=`[
|
35 |
-
{
|
36 |
-
"name": "getContext",
|
37 |
-
"description": "Return relevant documents from the Entitat Autònoma del Diari Oficial i de Publicacions (EADOP).",
|
38 |
-
"color": "red",
|
39 |
-
"icon": "chat",
|
40 |
-
"baseUrl": "BSC-LT/VECTOR_STORE_EADOP",
|
41 |
-
"endpoint": "/get-eadop-rag",
|
42 |
-
"outputComponent": "textbox",
|
43 |
-
"displayName":"RAG EADOP",
|
44 |
-
"outputComponentIdx": 0,
|
45 |
-
"inputs":[
|
46 |
-
{"name":"prompt", "paramType":"required", "type":"str"},
|
47 |
-
{ name: 'num_chunks', paramType: 'fixed', value: '2', type: 'float' }
|
48 |
-
],
|
49 |
-
"_id": "5f2c1b9d8a9a4d3b6a7f9e2c",
|
50 |
-
"showOutput": true
|
51 |
-
},
|
52 |
-
{
|
53 |
-
"name": "generate_image",
|
54 |
-
"description": "Use this tool to generate images based on a prompt.",
|
55 |
-
"color": "yellow",
|
56 |
-
"icon": "camera",
|
57 |
-
"baseUrl": "BSC-LT/FLUX.1-schnell",
|
58 |
-
"endpoint": "/infer",
|
59 |
-
"outputComponent": "image",
|
60 |
-
"displayName":"Image Generation",
|
61 |
-
"outputComponentIdx": 0,
|
62 |
-
"inputs":[
|
63 |
-
{
|
64 |
-
name: 'prompt',
|
65 |
-
description: 'Prompt to generate the image',
|
66 |
-
paramType: 'required',
|
67 |
-
type: 'str'
|
68 |
-
},
|
69 |
-
{
|
70 |
-
name: 'seed',
|
71 |
-
paramType: 'fixed',
|
72 |
-
value: '0',
|
73 |
-
type: 'float'
|
74 |
-
},
|
75 |
-
{
|
76 |
-
name: 'randomize_seed',
|
77 |
-
paramType: 'fixed',
|
78 |
-
value: 'true',
|
79 |
-
type: 'bool'
|
80 |
-
},
|
81 |
-
{
|
82 |
-
name: 'width',
|
83 |
-
description: 'numeric value between 256 and 2048',
|
84 |
-
paramType: 'optional',
|
85 |
-
default: '1024',
|
86 |
-
type: 'float'
|
87 |
-
},
|
88 |
-
{
|
89 |
-
name: 'height',
|
90 |
-
description: 'numeric value between 256 and 2048',
|
91 |
-
paramType: 'optional',
|
92 |
-
default: '1024',
|
93 |
-
type: 'float'
|
94 |
-
},
|
95 |
-
{
|
96 |
-
name: 'num_inference_steps',
|
97 |
-
paramType: 'fixed',
|
98 |
-
value: '4',
|
99 |
-
type: 'float'
|
100 |
-
}
|
101 |
-
],
|
102 |
-
"_id": "5f2c1b9d8a9a4d3b6a7f9e2d",
|
103 |
-
"showOutput": true
|
104 |
-
}
|
105 |
-
]`
|
106 |
|
107 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
108 |
MODELS=`[
|
|
|
31 |
ENABLE_ASSISTANTS=true
|
32 |
ENABLE_ASSISTANTS_RAG=true
|
33 |
|
34 |
+
TOOLS=`[]`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
37 |
MODELS=`[
|