MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / validate_after

Method validate_after

examples/server/server.py:2591–2593  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2589
2590 @model_validator(mode="after")
2591 def validate_after(self) -> "CreateEmbeddingRequest":
2592 self.normalized_input()
2593 return self
2594
2595 def normalized_input(self) -> List[Union[str, List[int]]]:
2596 if isinstance(self.input, str):

Callers

nothing calls this directly

Calls 1

normalized_inputMethod · 0.95

Tested by

no test coverage detected