Skip to content

Latest commit

 

History

History
85 lines (68 loc) · 1.22 KB

File metadata and controls

85 lines (68 loc) · 1.22 KB

API Overview

Top-Level Package

The recommended import surface is the top-level datafast package.

from datafast import Source, LLMStep, Sink, openrouter

Core Types

  • Record
  • Step
  • Pipeline
  • RunConfig
  • Runner
  • run_pipeline
  • CheckpointManager

Sources and Seeds

  • Source.list(...)
  • Source.file(...)
  • Source.jsonl(...)
  • Source.csv(...)
  • Source.parquet(...)
  • Source.tsv(...)
  • Source.txt(...)
  • Source.huggingface(...)
  • Seed.values(...)
  • Seed.product(...)
  • Seed.zip(...)
  • Seed.range(...)

Data Operations

  • Sample
  • AddUUID
  • Map
  • FlatMap
  • Filter
  • Group
  • Pair
  • Concat
  • Join

LLM Operations

  • LLMStep
  • Classify
  • Score
  • Compare
  • Rewrite
  • Extract
  • configure_langfuse_tracing(...)
  • is_langfuse_tracing_enabled()

Branching and Sinks

  • Branch
  • JoinBranches
  • Sink.jsonl(...)
  • Sink.csv(...)
  • Sink.parquet(...)
  • Sink.hub(...)
  • Sink.list()

Providers

  • OpenAIProvider
  • AnthropicProvider
  • GeminiProvider
  • MistralProvider
  • OpenRouterProvider
  • OllamaProvider

Factory helpers:

  • openai(...)
  • anthropic(...)
  • gemini(...)
  • mistral(...)
  • openrouter(...)
  • ollama(...)