Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Introduce Prompt customization into config #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
samheutmaker merged 8 commits into context-labs:master from andrewhong5297:prompt-config
Mar 27, 2023

Conversation

@andrewhong5297
Copy link
Contributor

@andrewhong5297 andrewhong5297 commented Mar 26, 2023

This PR adds filePrompt, folderPrompt, chatPrompt, contentType, and targetAudience into the config to make prompts more flexible.

Ideally, in the future, you could choose some preset for code, developer docs, or other kinds of repositories.

I've checked that the whole doc init and doc index process still works, and moved the original prompts into the default config.

I'm not super used to typescript so I may have made some antipatterns along the way 😅

Super excited to see this tool grow further.

Copy link
Contributor

samheutmaker commented Mar 26, 2023
edited
Loading

They thanks so much for taking this on! Every looks good at first glance. I'll take a deeper look in the morning and try to get it merged tomorrow.

Copy link
Contributor Author

They thanks so much for taking this on! Every looks good at first glance. I'll take a deeper look in the morning and try to get it merged tomorrow.

My pleasure! Thanks for open sourcing this :)

Copy link
Contributor Author

I'm adding a filter for not including /blob/master/ in links if the user doesn't want to, since I want to direct users to the hosted docs site instead of the github! give me a sec

Copy link
Contributor Author

kk done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /