bottemplates/default.gbai/default.gbot/config.csv
Rodrigo Rodriguez (Pragmatismo) 5adb6efec4 Fix .gbkb structure: move markdown files into subfolders
KB files must be inside topic folders, not at .gbkb root level.
Structure: bot.gbkb/topic-name/document.md
2025-12-29 18:21:20 -03:00

9.3 KiB

1name,value
2,
3# ============================================================================
4# SERVER CONFIGURATION
5# ============================================================================
6server_host,0.0.0.0
7server_port,8088
8sites_root,/tmp
9,
10# ============================================================================
11# LLM CONFIGURATION
12# ============================================================================
13llm-key,none
14llm-url,http://localhost:8081
15llm-model,../../../../data/llm/DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_M.gguf
16,
17llm-cache,false
18llm-cache-ttl,3600
19llm-cache-semantic,true
20llm-cache-threshold,0.95
21,
22episodic-memory-threshold,4
23,
24mcp-server,false
25,
26# ============================================================================
27# EMBEDDING CONFIGURATION
28# ============================================================================
29embedding-url,http://localhost:8082
30embedding-model,../../../../data/llm/bge-small-en-v1.5-f32.gguf
31,
32# ============================================================================
33# VECTOR DATABASE CONFIGURATION
34# ============================================================================
35vectordb-url,https://localhost:6333
36,
37# ============================================================================
38# LLM SERVER CONFIGURATION
39# ============================================================================
40llm-server,true
41llm-server-path,botserver-stack/bin/llm/build/bin
42llm-server-host,0.0.0.0
43llm-server-port,8081
44llm-server-gpu-layers,0
45llm-server-n-moe,0
46llm-server-ctx-size,4096
47llm-server-n-predict,1024
48llm-server-parallel,6
49llm-server-cont-batching,true
50llm-server-mlock,false
51llm-server-no-mmap,false
52,
53# ============================================================================
54# EMAIL CONFIGURATION
55# ============================================================================
56email-from,from@domain.com
57email-server,mail.domain.com
58email-port,587
59email-user,user@domain.com
60email-pass,
61,
62# ============================================================================
63# DATABASE CONFIGURATION
64# ============================================================================
65custom-server,localhost
66custom-port,5432
67custom-database,mycustomdb
68custom-username,
69custom-password,
70,
71# ============================================================================
72# WEBSITE CRAWLER CONFIGURATION
73# ============================================================================
74website-expires,1d
75website-max-depth,3
76website-max-pages,100
77,
78# ============================================================================
79# IMAGE GENERATOR CONFIGURATION
80# ============================================================================
81image-generator-model,../../../../data/diffusion/sd_turbo_f16.gguf
82image-generator-steps,4
83image-generator-width,512
84image-generator-height,512
85image-generator-gpu-layers,20
86image-generator-batch-size,1
87,
88# ============================================================================
89# VIDEO GENERATOR CONFIGURATION
90# ============================================================================
91video-generator-model,../../../../data/diffusion/zeroscope_v2_576w
92video-generator-frames,24
93video-generator-fps,8
94video-generator-width,320
95video-generator-height,576
96video-generator-gpu-layers,15
97video-generator-batch-size,1
98,
99# ============================================================================
100# BOTMODELS CONFIGURATION
101# ============================================================================
102botmodels-enabled,true
103botmodels-host,0.0.0.0
104botmodels-port,8085
105,
106default-generator,all
107,
108# ============================================================================
109# OAUTH AUTHENTICATION CONFIGURATION
110# ============================================================================
111# Enable social login providers by setting the corresponding -enabled flag
112#
113# Each provider requires:
114# - oauth-{provider}-client-id: The Client ID from the provider
115# - oauth-{provider}-client-secret: The Client Secret from the provider
116# - oauth-{provider}-redirect-uri: (Optional) Custom callback URL
117#
118# Default redirect URI format: http://your-domain/auth/oauth/{provider}/callback
119# ============================================================================
120,
121# ----------------------------------------------------------------------------
122# GOOGLE OAUTH
123# ----------------------------------------------------------------------------
124# Setup Instructions:
125# 1. Go to https://console.cloud.google.com/apis/credentials
126# 2. Create a new project or select existing
127# 5. Add authorized redirect URI: http://your-domain/auth/oauth/google/callback
128# 6. Copy the Client ID and Client Secret below
129#
130# Documentation: https://developers.google.com/identity/protocols/oauth2/web-server
131# ----------------------------------------------------------------------------
132oauth-google-enabled,false
133oauth-google-client-id,
134oauth-google-client-secret,
135oauth-google-redirect-uri,
136,
137# ----------------------------------------------------------------------------
138# MICROSOFT OAUTH (Azure AD)
139# ----------------------------------------------------------------------------
140# Setup Instructions:
141# 1. Go to https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade
142# 4. Add redirect URI: http://your-domain/auth/oauth/microsoft/callback (Web platform)
143# 6. Copy the Application (client) ID and secret value below
144#
145# Documentation: https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
146# ----------------------------------------------------------------------------
147oauth-microsoft-enabled,false
148oauth-microsoft-client-id,
149oauth-microsoft-client-secret,
150oauth-microsoft-redirect-uri,
151,
152# ----------------------------------------------------------------------------
153# DISCORD OAUTH
154# ----------------------------------------------------------------------------
155# Setup Instructions:
156# 1. Go to https://discord.com/developers/applications
157# 4. Add redirect URL: http://your-domain/auth/oauth/discord/callback
158# 5. Copy the Client ID and Client Secret below
159#
160# Documentation: https://discord.com/developers/docs/topics/oauth2
161# ----------------------------------------------------------------------------
162oauth-discord-enabled,false
163oauth-discord-client-id,
164oauth-discord-client-secret,
165oauth-discord-redirect-uri,
166,
167# ----------------------------------------------------------------------------
168# FACEBOOK OAUTH
169# ----------------------------------------------------------------------------
170# Setup Instructions:
171# 1. Go to https://developers.facebook.com/apps/
172# 4. Go to Facebook Login > Settings
173# 5. Add Valid OAuth Redirect URI: http://your-domain/auth/oauth/facebook/callback
174# 6. Go to Settings > Basic to get App ID and App Secret
175#
176# Documentation: https://developers.facebook.com/docs/facebook-login/guides/advanced/manual-flow
177# ----------------------------------------------------------------------------
178oauth-facebook-enabled,false
179oauth-facebook-client-id,
180oauth-facebook-client-secret,
181oauth-facebook-redirect-uri,
182,
183# ----------------------------------------------------------------------------
184# TWITTER (X) OAUTH 2.0
185# ----------------------------------------------------------------------------
186# Setup Instructions:
187# 1. Go to https://developer.twitter.com/en/portal/dashboard
188# 2. Create a new project and app (or use existing)
189# - Enable OAuth 2.0
190# - Type: Web App
191# - Callback URL: http://your-domain/auth/oauth/twitter/callback
192# 6. Copy Client ID and Client Secret below
193#
194# Note: Twitter requires OAuth 2.0 with PKCE for web apps
195# Documentation: https://developer.twitter.com/en/docs/authentication/oauth-2-0
196# ----------------------------------------------------------------------------
197oauth-twitter-enabled,false
198oauth-twitter-client-id,
199oauth-twitter-client-secret,
200oauth-twitter-redirect-uri,
201,
202# ----------------------------------------------------------------------------
203# REDDIT OAUTH
204# ----------------------------------------------------------------------------
205# Setup Instructions:
206# 1. Go to https://www.reddit.com/prefs/apps
207# 4. Enter redirect URI: http://your-domain/auth/oauth/reddit/callback
208# 5. Copy the client ID (under app name) and secret below
209#
210# Note: Reddit requires Basic Auth for token exchange and custom User-Agent
211# Documentation: https://github.com/reddit-archive/reddit/wiki/OAuth2
212# ----------------------------------------------------------------------------
213oauth-reddit-enabled,false
214oauth-reddit-client-id,
215oauth-reddit-client-secret,
216oauth-reddit-redirect-uri,