Skip to main content

NotDiamond

Bundles contain custom components that support specific third-party integrations with Orbis Studio.

This page describes the components that are available in the NotDiamond bundle.

Not Diamond Router​

The Not Diamond Router component routes each request to the most appropriate language model using NotDiamond's AI-powered routing engine. Connect multiple LLM components and NotDiamond selects the best one for each query based on cost, latency, and quality tradeoffs.

Not Diamond Router parameters​

Some parameters are hidden by default in the visual editor. You can modify all component parameters through the component inspection panel that appears when you select a component.

NameTypeDescription
input_valueMessageInput parameter. The message or query to route.
system_messageStringInput parameter. System message to pass to the selected model.
modelsLanguageModelInput parameter. The language model components to route between. Connect two or more LLM components.
api_keySecretStringInput parameter. Your NotDiamond API key from app.notdiamond.ai.
preference_idStringInput parameter. Optional. The ID of a router preference configured in the NotDiamond dashboard.
tradeoffStringInput parameter. The cost-vs-latency tradeoff for routing decisions.
hash_contentBooleanInput parameter. Hash message content before sending to the NotDiamond API for privacy. Default: false.

Not Diamond Router outputs​

NameTypeDescription
outputMessageOutput parameter. The response from the selected model.
selected_modelStringOutput parameter. The name of the model that was selected for this request.

See also​