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

Render LLM Helpers #1

Open
sh-rp opened this issue May 2, 2024 · 0 comments
Open

Render LLM Helpers #1

sh-rp opened this issue May 2, 2024 · 0 comments

Comments

@sh-rp
Copy link
Collaborator

sh-rp commented May 2, 2024

We could could also output some additional info the user can use for prompting, example:

When rendering endpoints, let's dump useful LLM information into a text file that may be used for prompting (manual).
Ideally for each rendered endpoints we have a path fragment of openAPI spec that contains the following

only GET operation
parameters but dereferenced
actual response that we picked
in the response the schema should be de-referenced (but maybe only to the 2 nesting level)
examples should be kept

let's render using yaml. this is what LLM will understand

if we detected parent endpoint let's give path to it.

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

No branches or pull requests

1 participant