Y
Hacker News
new
|
ask
|
show
|
jobs
by
rattray
1047 days ago
How do you handle very large OpenAPI specs? For example, I think stripe's is over a megabyte. What's the summarization strategy?
1 comments
quan
1046 days 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
link