This solution is developed based on FlashGPT3[1] proposed by Microsoft. OpenAI API token and Ollama are required to run the experiments. flashgpt3/cache/default.json
and flashgpt3/cache/toi.json
are cache files for queries and TOIs, respectively. Delete flashgpt3/cache/default.json
to obtain new query results. Delete flashgpt3/cache/toi.json
and set NSTLearning = true to obtain new NSTs.
The easiest way to get started is installing Visual Studio and loading the solution (FlashGPT3.sln
). All required dependencies can be easily installed through NuGet. Code was tested in a .NET 6.0 environment.
Create file ollamaapi.txt
and openaikey.txt
under ./flashgpt3
directory. ollamaapi.txt
should contain http://your.ollama.address:port/api
, and openaikey.txt
should contain your OpenAI API Key or Project Key.