Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rattray
· 3y ago · 0 comments
How do you handle very large OpenAPI specs? For example, I think stripe's is over a megabyte. What's the summarization strategy?
Comments
[–]
quan
3y ago
It’s done in two steps: 1. Create an array of every endpoint’s summary text and ask AI to select one based on the user prompt 2. Use function calling with parameters of the selected operation in step 1