Skip to content

178 default bot mentor creation for new accounts#179

Open
biniyam-29 wants to merge 23 commits intorelease-02from
178-default-bot-mentor-creation-for-new-accounts
Open

178 default bot mentor creation for new accounts#179
biniyam-29 wants to merge 23 commits intorelease-02from
178-default-bot-mentor-creation-for-new-accounts

Conversation

@biniyam-29
Copy link
Copy Markdown
Collaborator

  • As discussed in out las meeting a mentor (aka moderator aka bot) should be created every time a new account is created.
  • A mentor is created is created for each newly created mentor.
  • I faced a challenge: what to place in the email, so I decided to concatenate the name of the account with "@leyuchatbot.com" but still that causes another which is what if another account is created so I left that idea but instead I came to conclusion that if the email is concatenated with account id some how it will be unique, so it is like that now
await tx.mentor.create({
        data: {
          name,
          accountId: account.id,
          email: `${account.id}@leyuchatbot.com`,
          isBot: true,
        },
      });

jerrygirmaa and others added 23 commits March 25, 2025 12:33
…etter-exchange' for queue 'database' in vhost '/': received 'moderator' but current is 'message'
…or-mentor-profile' into 175-converse-with-gemini-api-using-langchain
…e it was not getting and response from the consumer)
…was throwing error cause it is stringfied, so placed a parser based on type)
@biniyam-29 biniyam-29 requested a review from bengeos March 30, 2025 14:23
@biniyam-29 biniyam-29 linked an issue Mar 30, 2025 that may be closed by this pull request
@biniyam-29 biniyam-29 self-assigned this Mar 30, 2025
@biniyam-29 biniyam-29 added the enhancement New feature or request label Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

Default bot mentor creation for new accounts

2 participants