Forefront Forefront enables developers to build on open-source AI with the familiar experience of leading closed-source platforms Forget deprecated models, inconsistent performance, arbitrary usage policies, and lack of control transparency
Forefront: Your new AI assistant Forefront Enterprise Built for enterprises who want to securely chat with their data, Forefront Enterprise offers advanced security, powerful admin controls, and more
docs. forefront. ai ## Getting started Currently pipelines are only supported through the Forefront Python and Typescript SDK Below is a walkthrough of how to get started: ### Install the package The Typescript SDK can be used in Node js and serverless environments (including Cloudflare workers) {% tabs %} {% tab title="Python" %} ``` pip install forefront
docs. forefront. ai from forefront import ForefrontClient ff = ForefrontClient(api_key="YOUR_API_KEY") completion = ff chat completions create( messages=[ {"role": "system", "content" "You are a gourmet chef"}, {"role": "user", "content": "Write a recipe for an italian dinner"}, ], model="MODEL_STRING", # replace with the name of the model temperature=0, max
docs. forefront. ai The Forefront API provides a simple interface for developers to use open-source models in their applications This quickstart tutorial will help get your local development environment setup, fine-tune your first model, and start using it in your application #x20;
docs. forefront. ai ## Get data sample for a pipeline selection <mark style="color:green;">`POST`< mark> `https: api forefront ai v1 pipelines :id samples` Returns array of data samples for a pipeline that meets filter criteria, if provided Otherwise returns all data in pipeline Each returned item contains a signed url that you can use to retrieve the text
docs. forefront. ai Forefront enables you to fine-tune and inference open-source text generation models (often referred to as generative pre-trained transformers or "GPT" models for short) #x20;
docs. forefront. ai You can interact with the Forefront API through HTTP requests from any language or via our official Python or Typescript package To install the SDK, run the following command:
Datasets - Forefront As part of validation, Forefront calculates token analytics for your dataset samples at the aggregate and sample level These can be easily viewed by clicking into a dataset
Quickstart - Forefront The Forefront API provides a simple interface for developers to use open-source models in their applications This quickstart tutorial will help get your local development environment setup, fine-tune your first model, and start using it in your application