-
Notifications
You must be signed in to change notification settings - Fork 216
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
Add support for Keyin API for itwin.js for AI usecase #7614
Comments
This key-ins approach would help in
|
Key-in commands are useful beyond LLM use cases; at one point early in the design of iTwin.js editing capabilities some folks were pushing for everything to be based on commands so that everything could be scripted. Today all |
@wgoehrig I believe there is overlap with this request and ideas for editing. I think @karolis-zukauskas was also interested in editing APIs written as functions/library. |
It is certainly desirable to make our APIs easy to consume for LLMs to enable automation. I wonder if Key-ins are the right approach though. If you allow me to simplify a bit, a key-in is just another, higher level, API. The question then becomes: does the LLM really need that higher level API or can it work with the existing one? Creating and more importantly, maintaining a new API is costly. We should always think very carefully before we introduce new APIs and measure the return on investment. In a world where LLM will become pervasive, I am quite convinced that the use of key-ins by humans will reduce in favor of interactions with LLMs that will do the automation for them more efficiently. Shouldn't we instead remove key-ins and make LLM proficient at using the lower level APIs ? |
A couple of related notes -
|
For data workflows, may be we can also think of leveraging GraphQL as an intermediate layer. GraphQL can complement LLMs as a tool for Agents to automate workflows. |
A KeyIn allows features to be invoked through textual commands in MicroStation. Although this method is old, it can be a very effective way to bridge the complexity of the UI and the application with LLMs.
Some advantages
The registry should allow keyin in same way as LLM expose tool/functions where tool and its parameters has description so LLM can fill out parameters from user input.
The text was updated successfully, but these errors were encountered: