stuartleeks / aoai-simulated-api

An exploration into creating a simulated API implementation for Azure OpenAI (AOAI)
MIT License
11 stars 4 forks source link

Add configuration options to control size of generated response #35

Open stuartleeks opened 2 months ago

stuartleeks commented 2 months ago

When generating completion responses, the generator currently uses all available tokens.

To increase the realism, it would be useful to be able to control the number of tokens that are generated via config e.g. to enable generating a range of response sizes.

TODO: determine what the configuration should look like