Returns
Returns a Span object.Example
Parameters
SpanType value:
SPAN, GENERATION, EVENT, AGENT, TOOL, CHAIN, RETRIEVER, EVALUATOR, EMBEDDING, GUARDRAIL. See Span Types for details. Other string values are sent to the API unchanged. The API never drops a span for an unrecognized type. It normalizes the value to a known span type and keeps your original label in the span’s metadata, under the key galtea.span.original_type.Human-readable description of what this operation does. Useful for documentation and debugging. Maximum size: 1MB.
The input data passed to the tool/function. Accepts any JSON-serializable value. Maximum size: 10MB. A Galtea file in its
content list is checked as in a trace: one of another organization fails the call with a 400. See Content Parts.The output data returned by the tool/function. Accepts any JSON-serializable value. Maximum size: 10MB. A Galtea file in its
content list is checked as in a trace: one of another organization fails the call with a 400. See Content Parts.