Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Natural Language Configuration Modifications: Set up /config command with OpenAI prompt #887

Open
Tracked by #886
0x4007 opened this issue Nov 16, 2023 · 4 comments

Comments

@0x4007
Copy link
Member

0x4007 commented Nov 16, 2023

Probably should also fs.readFileSync to pass in the AJV information.

This will need to use the new config schema we recently implemented at 0x4007#45 (comment)

Base off of a commit anytime after that one.

@0x4007 0x4007 changed the title Natural Language Configuration Modifications: Set up /config command with OpenAI prompt (can also fs.readFileSync to pass in the AJV information) Natural Language Configuration Modifications: Set up /config command with OpenAI prompt Nov 16, 2023
@Keyrxng
Copy link
Member

Keyrxng commented Nov 17, 2023

/start

I'll carry on anyway

Copy link

ubiquibot bot commented Nov 17, 2023

Skipping /start because it is disabled on this repo

@Keyrxng
Copy link
Member

Keyrxng commented Nov 17, 2023

@pavlovcik would it be a good idea to have a /config help or /config --help and we'll have GPT explain the config structure or list what can be set?

Base off of a commit anytime after that one.

I'm guessing that /config would be more so for first time setup? Or was this in reference to basing the implementation on a commit after that one? lmao

I'm thinking that I'll just have gpt call generateConfiguration(context: ProbotContext) which will provide an up to date config object and the bot can inject the admin specified entries only leaving missing props out.

@0x4007
Copy link
Member Author

0x4007 commented Nov 20, 2023

Help should be in the help menu. Don't make a sub help menu.

The commit I'm referring to is when we refactored all of the configuration hierarchy on my fork.

generateConfiguration(context: ProbotContext)

Seems like a sensible start.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants