Skip to content
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

Implement Natural Language Text Generation of Devcontainer for Projects Without Code #14

Open
nkkko opened this issue Sep 26, 2024 · 2 comments

Comments

@nkkko
Copy link
Member

nkkko commented Sep 26, 2024

Is your feature request related to a problem? Please describe.
Users may want to generate a devcontainer.json for new projects that do not yet have any code. Relying solely on repository content is not possible in such cases, necessitating an alternative approach for generating meaningful configurations.

Describe the solution you'd like

  • Implement a new feature that uses embeddings stored in the database and performs a similarity search to generate a devcontainer.json based on natural language descriptions and examples.
  • Allow users to input a description of their new project, which will be used to find similar projects in the database.
  • Generate a devcontainer.json template by adapting the configurations of those similar projects.

Describe alternatives you've considered

  • Using static templates, but this wouldn't be as flexible or tailored to specific project needs.

Additional context

  1. Frontend Changes:

    • Update the user interface to include an input field for natural language descriptions of new projects.
    • Add an option for users to generate devcontainer.json for projects without existing code.
  2. Backend Changes:

    • Implement functionality to fetch and utilize embeddings from the database.
    • Perform similarity searches against stored embeddings to find related project configurations.
    • Use these configurations to generate a new devcontainer.json template customized to the user's project description.
  3. Database Changes:

    • Ensure embeddings generated during previous processes are stored and retrievable.
    • Optimize database schema and indexing for efficient similarity searches.
  4. Testing:

    • Thoroughly test the feature to ensure that natural language inputs produce relevant and useful devcontainer.json configurations.
    • Validate the generated configurations to ensure they meet the requirements of the projects they are intended to support.
@nkkko
Copy link
Member Author

nkkko commented Oct 9, 2024

/bounty $50

Copy link

algora-pbc bot commented Oct 9, 2024

💎 $50 bounty • Daytona

Steps to solve:

  1. Start working: Comment /attempt #14 with your implementation plan
  2. Submit work: Create a pull request including /claim #14 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.

Please respect others by working on PRs that you are allowed to submit attempts to.

e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.

If you can not submit an attempt, you will not receive your payout.

Thank you for contributing to daytonaio/devcontainer-generator!

Add a bountyShare on socials

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

No branches or pull requests

1 participant