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.
| Name | Type | Description |
|---|---|---|
| input_value | Message | Input parameter. The message or query to route. |
| system_message | String | Input parameter. System message to pass to the selected model. |
| models | LanguageModel | Input parameter. The language model components to route between. Connect two or more LLM components. |
| api_key | SecretString | Input parameter. Your NotDiamond API key from app.notdiamond.ai. |
| preference_id | String | Input parameter. Optional. The ID of a router preference configured in the NotDiamond dashboard. |
| tradeoff | String | Input parameter. The cost-vs-latency tradeoff for routing decisions. |
| hash_content | Boolean | Input parameter. Hash message content before sending to the NotDiamond API for privacy. Default: false. |
Not Diamond Router outputs
| Name | Type | Description |
|---|---|---|
| output | Message | Output parameter. The response from the selected model. |
| selected_model | String | Output parameter. The name of the model that was selected for this request. |