Skip to content

Class: AdapterParseError

Raised when an Adapter fails to parse an LM response (dspy.AdapterParseError).

URI: dspy:AdapterParseError

 classDiagram
    class AdapterParseError
    click AdapterParseError href "../AdapterParseError/"
      DSPyError <|-- AdapterParseError
        click DSPyError href "../DSPyError/"

      AdapterParseError : code_value

      AdapterParseError : description

      AdapterParseError : id

      AdapterParseError : lm_response

      AdapterParseError : message

      AdapterParseError : name

      AdapterParseError : retryable

      AdapterParseError : signature_name

Inheritance

Slots

Name Cardinality and Range Description Inheritance
signature_name 0..1
String
direct
lm_response 0..1
String
Raw LM response text associated with a parse error direct
message 1
String
Human-readable error message DSPyError
code_value 0..1
String
Provider error code DSPyError
retryable 0..1
Boolean
DSPyError
id 1
Identifier
Stable opaque identifier for an instance NamedThing
name 0..1
String
Short human-readable name NamedThing
description 0..1
String
Free-form description NamedThing

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:AdapterParseError
native dspy:AdapterParseError
close mcp:ParseError

LinkML Source

Direct

name: AdapterParseError
description: Raised when an Adapter fails to parse an LM response (``dspy.AdapterParseError``).
in_subset:
- errors
- adapters
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- mcp:ParseError
is_a: DSPyError
slots:
- signature_name
- lm_response

Induced

name: AdapterParseError
description: Raised when an Adapter fails to parse an LM response (``dspy.AdapterParseError``).
in_subset:
- errors
- adapters
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- mcp:ParseError
is_a: DSPyError
attributes:
  signature_name:
    name: signature_name
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: AdapterParseError
    domain_of:
    - AdapterParseError
    range: string
  lm_response:
    name: lm_response
    description: Raw LM response text associated with a parse error.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: AdapterParseError
    domain_of:
    - AdapterParseError
    range: string
  message:
    name: message
    description: Human-readable error message.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: AdapterParseError
    domain_of:
    - DSPyError
    range: string
    required: true
  code_value:
    name: code_value
    description: Provider error code.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: AdapterParseError
    domain_of:
    - DSPyError
    range: string
  retryable:
    name: retryable
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    ifabsent: boolean(False)
    owner: AdapterParseError
    domain_of:
    - DSPyError
    range: boolean
  id:
    name: id
    description: Stable opaque identifier for an instance.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    owner: AdapterParseError
    domain_of:
    - NamedThing
    range: Identifier
    required: true
  name:
    name: name
    description: Short human-readable name.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: rdfs:label
    owner: AdapterParseError
    domain_of:
    - NamedThing
    - LMToolCallPart
    - LMMessage
    - LMToolSpec
    range: string
  description:
    name: description
    description: Free-form description.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: dct:description
    owner: AdapterParseError
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string