Open Keyrxng opened 1 year ago
/config help
To use the '/config' command and generate a bot configuration file, you need to understand the structure of the configuration and the available options. Here is a breakdown of the bot config structure:
keys
(object):
evmPrivateEncrypted
(optional string): Specifies the encrypted private key for the EVM.openAi
(optional string): Specifies the OpenAI API key.features
(object):
assistivePricing
(boolean, default: false): Enables or disables assistive pricing.defaultLabels
(array of strings, default: []): Specifies the default labels for the bot.newContributorGreeting
(object):
enabled
(boolean, default: false): Enables or disables the new contributor greeting feature.header
(string, default: defaultGreetingHeader): Specifies the header for the greeting message.displayHelpMenu
(boolean, default: true): Enables or disables the display of the help menu in the greeting message.footer
(string, default: promotionComment): Specifies the footer for the greeting message.publicAccessControl
(object):
setLabel
(boolean, default: true): Enables or disables setting labels for public access control.fundExternalClosedIssue
(boolean, default: true): Enables or disables funding external closed issues.timers
(object):
reviewDelayTolerance
(string duration, default: "1 day"): Specifies the review delay tolerance duration.taskStaleTimeoutDuration
(string duration, default: "4 weeks"): Specifies the task stale timeout duration.taskFollowUpDuration
(string duration, default: "0.5 weeks"): Specifies the task follow-up duration.taskDisqualifyDuration
(string duration, default: "1 week"): Specifies the task disqualify duration.payments
(object):
maxPermitPrice
(number, default: Number.MAX_SAFE_INTEGER): Specifies the maximum permit price.evmNetworkId
(number, default: 1): Specifies the EVM network ID.basePriceMultiplier
(number, default: 1): Specifies the base price multiplier.issueCreatorMultiplier
(number, default: 1): Specifies the issue creator multiplier.disabledCommands
(array of strings, default: allCommands): Specifies the disabled commands.
incentives
(object):
comment
(object):
elements
(record of union types, default: allHtmlElementsSetToZero): Specifies the elements and their associated incentives.totals
(object):character
(number, default: 0, minimum: 0): Specifies the total incentive for characters.word
(number, default: 0, minimum: 0): Specifies the total incentive for words.sentence
(number, default: 0, minimum: 0): Specifies the total incentive for sentences.paragraph
(number, default: 0, minimum: 0): Specifies the total incentive for paragraphs.comment
(number, default: 0, minimum: 0): Specifies the total incentive for comments.labels
(object):
time
(array of strings, default: defaultTimeLabels): Specifies the time labels.priority
(array of strings, default: defaultPriorityLabels): Specifies the priority labels.miscellaneous
(object):
maxConcurrentTasks
(number, default: Number.MAX_SAFE_INTEGER): Specifies the maximum number of concurrent tasks.promotionComment
(string, default: promotionComment): Specifies the promotion comment.registerWalletWithVerification
(boolean, default: false): Enables or disables registering the wallet with verification.openAiTokenLimit
(number, default: 100000): Specifies the OpenAI token limit.To use the '/config' command, you need to provide the desired values for the configuration options. You can specify the values directly in the command or provide them in a separate file. Make sure to follow the correct syntax and provide valid values for each option.
For example, to enable assistive pricing and set the default labels, you can use the following command:
/config features.assistivePricing=true features.defaultLabels=["label1", "label2"]
Remember to save the generated configuration file and use it accordingly in your bot setup.
{"prompt_tokens":697,"completion_tokens":974,"total_tokens":1671}
/config l00t these n00bs
To use the '/config' command and generate a bot configuration file, you need to understand the structure of the configuration and the available options. Here is a breakdown of the bot config structure:
keys
(object):
evmPrivateEncrypted
(optional string): Specifies the encrypted private key for the EVM.openAi
(optional string): Specifies the OpenAI API key.features
(object):
assistivePricing
(boolean, default: false): Enables or disables assistive pricing.defaultLabels
(array of strings, default: []): Specifies the default labels for tasks.newContributorGreeting
(object):
enabled
(boolean, default: false): Enables or disables the new contributor greeting feature.header
(string, default: defaultGreetingHeader): Specifies the header for the greeting.displayHelpMenu
(boolean, default: true): Enables or disables the display of the help menu in the greeting.footer
(string, default: promotionComment): Specifies the footer for the greeting.publicAccessControl
(object):
setLabel
(boolean, default: true): Enables or disables setting labels for public access control.fundExternalClosedIssue
(boolean, default: true): Enables or disables funding external closed issues.timers
(object):
reviewDelayTolerance
(string duration, default: "1 day"): Specifies the review delay tolerance duration.taskStaleTimeoutDuration
(string duration, default: "4 weeks"): Specifies the task stale timeout duration.taskFollowUpDuration
(string duration, default: "0.5 weeks"): Specifies the task follow-up duration.taskDisqualifyDuration
(string duration, default: "1 week"): Specifies the task disqualify duration.payments
(object):
maxPermitPrice
(number, default: Number.MAX_SAFE_INTEGER): Specifies the maximum permit price.evmNetworkId
(number, default: 1): Specifies the EVM network ID.basePriceMultiplier
(number, default: 1): Specifies the base price multiplier.issueCreatorMultiplier
(number, default: 1): Specifies the issue creator multiplier.disabledCommands
(array of strings, default: allCommands): Specifies the disabled commands.
incentives
(object):
comment
(object):
elements
(record of union types, default: allHtmlElementsSetToZero): Specifies the elements and their associated incentives.totals
(object):character
(number, default: 0, minimum: 0): Specifies the total incentive for characters.word
(number, default: 0, minimum: 0): Specifies the total incentive for words.sentence
(number, default: 0, minimum: 0): Specifies the total incentive for sentences.paragraph
(number, default: 0, minimum: 0): Specifies the total incentive for paragraphs.comment
(number, default: 0, minimum: 0): Specifies the total incentive for comments.labels
(object):
time
(array of strings, default: defaultTimeLabels): Specifies the time labels.priority
(array of strings, default: defaultPriorityLabels): Specifies the priority labels.miscellaneous
(object):
maxConcurrentTasks
(number, default: Number.MAX_SAFE_INTEGER): Specifies the maximum number of concurrent tasks.promotionComment
(string, default: promotionComment): Specifies the promotion comment.registerWalletWithVerification
(boolean, default: false): Enables or disables registering the wallet with verification.openAiTokenLimit
(number, default: 100000): Specifies the OpenAI token limit.To use the '/config' command, you need to provide the desired values for the configuration options. You can specify the values directly in the command or provide them in a separate file. Make sure to follow the correct syntax and provide valid values for each option.
For example, to enable assistive pricing and set the default labels, you can use the following command:
/config features.assistivePricing=true features.defaultLabels=["label1", "label2"]
Remember to save the generated configuration file and use it accordingly in your bot setup.
{"prompt_tokens":697,"completion_tokens":970,"total_tokens":1667}
/config wtf
I apologize, but I'm not sure what you mean by "wtf". Could you please provide more context or clarify your request?
{"prompt_tokens":659,"completion_tokens":27,"total_tokens":686}
/config dont sink my battleship
I apologize, but I'm not sure I understand what you mean by "don't sink my battleship" in the context of configuring the system. Could you please provide more specific instructions or requirements for the configuration?
{"prompt_tokens":662,"completion_tokens":43,"total_tokens":705}
/config help
Sure! I can help you with generating a configuration file. Please provide me with the specific properties and values you would like to include in the configuration.
{"prompt_tokens":658,"completion_tokens":30,"total_tokens":688}
/config help
To use the '/config' command and generate a bot configuration file, you need to understand the structure of the configuration and the available options. Here is a breakdown of the bot config structure:
keys
(object):
evmPrivateEncrypted
(optional string): Specifies the encrypted private key for the EVM.openAi
(optional string): Specifies the OpenAI API key.features
(object):
assistivePricing
(boolean, default: false): Enables or disables assistive pricing.defaultLabels
(array of strings, default: []): Specifies the default labels for the bot.newContributorGreeting
(object):
enabled
(boolean, default: false): Enables or disables the new contributor greeting feature.header
(string, default: defaultGreetingHeader): Specifies the header for the greeting message.displayHelpMenu
(boolean, default: true): Enables or disables the display of the help menu in the greeting message.footer
(string, default: promotionComment): Specifies the footer for the greeting message.publicAccessControl
(object):
setLabel
(boolean, default: true): Enables or disables setting labels for public access control.fundExternalClosedIssue
(boolean, default: true): Enables or disables funding external closed issues.timers
(object):
reviewDelayTolerance
(string duration, default: "1 day"): Specifies the review delay tolerance duration.taskStaleTimeoutDuration
(string duration, default: "4 weeks"): Specifies the task stale timeout duration.taskFollowUpDuration
(string duration, default: "0.5 weeks"): Specifies the task follow-up duration.taskDisqualifyDuration
(string duration, default: "1 week"): Specifies the task disqualify duration.payments
(object):
maxPermitPrice
(number, default: Number.MAX_SAFE_INTEGER): Specifies the maximum permit price.evmNetworkId
(number, default: 1): Specifies the EVM network ID.basePriceMultiplier
(number, default: 1): Specifies the base price multiplier.issueCreatorMultiplier
(number, default: 1): Specifies the issue creator multiplier.disabledCommands
(array of strings, default: allCommands): Specifies the disabled commands.
incentives
(object):
comment
(object):
elements
(record of union types, default: allHtmlElementsSetToZero): Specifies the elements and their associated incentives.totals
(object):character
(number, default: 0, minimum: 0): Specifies the total incentive for characters.word
(number, default: 0, minimum: 0): Specifies the total incentive for words.sentence
(number, default: 0, minimum: 0): Specifies the total incentive for sentences.paragraph
(number, default: 0, minimum: 0): Specifies the total incentive for paragraphs.comment
(number, default: 0, minimum: 0): Specifies the total incentive for comments.labels
(object):
time
(array of strings, default: defaultTimeLabels): Specifies the time labels.priority
(array of strings, default: defaultPriorityLabels): Specifies the priority labels.miscellaneous
(object):
maxConcurrentTasks
(number, default: Number.MAX_SAFE_INTEGER): Specifies the maximum number of concurrent tasks.promotionComment
(string, default: promotionComment): Specifies the promotion comment.registerWalletWithVerification
(boolean, default: false): Enables or disables registering the wallet with verification.openAiTokenLimit
(number, default: 100000): Specifies the OpenAI token limit.To use the '/config' command, you need to provide the desired values for the configuration options. For example, to enable assistive pricing, you can use the command '/config features.assistivePricing=true'. Similarly, you can set values for other options by specifying the path to the option and the desired value.
Note that some options have default values, so you only need to specify the options that you want to change.
I hope this helps! Let me know if you have any further questions.
{"prompt_tokens":697,"completion_tokens":964,"total_tokens":1661}
/config help
To use the '/config' command and generate a bot configuration file, you need to understand the structure of the configuration and the available options. Here is a breakdown of the bot config structure:
keys
(object):
evmPrivateEncrypted
(optional string): Specifies the encrypted private key for the EVM.openAi
(optional string): Specifies the OpenAI API key.features
(object):
assistivePricing
(boolean, default: false): Enables or disables assistive pricing.defaultLabels
(array of strings, default: []): Specifies the default labels for tasks.newContributorGreeting
(object):
enabled
(boolean, default: false): Enables or disables the new contributor greeting feature.header
(string, default: defaultGreetingHeader): Specifies the header for the greeting.displayHelpMenu
(boolean, default: true): Enables or disables the display of the help menu in the greeting.footer
(string, default: promotionComment): Specifies the footer for the greeting.publicAccessControl
(object):
setLabel
(boolean, default: true): Enables or disables setting labels for public access control.fundExternalClosedIssue
(boolean, default: true): Enables or disables funding external closed issues.timers
(object):
reviewDelayTolerance
(string duration, default: "1 day"): Specifies the review delay tolerance duration.taskStaleTimeoutDuration
(string duration, default: "4 weeks"): Specifies the task stale timeout duration.taskFollowUpDuration
(string duration, default: "0.5 weeks"): Specifies the task follow-up duration.taskDisqualifyDuration
(string duration, default: "1 week"): Specifies the task disqualify duration.payments
(object):
maxPermitPrice
(number, default: Number.MAX_SAFE_INTEGER): Specifies the maximum permit price.evmNetworkId
(number, default: 1): Specifies the EVM network ID.basePriceMultiplier
(number, default: 1): Specifies the base price multiplier.issueCreatorMultiplier
(number, default: 1): Specifies the issue creator multiplier.disabledCommands
(array of strings, default: allCommands): Specifies the disabled commands.
incentives
(object):
comment
(object):
elements
(record of union types, default: allHtmlElementsSetToZero): Specifies the elements and their associated incentives.totals
(object):character
(number, default: 0, minimum: 0): Specifies the total incentive for characters.word
(number, default: 0, minimum: 0): Specifies the total incentive for words.sentence
(number, default: 0, minimum: 0): Specifies the total incentive for sentences.paragraph
(number, default: 0, minimum: 0): Specifies the total incentive for paragraphs.comment
(number, default: 0, minimum: 0): Specifies the total incentive for comments.labels
(object):
time
(array of strings, default: defaultTimeLabels): Specifies the time labels.priority
(array of strings, default: defaultPriorityLabels): Specifies the priority labels.miscellaneous
(object):
maxConcurrentTasks
(number, default: Number.MAX_SAFE_INTEGER): Specifies the maximum number of concurrent tasks.promotionComment
(string, default: promotionComment): Specifies the promotion comment.registerWalletWithVerification
(boolean, default: false): Enables or disables registering the wallet with verification.openAiTokenLimit
(number, default: 100000): Specifies the OpenAI token limit.To use the '/config' command, you need to provide the desired values for the configuration options. You can specify the values directly in the command or provide them in a separate file. Make sure to follow the correct syntax and provide valid values for each option.
For example, to enable assistive pricing and set the default labels, you can use the following command:
/config features.assistivePricing=true features.defaultLabels=["label1", "label2"]
Remember to save the generated configuration file and use it accordingly in your bot setup.
{"prompt_tokens":697,"completion_tokens":970,"total_tokens":1667}
/config help
- You must be an admin to use this command.
/help
Command | Description | Example |
---|---|---|
/start |
Assign yourself to the issue. | /start |
/stop |
Unassign yourself from the issue. | /stop |
/help |
List all available commands. | /help |
/autopay |
Toggle automatic payment for the completion of the current issue. | /autopay true |
/query |
Returns the user's wallet, access, and multiplier information. | /query @user |
/ask |
Ask a context aware question. | /ask is x or y the best approach? |
/multiplier |
Set the task payout multiplier for a specific contributor, and provide a reason for why. | /multiplier @user 0.5 "multiplier reason" |
/labels |
Set access control, for admins only. | /labels @user priority time price |
/authorize |
Approve a label change, for admins only. | /authorize |
/wallet |
Register your wallet address for payments. | /wallet ubq.eth |
/config |
Update the bot configuration, for admins only. | /config I want the max payout to be 1000 |
/config help
/config help
/config help
/config help
Sure, I'd be happy to explain the bot configuration structure and how to use the /config
command.
The bot configuration is a structured object that defines various settings for the bot's operation. It's divided into several sections, each containing different configuration options. Here's a brief overview of each section:
keys
: This section contains optional string keys for evmPrivateEncrypted
and openAi
.
features
: This section contains various feature settings, such as assistivePricing
, defaultLabels
, newContributorGreeting
, and publicAccessControl
.
timers
: This section contains various timer settings, such as reviewDelayTolerance
, taskStaleTimeoutDuration
, taskFollowUpDuration
, and taskDisqualifyDuration
.
payments
: This section contains various payment settings, such as maxPermitPrice
, evmNetworkId
, basePriceMultiplier
, and issueCreatorMultiplier
.
disabledCommands
: This section contains an array of disabled commands.
incentives
: This section contains incentive settings for comments.
labels
: This section contains arrays of time and priority labels.
miscellaneous
: This section contains various miscellaneous settings, such as maxConcurrentTasks
, promotionComment
, registerWalletWithVerification
, and openAiTokenLimit
.
To use the /config
command, you need to provide the configuration key-value pairs that you want to change. The command will then generate a new configuration based on these pairs and commit it to the repository.
Here's an example of how to use the command:
/config keys.evmPrivateEncrypted="new_encrypted_key" features.assistivePricing=true timers.reviewDelayTolerance="2 days"
This command will change the evmPrivateEncrypted
key to "new_encrypted_key"
, enable the assistivePricing
feature, and set the reviewDelayTolerance
timer to "2 days"
.
Please note that the command syntax may vary depending on the specific bot and configuration structure. Always refer to the bot's documentation for the most accurate information.
/config New encrypted private key 8888l00t888
The configuration has been successfully updated. Here is a summary of the changes made:
keys
section.assistivePricing
feature.timers
section.payments
section.disabledCommands
section.incentives
section.labels
section.miscellaneous
section.The new ref sha is a385f8e153162b5f2303d6c0f79af4c93a98e046
.
/config scale all of the timers by a factor of 3 set the chain id to 100 and make the max payout price $3000 also update update the promotional comment to match my branding: org = ubq-testing, urls = [https://github.com/ubq-testing/bot-ai/issues/23, https://github.com/ubq-testing] refactor it explaining this a QA repo
The configuration has been successfully updated. Here is a summary of the changes made:
The new configuration has been pushed to the repository with the following commit: a9c7d4a.
Please let me know if there is anything else I can help you with.
/config I want to refactor the incentive elements scoring between 0 and 5. I want comments which are crafted with care, time and effort to be rewarded for well formatted and fully featured responses.
New configuration has been pushed to the repository with ref sha: 20ab02a0978f64a2ee9b6fff6937041b088c87cc
.
/config refactor the footer and promotional comment. Explain that this is just a QA repo by Keyrxng for UbiquityDAO's UbiquiBot, which is actually you.
Good QA: items with same name I.E footer causes confusion
If you write the commit sha without the backticks it should produce a link to the commit which makes review more convenient. 20ab02a0978f64a2ee9b6fff6937041b088c87cc
I'll likely need to add it to the response manually like I did with blame
but I agree far more convenient
/config features.assistivePricing=true features.defaultLabels=["label1", "label2"]
That's a clear way to set config. It's cool to also have that but to make it more ergonomic to use.
Generally I like the AI's idea.
Allows an admin to update the bot config with nlp