Matrix Bots and Add Ons: Difference between revisions

From Irregularpedia
Jump to navigation Jump to search
Initial
 
syntax
Tag: 2017 source edit
 
Line 1: Line 1:
<span id="gpt-bot"></span>
= GPT Bot =
== GPT Bot ==


https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/64db27c7faf3032341c665f8abf7aa66c7aa7aca/docs/configuring-playbook-bot-chatgpt.md?plain=1#L45
This guide provides instructions for setting up a GPT-based bot within a Matrix environment, specifically using the configurations provided in the [https://github.com/spantaleev/matrix-docker-ansible-deploy matrix-docker-ansible-deploy] project.


NOTE: Other than obtaining the access token, this guide says a security key needs to be set up. - GPT Models [https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo here] - GPT API Here [https://platform.openai.com/api-keys here] - GPT pricing [https://openai.com/pricing here]
== Resources ==
* GPT Models: [https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo GPT-4 and GPT-4 Turbo Documentation]
* GPT API: [https://platform.openai.com/api-keys Obtain API Keys]
* GPT Pricing: [https://openai.com/pricing Pricing Information]


Here<br />
== Setting up a Bot Account with SSO ==
=== Setting up a Bot Account with SSO: 1. Create an account on SSO 2. On the private window, log in to Matrix with the SSO 3. Set up recovery keys 4. Obtain access token 1. All Settings 2. Help &amp; About 3. Access Token 5. DO NOT LOGOUT 6. Close the Browser so that it maintains that session 7. Use the access token for the bot account ===
Follow these steps to set up a bot account with Single Sign-On (SSO):
# Create an account using the SSO system.
# Open a private browser window and log in to Matrix using the SSO credentials.
# Set up recovery keys for the account.
# Obtain the access token for the bot account:
## Navigate to **All Settings**.
## Go to **Help & About**.
## Select **Access Token** to retrieve it.
# Ensure you DO NOT log out after retrieving the token.
# Close the browser window to maintain the session.
# Use the access token for configuring the bot account.


NOTE: This is important when using SSO, as removing the local password option is required to allow SSO users to set recovery keys. ### Setting up an Account with Access Token: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2556
'''Note''': When using SSO, disabling the local password option is necessary for SSO users to set up recovery keys.
 
== Setting up an Account with Access Token ==
For additional details on setting up an account using an access token, refer to the relevant GitHub discussion:
[https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2556 Account Setup with Access Token]
 
== Reference ==
For configuration details and further instructions, consult the documentation: 
[https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/64db27c7faf3032341c665f8abf7aa66c7aa7aca/docs/configuring-playbook-bot-chatgpt.md Full Configuration Guide]
 
[[Category:Matrix Bot Setup]]
[[Category:OpenAI Integration]]
[[Category:Matrix Configuration]]
[[Category:SSO Configuration]]
[[Category:ChatGPT]]

Latest revision as of 17:29, 3 December 2024

GPT Bot

This guide provides instructions for setting up a GPT-based bot within a Matrix environment, specifically using the configurations provided in the matrix-docker-ansible-deploy project.

Resources

Setting up a Bot Account with SSO

Follow these steps to set up a bot account with Single Sign-On (SSO):

  1. Create an account using the SSO system.
  2. Open a private browser window and log in to Matrix using the SSO credentials.
  3. Set up recovery keys for the account.
  4. Obtain the access token for the bot account:
    1. Navigate to **All Settings**.
    2. Go to **Help & About**.
    3. Select **Access Token** to retrieve it.
  5. Ensure you DO NOT log out after retrieving the token.
  6. Close the browser window to maintain the session.
  7. Use the access token for configuring the bot account.

Note: When using SSO, disabling the local password option is necessary for SSO users to set up recovery keys.

Setting up an Account with Access Token

For additional details on setting up an account using an access token, refer to the relevant GitHub discussion: Account Setup with Access Token

Reference

For configuration details and further instructions, consult the documentation: Full Configuration Guide