Validate Memory Backend • AI Agent SDK

validate_memory_backend: Normalise a backend name; raise rather than substitute a different store.

validate_memory_backend

Function

</div>

This function is defined in the feature_configs module.

Normalise a backend name; raise rather than substitute a different store.

Signature

python
def validate_memory_backend(backend: Union[str, 'MemoryBackend']) -> str

Parameters

ParamField Union[str, MemoryBackend]

No description available.

Returns

ResponseField str

The result of the operation.

Uses

  • available_memory_backends
  • ValueError
  • make_preset_error

Source

View on GitHub

praisonaiagents/config/feature_configs.py at line 85


Related Documentation