Code Generation Tool#718
Open
bobur-khay wants to merge 27 commits into
Open
Conversation
✅ Deploy Preview for thingweb-playground ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
egekorkan
requested changes
May 26, 2026
Member
egekorkan
left a comment
There was a problem hiding this comment.
Initial review based on git diff
- Netlify previews are failing due to dependencies. Not sure how the CI tests are passing if the problem is so basic :D
- For the tests, did you also do tests with a live Thing? like your coffee machine example or http://plugfest.thingweb.io/http-data-schema-thing ?
869d86c to
39bae0d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is a take over of PR: eclipse-thingweb/td-tools#61
The goal is to create a package of a code generation tool that creates a protocol specific code snippet in a chosen library of a programming language and integrate it to the playground.
Taking over the previous PR I could not make it run and had a different vision of the use of AI generation:
The Bring Your Own Token principal requires the playground of either:
In both cases the user needs a developer account in their respective LLM provider and has to know how to generate the token which reduces UX imo. Therefore, after discussing this with @egekorkan I implemented another concept where the tool generates a prompt that user can paste in an LLM of their own choice:
The tool is inside of this repository for now for testing purposes. Later it can be moved to the
td-toolsrepository.