Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

478 line
26 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2026-04-03 11:56+0100\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: bg\n"
  17. "Language-Team: bg <LL@li.org>\n"
  18. "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  19. "MIME-Version: 1.0\n"
  20. "Content-Type: text/plain; charset=utf-8\n"
  21. "Content-Transfer-Encoding: 8bit\n"
  22. "Generated-By: Babel 2.18.0\n"
  23. #: ../../../docs/configuring-playbook-bot-baibot.md:8
  24. msgid "Setting up baibot (optional)"
  25. msgstr ""
  26. #: ../../../docs/configuring-playbook-bot-baibot.md:15
  27. msgid "🤖 [baibot](https://github.com/etkecc/baibot) (pronounced bye-bot) is a [Matrix](https://matrix.org/) bot developed by [etke.cc](https://etke.cc/) that exposes the power of [AI](https://en.wikipedia.org/wiki/Artificial_intelligence) / [Large Language Models](https://en.wikipedia.org/wiki/Large_language_model) to you. 🤖"
  28. msgstr ""
  29. #: ../../../docs/configuring-playbook-bot-baibot.md:17
  30. msgid "It supports [OpenAI](https://openai.com/)'s [ChatGPT](https://openai.com/blog/chatgpt/) models, as many well as other [☁️ providers](https://github.com/etkecc/baibot/blob/main/docs/providers.md)."
  31. msgstr ""
  32. #: ../../../docs/configuring-playbook-bot-baibot.md:19
  33. msgid "It's designed as a more private and [✨ featureful](https://github.com/etkecc/baibot/?tab=readme-ov-file#-features) alternative to [matrix-chatgpt-bot](./configuring-playbook-bot-chatgpt.md). See the [baibot](https://github.com/etkecc/baibot) project and its documentation for more information."
  34. msgstr ""
  35. #: ../../../docs/configuring-playbook-bot-baibot.md:21
  36. msgid "Prerequisites"
  37. msgstr ""
  38. #: ../../../docs/configuring-playbook-bot-baibot.md:23
  39. msgid "API access to one or more LLM [☁️ providers](https://github.com/etkecc/baibot/blob/main/docs/providers.md)."
  40. msgstr ""
  41. #: ../../../docs/configuring-playbook-bot-baibot.md:25
  42. msgid "Adjusting the playbook configuration"
  43. msgstr ""
  44. #: ../../../docs/configuring-playbook-bot-baibot.md:27
  45. msgid "There are **a lot of configuration options** (some required, some possibly required, some optional), so they're **split into multiple sections below**:"
  46. msgstr ""
  47. #: ../../../docs/configuring-playbook-bot-baibot.md:30
  48. msgid "[Base configuration](#base-configuration)"
  49. msgstr ""
  50. #: ../../../docs/configuring-playbook-bot-baibot.md:31
  51. msgid "[👮‍♂️ Administrator configuration](#️-administrator-configuration)"
  52. msgstr ""
  53. #: ../../../docs/configuring-playbook-bot-baibot.md:32
  54. msgid "[👥 Initial users configuration](#-initial-users-configuration)"
  55. msgstr ""
  56. #: ../../../docs/configuring-playbook-bot-baibot.md:33
  57. msgid "[🤖 Configuring agents via Ansible](#-configuring-agents-via-ansible)"
  58. msgstr ""
  59. #: ../../../docs/configuring-playbook-bot-baibot.md:34
  60. msgid "[🤝 Configuring initial default handlers](#-configuring-initial-default-handlers)"
  61. msgstr ""
  62. #: ../../../docs/configuring-playbook-bot-baibot.md:36
  63. msgid "Depending on your current `vars.yml` file and desired configuration, **you may require more than just the [base configuration](#base-configuration)**."
  64. msgstr ""
  65. #: ../../../docs/configuring-playbook-bot-baibot.md:38
  66. msgid "Base configuration"
  67. msgstr ""
  68. #: ../../../docs/configuring-playbook-bot-baibot.md:40
  69. msgid "To enable the bot, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
  70. msgstr ""
  71. #: ../../../docs/configuring-playbook-bot-baibot.md:42
  72. msgid "Authentication can be configured in one of two mutually-exclusive ways:"
  73. msgstr ""
  74. #: ../../../docs/configuring-playbook-bot-baibot.md:44
  75. msgid "**Password authentication** (`matrix_bot_baibot_config_user_password`) - recommended for most playbook-managed setups, because it integrates with automatic user creation flow used by the playbook, and auto-creates the bot account"
  76. msgstr ""
  77. #: ../../../docs/configuring-playbook-bot-baibot.md:45
  78. msgid "**Access-token authentication** (`matrix_bot_baibot_config_user_access_token` + `matrix_bot_baibot_config_user_device_id`) - useful for specific [Matrix Authentication Service](configuring-playbook-matrix-authentication-service.md)/OIDC setups where password authentication is not available or not desired"
  79. msgstr ""
  80. #: ../../../docs/configuring-playbook-bot-baibot.md:47
  81. msgid "Even when [Matrix Authentication Service](configuring-playbook-matrix-authentication-service.md) is enabled, password authentication is still typically the best fit for baibot if you're using a playbook-managed bot account."
  82. msgstr ""
  83. #: ../../../docs/configuring-playbook-bot-baibot.md:49
  84. msgid "For upstream details, see baibot's [🔐 Authentication](https://github.com/etkecc/baibot/blob/main/docs/configuration/authentication.md) documentation."
  85. msgstr ""
  86. #: ../../../docs/configuring-playbook-bot-baibot.md:97
  87. msgid "As mentioned above, **this may not be enough**. Continue with the configuration sections below."
  88. msgstr ""
  89. #: ../../../docs/configuring-playbook-bot-baibot.md:99
  90. msgid "👮‍♂️ Administrator configuration"
  91. msgstr ""
  92. #: ../../../docs/configuring-playbook-bot-baibot.md:101
  93. #: ../../../docs/configuring-playbook-bot-baibot.md:125
  94. msgid "This is an addition to the [base configuration](#base-configuration)."
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-bot-baibot.md:103
  97. msgid "To specify who is considered a bot [👮‍♂️ Administrator](https://github.com/etkecc/baibot/blob/main/docs/access.md#administrators), you either need to specify `matrix_bot_baibot_config_access_admin_patterns` or `matrix_admin`. The latter is a single variable which affects all bridges and bots."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-bot-baibot.md:105
  100. msgid "If `matrix_admin` is already configured in your `vars.yml` configuration, you can skip this section."
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-bot-baibot.md:107
  103. #: ../../../docs/configuring-playbook-bot-baibot.md:136
  104. msgid "**If necessary**, add the following configuration to your `vars.yml` file:"
  105. msgstr ""
  106. #: ../../../docs/configuring-playbook-bot-baibot.md:121
  107. msgid "👥 Initial users configuration"
  108. msgstr ""
  109. #: ../../../docs/configuring-playbook-bot-baibot.md:123
  110. msgid "By default, **all users on your homeserver are considered allowed users**. If that's OK, you can skip this section."
  111. msgstr ""
  112. #: ../../../docs/configuring-playbook-bot-baibot.md:127
  113. msgid "To specify who is considered a bot [👥 User](https://github.com/etkecc/baibot/blob/main/docs/access.md#user), you may:"
  114. msgstr ""
  115. #: ../../../docs/configuring-playbook-bot-baibot.md:129
  116. msgid "define an **initial** value for `matrix_bot_baibot_config_initial_global_config_user_patterns` Ansible variable, as shown below"
  117. msgstr ""
  118. #: ../../../docs/configuring-playbook-bot-baibot.md:130
  119. msgid "configure the list at runtime via the bot's `!bai access set-users SPACE_SEPARATED_PATTERNS` command"
  120. msgstr ""
  121. #: ../../../docs/configuring-playbook-bot-baibot.md:132
  122. msgid "Configuring `matrix_bot_baibot_config_initial_global_config_user_patterns` is optional, but it can be useful to pre-configure the bot with a list of users who should have access to the bot's features."
  123. msgstr ""
  124. #: ../../../docs/configuring-playbook-bot-baibot.md:134
  125. msgid "**Note**: Once initially configured, the allowed users list **cannot be managed via Ansible anymore**. It can only be managed subsequently via bot commands."
  126. msgstr ""
  127. #: ../../../docs/configuring-playbook-bot-baibot.md:148
  128. msgid "🤖 Configuring agents via Ansible"
  129. msgstr ""
  130. #: ../../../docs/configuring-playbook-bot-baibot.md:150
  131. msgid "You are **not required** to define agents [statically](https://github.com/etkecc/baibot/blob/main/docs/configuration/README.md#static-configuration) via Ansible. **To get started quickly**, you can **skip this section and define agents at runtime via chat commands** (following the bot's guidance)."
  132. msgstr ""
  133. #: ../../../docs/configuring-playbook-bot-baibot.md:152
  134. msgid "Privileged users (like the [👮‍♂️ Administrator](#️-administrator-configuration), but potentially others too — see the upstream [🔒 access](https://github.com/etkecc/baibot/blob/main/docs/access.md) documentation) can **define agents dynamically at any time** via chat commands."
  135. msgstr ""
  136. #: ../../../docs/configuring-playbook-bot-baibot.md:154
  137. msgid "The Ansible role includes preset variables for easily enabling some [🤖 agents](https://github.com/etkecc/baibot/blob/main/docs/agents.md) on various [☁️ providers](https://github.com/etkecc/baibot/blob/main/docs/providers.md) (e.g. OpenAI, etc)."
  138. msgstr ""
  139. #: ../../../docs/configuring-playbook-bot-baibot.md:156
  140. msgid "Besides the presets, the Ansible role also includes support for configuring additional statically-defined agents via the `matrix_bot_baibot_config_agents_static_definitions_custom` Ansible variable."
  141. msgstr ""
  142. #: ../../../docs/configuring-playbook-bot-baibot.md:158
  143. msgid "Agents defined statically and those created dynamically (via chat) are named differently, so **conflict cannot arise**."
  144. msgstr ""
  145. #: ../../../docs/configuring-playbook-bot-baibot.md:160
  146. msgid "Depending on your propensity for [GitOps](https://en.wikipedia.org/wiki/DevOps#GitOps), you may prefer to define agents statically via Ansible, or you may wish to do it dynamically via chat."
  147. msgstr ""
  148. #: ../../../docs/configuring-playbook-bot-baibot.md:162
  149. msgid "Before proceeding, we recommend reading the upstream documentation on [How to choose a provider](https://github.com/etkecc/baibot/blob/main/docs/providers.md#how-to-choose-a-provider). In short, it's probably best to go with [OpenAI](#openai)."
  150. msgstr ""
  151. #: ../../../docs/configuring-playbook-bot-baibot.md:164
  152. msgid "Anthropic"
  153. msgstr ""
  154. #: ../../../docs/configuring-playbook-bot-baibot.md:166
  155. msgid "You can statically-define a single [🤖 agent](https://github.com/etkecc/baibot/blob/main/docs/agents.md) instance powered by the [Anthropic provider](https://github.com/etkecc/baibot/blob/main/docs/providers.md#anthropic) with the help of the playbook's preset variables."
  156. msgstr ""
  157. #: ../../../docs/configuring-playbook-bot-baibot.md:168
  158. #: ../../../docs/configuring-playbook-bot-baibot.md:192
  159. #: ../../../docs/configuring-playbook-bot-baibot.md:223
  160. #: ../../../docs/configuring-playbook-bot-baibot.md:251
  161. msgid "Here's an example **addition** to your `vars.yml` file:"
  162. msgstr ""
  163. #: ../../../docs/configuring-playbook-bot-baibot.md:184
  164. #: ../../../docs/configuring-playbook-bot-baibot.md:215
  165. #: ../../../docs/configuring-playbook-bot-baibot.md:241
  166. #: ../../../docs/configuring-playbook-bot-baibot.md:275
  167. msgid "If you'd like to use more than one model, take a look at the [Configuring additional agents (without a preset)](#configuring-additional-agents-without-a-preset) section below."
  168. msgstr ""
  169. #: ../../../docs/configuring-playbook-bot-baibot.md:186
  170. #: ../../../docs/configuring-playbook-bot-baibot.md:217
  171. #: ../../../docs/configuring-playbook-bot-baibot.md:243
  172. #: ../../../docs/configuring-playbook-bot-baibot.md:277
  173. msgid "💡 You may also wish to use this new agent for [🤝 Configuring initial default handlers](#-configuring-initial-default-handlers)."
  174. msgstr ""
  175. #: ../../../docs/configuring-playbook-bot-baibot.md:188
  176. msgid "Groq"
  177. msgstr ""
  178. #: ../../../docs/configuring-playbook-bot-baibot.md:190
  179. msgid "You can statically-define a single [🤖 agent](https://github.com/etkecc/baibot/blob/main/docs/agents.md) instance powered by the [Groq provider](https://github.com/etkecc/baibot/blob/main/docs/providers.md#groq) with the help of the playbook's preset variables."
  180. msgstr ""
  181. #: ../../../docs/configuring-playbook-bot-baibot.md:213
  182. msgid "Because this is a [statically](https://github.com/etkecc/baibot/blob/main/docs/configuration/README.md#static-configuration)-defined agent, it will be given a `static/` ID prefix and will be named `static/groq`."
  183. msgstr ""
  184. #: ../../../docs/configuring-playbook-bot-baibot.md:219
  185. msgid "Mistral"
  186. msgstr ""
  187. #: ../../../docs/configuring-playbook-bot-baibot.md:221
  188. msgid "You can statically-define a single [🤖 agent](https://github.com/etkecc/baibot/blob/main/docs/agents.md) instance powered by the [🇫🇷 Mistral provider](https://github.com/etkecc/baibot/blob/main/docs/providers.md#mistral) with the help of the playbook's preset variables."
  189. msgstr ""
  190. #: ../../../docs/configuring-playbook-bot-baibot.md:239
  191. msgid "Because this is a [statically](https://github.com/etkecc/baibot/blob/main/docs/configuration/README.md#static-configuration)-defined agent, it will be given a `static/` ID prefix and will be named `static/mistral`."
  192. msgstr ""
  193. #: ../../../docs/configuring-playbook-bot-baibot.md:245
  194. msgid "OpenAI"
  195. msgstr ""
  196. #: ../../../docs/configuring-playbook-bot-baibot.md:247
  197. msgid "You can statically-define a single [🤖 agent](https://github.com/etkecc/baibot/blob/main/docs/agents.md) instance powered by the [OpenAI provider](https://github.com/etkecc/baibot/blob/main/docs/providers.md#openai) with the help of the playbook's preset variables."
  198. msgstr ""
  199. #: ../../../docs/configuring-playbook-bot-baibot.md:249
  200. msgid "The OpenAI provider is **only meant to be used with OpenAI's official API** and compatibility with other services (which do not fully adhere to the OpenAI API spec completely) is limited. **If you're targeting an OpenAI-compatible service**, use the [OpenAI Compatible](#openai-compatible) provider instead."
  201. msgstr ""
  202. #: ../../../docs/configuring-playbook-bot-baibot.md:273
  203. msgid "Because this is a [statically](https://github.com/etkecc/baibot/blob/main/docs/configuration/README.md#static-configuration)-defined agent, it will be given a `static/` ID prefix and will be named `static/openai`."
  204. msgstr ""
  205. #: ../../../docs/configuring-playbook-bot-baibot.md:279
  206. msgid "OpenAI Compatible"
  207. msgstr ""
  208. #: ../../../docs/configuring-playbook-bot-baibot.md:281
  209. msgid "You can statically-define a single [🤖 agent](https://github.com/etkecc/baibot/blob/main/docs/agents.md) instance powered by the [OpenAI Compatible provider](https://github.com/etkecc/baibot/blob/main/docs/providers.md#openai-compatible) with the help of the playbook's preset variables."
  210. msgstr ""
  211. #: ../../../docs/configuring-playbook-bot-baibot.md:283
  212. msgid "This provider allows you to use OpenAI-compatible API services like [OpenRouter](https://github.com/etkecc/baibot/blob/main/docs/providers.md#openrouter), [Together AI](https://github.com/etkecc/baibot/blob/main/docs/providers.md#together-ai), etc."
  213. msgstr ""
  214. #: ../../../docs/configuring-playbook-bot-baibot.md:285
  215. msgid "Some of these popular services already have **shortcut** providers (see [supported providers](https://github.com/etkecc/baibot/blob/main/docs/providers.md#supported-providers) leading to this one behind the scenes — this make it easier to get started."
  216. msgstr ""
  217. #: ../../../docs/configuring-playbook-bot-baibot.md:287
  218. msgid "As of this moment, the playbook does not include presets for any of these services, so you'll need to [Configuring additional agents (without a preset)](#configuring-additional-agents-without-a-preset)."
  219. msgstr ""
  220. #: ../../../docs/configuring-playbook-bot-baibot.md:289
  221. msgid "Configuring additional agents (without a preset)"
  222. msgstr ""
  223. #: ../../../docs/configuring-playbook-bot-baibot.md:291
  224. msgid "The Ansible role may be lacking preset variables for some [☁️ provider](https://github.com/etkecc/baibot/blob/main/docs/providers.md), or you may wish to statically-define an agent on the same provider twice (or more) with different configuration."
  225. msgstr ""
  226. #: ../../../docs/configuring-playbook-bot-baibot.md:293
  227. msgid "It's possible to inject your own agent configuration using the `matrix_bot_baibot_config_agents_static_definitions_custom` Ansible variable."
  228. msgstr ""
  229. #: ../../../docs/configuring-playbook-bot-baibot.md:295
  230. msgid "You can also define providers at runtime, by chatting with the bot, so using Ansible is not a requirement."
  231. msgstr ""
  232. #: ../../../docs/configuring-playbook-bot-baibot.md:297
  233. msgid "Below is an an **example** demonstrating **statically-defining agents via Ansible without using presets**:"
  234. msgstr ""
  235. #: ../../../docs/configuring-playbook-bot-baibot.md:336
  236. msgid "Because these are [statically](https://github.com/etkecc/baibot/blob/main/docs/configuration/README.md#static-configuration)-defined agents, they will be given a `static/` ID prefix and will be named `static/my-openai-gpt-3.5-turbo-agent` and `static/my-ollama-agent`, respectively."
  237. msgstr ""
  238. #: ../../../docs/configuring-playbook-bot-baibot.md:338
  239. msgid "💡 To figure out what to put in the `config` section, refer to the [☁️ provider](https://github.com/etkecc/baibot/blob/main/docs/providers.md) page, which contains **sample configuration YAML for each provider**."
  240. msgstr ""
  241. #: ../../../docs/configuring-playbook-bot-baibot.md:340
  242. msgid "As with any [🤖 agent](https://github.com/etkecc/baibot/blob/main/docs/agents.md), defining them means they exist. To actually make use of them, they need to be configured as handlers globally or in a specific room — see [Mixing & matching models](https://github.com/etkecc/baibot/blob/main/docs/features.md#mixing--matching-models)."
  243. msgstr ""
  244. #: ../../../docs/configuring-playbook-bot-baibot.md:342
  245. msgid "💡 You may also wish to use these new agents for [🤝 Configuring initial default handlers](#-configuring-initial-default-handlers)."
  246. msgstr ""
  247. #: ../../../docs/configuring-playbook-bot-baibot.md:344
  248. msgid "🤝 Configuring initial default handlers"
  249. msgstr ""
  250. #: ../../../docs/configuring-playbook-bot-baibot.md:346
  251. msgid "This section is only useful if you're [🤖 Configuring agents via Ansible](#-configuring-agents-via-ansible), as it lets you put these agents to use as soon as the bot starts (by adjusting the bot's **initial global configuration**)."
  252. msgstr ""
  253. #: ../../../docs/configuring-playbook-bot-baibot.md:348
  254. msgid "If you're not configuring agents via Ansible, you can skip this section."
  255. msgstr ""
  256. #: ../../../docs/configuring-playbook-bot-baibot.md:350
  257. msgid "This section is only useful the first time around. **Once initially configured the global configuration cannot be managed Ansible**, but only via bot commands."
  258. msgstr ""
  259. #: ../../../docs/configuring-playbook-bot-baibot.md:352
  260. msgid "baibot supports [various purposes](https://github.com/etkecc/baibot/blob/main/docs/features.md):"
  261. msgstr ""
  262. #: ../../../docs/configuring-playbook-bot-baibot.md:354
  263. msgid "[💬 text-generation](https://github.com/etkecc/baibot/blob/main/docs/features.md#-text-generation): communicating with you via text"
  264. msgstr ""
  265. #: ../../../docs/configuring-playbook-bot-baibot.md:356
  266. msgid "[🦻 speech-to-text](https://github.com/etkecc/baibot/blob/main/docs/features.md#-speech-to-text): turning your voice messages into text"
  267. msgstr ""
  268. #: ../../../docs/configuring-playbook-bot-baibot.md:358
  269. msgid "[🗣️ text-to-speech](https://github.com/etkecc/baibot/blob/main/docs/features.md#-text-to-speech): turning bot or users text messages into voice messages"
  270. msgstr ""
  271. #: ../../../docs/configuring-playbook-bot-baibot.md:360
  272. msgid "[🖌️ image-generation](https://github.com/etkecc/baibot/blob/main/docs/features.md#-image-generation): generating images based on instructions"
  273. msgstr ""
  274. #: ../../../docs/configuring-playbook-bot-baibot.md:362
  275. msgid "❓ catch-all: special purposes, indicating use as a fallback (when no specific handler is configured)"
  276. msgstr ""
  277. #: ../../../docs/configuring-playbook-bot-baibot.md:364
  278. msgid "[Mixing & matching models](https://github.com/etkecc/baibot/blob/main/docs/features.md#mixing--matching-models) is made possible by the bot's ability to have different [🤝 handlers](https://github.com/etkecc/baibot/blob/main/docs/configuration/handlers.md) configured for different purposes."
  279. msgstr ""
  280. #: ../../../docs/configuring-playbook-bot-baibot.md:366
  281. msgid "This configuration can be done as a global fallback, or per-room. Both of these [🛠️ configurations](https://github.com/etkecc/baibot/blob/main/docs/configuration/README.md) are managed at runtime (viat chat), but **the global configuration can have some initial defaults configured via Ansible**."
  282. msgstr ""
  283. #: ../../../docs/configuring-playbook-bot-baibot.md:368
  284. msgid "You can configure the **initial values** for these via Ansible, via the `matrix_bot_baibot_config_initial_global_config_handler_*` variables."
  285. msgstr ""
  286. #: ../../../docs/configuring-playbook-bot-baibot.md:370
  287. msgid "Example **additional** `vars.yml` configuration:"
  288. msgstr ""
  289. #: ../../../docs/configuring-playbook-bot-baibot.md:387
  290. msgid "**Note**: these are initial defaults for the bot's global configuration. As such, changing any of these values subsequently has no effect on the bot's behavior. **Once initially configured the global configuration cannot be managed Ansible**, but only via bot commands."
  291. msgstr ""
  292. #: ../../../docs/configuring-playbook-bot-baibot.md:389
  293. msgid "Extending the configuration"
  294. msgstr ""
  295. #: ../../../docs/configuring-playbook-bot-baibot.md:391
  296. msgid "There are some additional things you may wish to configure about the bot."
  297. msgstr ""
  298. #: ../../../docs/configuring-playbook-bot-baibot.md:393
  299. msgid "Take a look at:"
  300. msgstr ""
  301. #: ../../../docs/configuring-playbook-bot-baibot.md:395
  302. msgid "`roles/custom/matrix-bot-baibot/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  303. msgstr ""
  304. #: ../../../docs/configuring-playbook-bot-baibot.md:396
  305. msgid "`roles/custom/matrix-bot-baibot/templates/config.yaml.j2` for the bot's default configuration. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_bot_baibot_configuration_extension_yaml` variable"
  306. msgstr ""
  307. #: ../../../docs/configuring-playbook-bot-baibot.md:398
  308. msgid "Installing"
  309. msgstr ""
  310. #: ../../../docs/configuring-playbook-bot-baibot.md:400
  311. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  312. msgstr ""
  313. #: ../../../docs/configuring-playbook-bot-baibot.md:407
  314. msgid "**Notes**:"
  315. msgstr ""
  316. #: ../../../docs/configuring-playbook-bot-baibot.md:409
  317. msgid "The `ensure-matrix-users-created` playbook tag makes the playbook automatically create the bot's user account when password authentication is used."
  318. msgstr ""
  319. #: ../../../docs/configuring-playbook-bot-baibot.md:411
  320. msgid "If you're using access-token authentication, the bot account must already exist and the configured token + device ID must match that account. This mode is mainly for MAS/OIDC setups where password-based bot login is not suitable."
  321. msgstr ""
  322. #: ../../../docs/configuring-playbook-bot-baibot.md:413
  323. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  324. msgstr ""
  325. #: ../../../docs/configuring-playbook-bot-baibot.md:415
  326. msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed."
  327. msgstr ""
  328. #: ../../../docs/configuring-playbook-bot-baibot.md:417
  329. msgid "If you change the bot password (`matrix_bot_baibot_config_user_password` in your `vars.yml` file) subsequently, the bot user's credentials on the homeserver won't be updated automatically. If you'd like to change the bot user's password, use a tool like [Ketesa](configuring-playbook-ketesa.md) to change it, and then update `matrix_bot_baibot_config_user_password` to let the bot know its new password. (This note applies to password authentication mode.)"
  330. msgstr ""
  331. #: ../../../docs/configuring-playbook-bot-baibot.md:419
  332. msgid "Usage"
  333. msgstr ""
  334. #: ../../../docs/configuring-playbook-bot-baibot.md:421
  335. msgid "To use the bot, invite it to any existing Matrix room (`/invite @baibot:example.com` where `example.com` is your base domain, not the `matrix.` domain)."
  336. msgstr ""
  337. #: ../../../docs/configuring-playbook-bot-baibot.md:423
  338. msgid "If you're an allowed bot [👥 user](https://github.com/etkecc/baibot/blob/main/docs/access.md#user) (see [👥 Initial users configuration](#-initial-users-configuration)), the bot will accept your invitation and join the room."
  339. msgstr ""
  340. #: ../../../docs/configuring-playbook-bot-baibot.md:425
  341. msgid "After joining, the bot will introduce itself and show information about the [✨ features](https://github.com/etkecc/baibot/blob/main/docs/features.md) that are enabled for it."
  342. msgstr ""
  343. #: ../../../docs/configuring-playbook-bot-baibot.md:427
  344. msgid "If you've [🤖 configured one or more agents via Ansible](#-configuring-agents-via-ansible) and have [🤝 configured initial default handlers](#configuring-initial-default-handlers), the bot will immediately be able to make use of these agents for this new room. Otherwise, you will need to configure agents and/or handlers via chat commands."
  345. msgstr ""
  346. #: ../../../docs/configuring-playbook-bot-baibot.md:429
  347. msgid "Send `!bai help` to the bot in the room to see the available commands."
  348. msgstr ""
  349. #: ../../../docs/configuring-playbook-bot-baibot.md:431
  350. msgid "You can also refer to the upstream [baibot](https://github.com/etkecc/baibot) project's documentation."
  351. msgstr ""
  352. #: ../../../docs/configuring-playbook-bot-baibot.md:433
  353. msgid "Troubleshooting"
  354. msgstr ""
  355. #: ../../../docs/configuring-playbook-bot-baibot.md:435
  356. msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-bot-baibot`."
  357. msgstr ""
  358. #: ../../../docs/configuring-playbook-bot-baibot.md:437
  359. msgid "Increase logging verbosity"
  360. msgstr ""
  361. #: ../../../docs/configuring-playbook-bot-baibot.md:439
  362. msgid "The default logging level for this service is `info`. If you want to increase the verbosity to `debug` (or even `trace`), add the following configuration to your `vars.yml` file and re-run the playbook:"
  363. msgstr ""
  364. #: ../../../docs/configuring-playbook-bot-baibot.md:453
  365. msgid "**Alternatively**, you can use a single variable to set the logging level for all of the above (bot + all libraries):"
  366. msgstr ""