Creating Prompts
Prompts are central to everything that we do with Riku. We want you to be comfortable with experimenting and making the prompts that you need for your business. There is a bit of a learning curve when it comes to making a prompt, we hope to make that as painless as possible though if you just read everything on this page.
Once you are logged into your Riku.ai account, you can access the playground here. The playground is where you can experiment with the raw AI models and get something great out the other end. There are various different settings you can alter.
Hovering over any of the settings in the right sidebar on the playground page will give you a brief overview of what that setting does. It is easy to forget so use this information when building out a prompt.
Generally the steps we follow for making a good prompt are the following;
Give the AI a clear instruction at the top. This could be anything that you want it to output. An example could be; "Write me an introduction for a blog post on the following topic which is exciting and engaging." The more details you write in this instruction, the better.
Think about what your inputs should be. What would the end-user or you like to put in as information for the AI to work with. This could be a single input or multiple inputs. If we follow on for a blog introduction, we probably want 2 fields; Blog Name and Blog Description. You can either label these as such to help you remember or shorten them down so you could put BN: and then BD: on the next line, or you could write them out in full. We like to keep the inputs with a colon next to them to help the AI learn the pattern.
What we'd do now is actually make an example or two of these inputs. We'd fill in all the input fields we have created and then on the next line, we'd put a differentiator. By default and what we feel is good practice is to use '###' as the likelihood of you using this sequence in your writing is pretty low.
On the next line after the ###, you can give your output example. Write in the best way you can, a blog introduction based on the information you have provided for the inputs. When you are done, on the next line put ###. Now the AI will know that the pattern we are following is inputs, separator, output, separator and then a new sequence will occur.
Congratulations, you have now created a prompt with a single example. You can make this prompt better by providing further examples, how many is entirely up to you. You can also test it by providing the inputs again, and following with the ### and then hitting generate to see what comes out. You may want to then edit the output, toggle some of the settings, change AI engine or a mixture of them all.
When you have a prompt you are happy with, you can hit the save button. Make sure that the prompt finishes with your separator so it should be your final example inputs, your separator (###), your final example output, final separator (###). When saving, follow the fields and enter the information. You can choose whether to make the model public to the community or save it as a private model for your account.
Last updated