API Reference - GPT-OSS Edition
This document provides a reference for the Tekimax SDK API, optimized for GPT-OSS 20 and GPT-OSS 120 models.Core Classes
OllamaClient
Main entry point for the SDK.Supported Models
Text Generation
generate
Generate text from a prompt using GPT-OSS models.generateStream
Generate text from a prompt with streaming response.Embeddings
createEmbedding
Create an embedding vector from a text prompt.Model Management
listModels
List available models.showModel
Get details about a specific model.pullModel
Pull a model from the Ollama library.deleteModel
Delete a model from the local Ollama instance.OpenAI Compatibility Layer
For using the SDK with applications designed for OpenAI’s API.Utility Classes
StreamParser
Parse streaming responses from Ollama.Error Handling
All methods can throwOllamaError with the following structure:
