Public
Viewing readonly version: 3View latest version
This is an 'Omni API' that generates itself just in time.
You supply a prompt and inputs to the desired API. On the first occurance of that prompt:
- We ask an LLM to generate the code for endpoint to the prompt's specifications
- We create an HTTP val with that code
- We call that HTTP val, passing along the inputs
- We return the response to the original requester
On future occurances of the exact same prompt, we lookup the val that corresponds to that prompt, pass along the inputs, and the resulting response.
This Val Town project is responsible for the top-level API. However we generate new