You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Two mutually exclusive modes - the standard OpenAI text, and our special TensorZero mode
691
691
pubenumTextContent{
692
+
/// "content": [{"type": "tensorzero::raw_text", "value": "Write a haiku about artificial intelligence"}]
693
+
RawText{value:String},
692
694
/// A normal openai text content block: `{"type": "text", "text": "Some content"}`. The `type` key comes from the parent `OpenAICompatibleContentBlock`
693
-
RawText{text:String},
695
+
Text{text:String},
694
696
/// A special TensorZero mode: `{"type": "text", "tensorzero::arguments": {"custom_key": "custom_val"}}`.
695
697
TensorZeroArguments{
696
698
tensorzero_arguments:Map<String,Value>,
@@ -701,29 +703,42 @@ impl<'de> Deserialize<'de> for TextContent {
0 commit comments