Importing from OpenAI
Last updated
Last updated
OpenAI allow you to create fine-tunes for all of their standard models. They don't have a user-friendly way to do this currently and it is only available to be done via code. We are working on building a no-code friendly UX for this and it should be out soon but for now, if you have created a fine-tune with OpenAI, you can import those models into Riku for your use.
To get started with importing your OpenAI fine-tuned models into Riku, you will need to go to the OpenAI dashboard which you can get to here. Once you are in the Playground of OpenAI, you can click the Engine dropdown to see all of the OpenAI models. If you scroll down to the bottom you will see "Fine-tunes" where you can see all of the fine-tunes that are available in your account.
Select the model that you would like to import into Riku and then you will be able to click the view code on the top tool bar. From here, I like to make it so it is showing curl, it might show python by default so you can change this to curl by clicking on that and selecting curl.
You can see in this example that there is a fine-tuned model and we are interested in copying everything within the quotation marks shown above. Copy this to your clipboard and load up Riku.
Within Riku, click on your API Settings tab or directly click here. See the Fine-tune Models option and select OpenAI from the dropdown and hit the button to load the popup.
Write a name for the fine-tune that you recognize, this is just internal for you and for you to remember what the model does and nothing more. Then take the fine-tune ID that we got previously from OpenAI and enter it into the second input. Hit save and you will see a success message.
If you then go to the Playground in Riku and change the technology to Fine-tuned Models you will see that the new fine-tune will appear and you can select it.
There we have it! It is that simple to add an OpenAI fine-tune to your RIku account. You can then use that model in the playground, create saved prompts with it and even create public share links for others to use. I hope this guide has been useful!