stuartleeks / aoai-simulated-api

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

Simulator restricted network support for tiktoken #23

Closed aerjenn closed 4 months ago

aerjenn commented 4 months ago

This pull request primarily focuses on enabling the simulator to function in environments with varying levels of network access. It introduces three networking scenarios: unrestricted, semi-restricted, and restricted network access. The changes also include the addition of a new Python script to set up TikToken cache and modifications to the Dockerfile to handle different network access scenarios.

Major changes include:

Updates to README.md:

New Python Script:

Dockerfile Modifications:

Removal of Dependencies:

stuartleeks commented 4 months ago

@aerjenn - this looks good to me.

I see that the CI is failing as it runs make install-requirements which is looking for the src/aoai-simulated-api/requirements.txt

aerjenn commented 4 months ago

@aerjenn - this looks good to me.

I see that the CI is failing as it runs make install-requirements which is looking for the src/aoai-simulated-api/requirements.txt

Re-added the requirements.txt for now