# Prem ## Docs - [Create an API Key](https://studio-docs.prem.io/api-reference/api-key.md): Learn how to create an API key to authenticate with the Prem API. - [Chat Completions](https://studio-docs.prem.io/api-reference/chat-completions/post-chatcompletions.md): Use this endpoint to generate a chat completion. - [Get Dataset](https://studio-docs.prem.io/api-reference/datasets/get-datasets-datasetid.md): Check dataset status and datapoint counts. - [Create Dataset From JSONL](https://studio-docs.prem.io/api-reference/datasets/post-datasets-create-from-jsonl.md): Upload a ready-made chat dataset (JSONL) and link it to an existing project. - [Create Labels](https://studio-docs.prem.io/api-reference/datasets/post-datasets-create-labels.md): Create labels linked to the given dataset. - [Create Synthetic Dataset](https://studio-docs.prem.io/api-reference/datasets/post-datasets-create-synthetic.md): Start a synthetic data generation job for a project dataset. - [Start Data Augmentation](https://studio-docs.prem.io/api-reference/datasets/post-datasets-start-augmentation.md): Start data augmentation process to generate additional training examples from existing datapoints. - [Start Auto Labeling](https://studio-docs.prem.io/api-reference/datasets/post-datasets-start-auto-labeling.md): Start the labeling process for the given dataset using the associated labels. - [Get Fine-Tuning Job](https://studio-docs.prem.io/api-reference/finetuning/get-finetuning-jobid.md): Check job progress and experiment statuses. - [Create Fine-Tuning Job](https://studio-docs.prem.io/api-reference/finetuning/post-finetuning-create.md): Launch a fine-tuning job from a snapshot and experiment plan. - [GitHub Tutorials](https://studio-docs.prem.io/api-reference/github-tutorials.md): Explore our collection of Python and TypeScript tutorials on GitHub. - [Getting Started With Prem API](https://studio-docs.prem.io/api-reference/introduction.md): Learn how to interact with Prem's API endpoints. - [Get Models](https://studio-docs.prem.io/api-reference/models/get-models.md): Use this endpoint to get a list of models available to you. - [List Projects](https://studio-docs.prem.io/api-reference/projects/get-projects.md): Retrieve every project you have created via the public API. - [Get Project Tree](https://studio-docs.prem.io/api-reference/projects/get-projects-projectid.md): Expand a project into its datasets, snapshots, fine-tuning jobs, and experiments. - [Create Project](https://studio-docs.prem.io/api-reference/projects/post-projects-create.md): Create a new Prem project to organise datasets, snapshots, and fine-tuning workflows. - [Get Recommendations](https://studio-docs.prem.io/api-reference/recommendations/get-recommendations-snapshotid.md): Poll recommendation status and view suggested models. - [Generate Recommendations](https://studio-docs.prem.io/api-reference/recommendations/post-recommendations-generate.md): Kick off model recommendations for a dataset snapshot. - [Create Snapshot](https://studio-docs.prem.io/api-reference/snapshots/post-snapshots-create.md): Split a dataset into training and validation and build a snapshot. - [Delete Trace](https://studio-docs.prem.io/api-reference/traces/delete-trace.md): Use this endpoint to delete a trace by its ID. - [Get Traces](https://studio-docs.prem.io/api-reference/traces/get-trace.md): Use this endpoint to get the list of traces. - [Add Trace to Dataset](https://studio-docs.prem.io/api-reference/traces/post-trace-add-to-dataset.md): Add a trace to a dataset, enabling continuous fine-tuning with fresh, real-world data. If the trace score is above a threshold, a positive datapoint is added; if too low, a new positive datapoint is generated based on user feedback. - [Create Trace](https://studio-docs.prem.io/api-reference/traces/post-traces.md): Use this endpoint to create a trace. - [Update Trace](https://studio-docs.prem.io/api-reference/traces/put-trace.md): Use this endpoint to update an existing trace. - [Autosplit a Dataset](https://studio-docs.prem.io/datasets/autosplit-dataset.md): Learn how to autosplit a dataset into training, and validation sets. - [Create a Snapshot 📸](https://studio-docs.prem.io/datasets/create-snapshot.md): Learn how to create a snapshot of your dataset. - [Enrich a Dataset](https://studio-docs.prem.io/datasets/enrich-dataset.md): Learn how to expand your dataset with synthetic data. - [Get Started With Datasets](https://studio-docs.prem.io/datasets/get-started.md): Learn how to upload, generate, manage, and use datasets in Prem. - [Datasets Overview](https://studio-docs.prem.io/datasets/overview.md): Learn how to create and use datasets to fine-tune your models. - [Bring Your Own Evaluation](https://studio-docs.prem.io/evaluations/bring-your-own-eval.md): Learn how to bring your own evaluation to Prem. - [Get Started With Evaluations](https://studio-docs.prem.io/evaluations/get-started.md): Learn how to evaluate a model in Prem. - [Evaluation Metrics](https://studio-docs.prem.io/evaluations/metrics.md): Learn about the evaluation metrics available in Prem and how to create your own. - [Evaluations Overview](https://studio-docs.prem.io/evaluations/overview.md): Learn how to run evaluations on your fine-tuned models. - [Experiments](https://studio-docs.prem.io/finetuning/experiments.md): Learn how to create experiments with your fine-tuned model. - [Get Started With Fine-Tuning](https://studio-docs.prem.io/finetuning/get-started.md): Learn how to fine-tune a model with Prem. - [Fine-Tuning Overview](https://studio-docs.prem.io/finetuning/overview.md): Use fine-tuning to create a custom model for your use case. - [Client SDKs](https://studio-docs.prem.io/get-started/sdks.md): We provide client libraries in a number of popular languages that make it easier to work with the PremAI API. - [Build Better Datasets: Best Practices to Get You Started](https://studio-docs.prem.io/guides/datasets/dataset-best-practices.md): Discover key dataset practices to improve model performance in Prem Studio — from splitting strategies to validation integrity. - [Enrich Your Dataset to Improve Fine-Tuning Results](https://studio-docs.prem.io/guides/datasets/enrichment.md): Learn how to increase your dataset size using Prem Studio's data enrichment tools for better model training and generalization. - [Generate Dataset from Text Files (PDF, DOCX, and more)](https://studio-docs.prem.io/guides/datasets/synthetic-data.md): Learn how to transform raw text documents into structured question-answering datasets using Prem Studio for fine-tuning and evaluation. - [How to write good metric rules for Evaluation](https://studio-docs.prem.io/guides/evaluation/writing-good-metrics.md): How to write effective rules for defining metrics that enable accurate evaluation. - [LoRA Fine-Tuning](https://studio-docs.prem.io/guides/finetuning/lora-finetuning.md): How to fine-tune LLMs within minutes using LoRA. - [Locally serve OpenAI compatible Prem Fine-tuned Models](https://studio-docs.prem.io/guides/general/serve-models-to-vllm.md): Learn how to deploy Prem fine-tuned models as OpenAI compatible API all locally. - [Upload Datasets and Models to Hugging Face](https://studio-docs.prem.io/guides/general/upload-to-hf.md): Learn how to upload Prem datasets and finetuned models to Hugging Face - [Function Calling with Prem SDK](https://studio-docs.prem.io/guides/inference/function-calling.md): This guide shows you how to use function calling capabilities with LLMs using both Prem Python and TypeScript SDKs. - [Structured JSON Output with Prem SDK](https://studio-docs.prem.io/guides/inference/json-output.md): This guide shows you how to prompt LLMs to return structured JSON outputs using both Prem Python and TypeScript SDKs. - [Welcome To Prem Studio](https://studio-docs.prem.io/index.md): Fine-tune, Evaluate, Observe and Deploy Your Custom AI Models. - [Deploying Fine-Tuned Models with NVIDIA NIM](https://studio-docs.prem.io/inference/deploy-with-nim.md): Learn how to deploy your fine-tuned LLMs using NVIDIA's NIM framework. - [Self-Hosting Fine-Tuned Models](https://studio-docs.prem.io/inference/self-host.md): Learn how to self-host checkpoints using Hugging Face, VLLM and Ollama. - [Get Started with Projects](https://studio-docs.prem.io/projects/get-started.md): Create your first AI development project and learn the complete workflow from dataset creation to model evaluation. - [Projects Overview](https://studio-docs.prem.io/projects/overview.md): Streamline your AI development workflow with end-to-end project orchestration in Prem Studio. - [Release Notes](https://studio-docs.prem.io/release-notes/release-notes.md) - [Frequently Asked Questions](https://studio-docs.prem.io/resources/faq.md): Find answers to common questions about Prem. ## OpenAPI Specs - [openapi](https://studio-docs.prem.io/api-reference/openapi.json) ## Optional - [Blog](https://blog.premai.io)