Documentation Index
Fetch the complete documentation index at: https://docs.vaero.co/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
API keys are associated with a project in your organization. Include the API key in the header of your request.Step 1. Upload files for training
Upload one or more files of your sample text for which you want to copy the style. The files are .txt or .docx. Each file should represent one document, such as one blog post, one report, one email, etc. If you want to train on multiple documents, upload them as separate files instead of mixing the content in one file.Step 2. Fine-tune your model
Fine-tune your model based on one or more of your uploaded files. The model will learn to write in the style of those files. For best results:- Use files with a consistent style
- Use files of the same type that you want to style, e.g. fine-tuning on product guides will create a model that works best on product guides
style_model is the model to fine-tune.
Step 3. Styling
Submit the output of your base AI model to the style transform endpoint using rewrite mode. Include themodel parameter with the ID of your fine-tuned model, set mode to "rewrite", and include the message parameter as a string containing the text to style.
If you have a large block of multi-paragraph text, include all of it in a single API call. You don’t need to segment the text into separate calls.
response["choices"][0]["message"]["content"]
Step 4. Evaluating the results
You can setinclude_quality to true for the style/transform endpoint to include quality metrics. The quality metrics compare the personalized results from Vaero styling, the unpersonalized results from the AI model without styling, and ground_truth reflecting the training data.
