Skip to main content

Module poet_api

Module poet_api 

Source
Expand description

Bounded HTTP adapters for POET’s native evaluation capabilities.

These handlers expose the same PoetSnapshot and NLP implementations used by the desktop host. They deliberately return execution failures as typed JSON responses so browser clients can render honest diagnostics.

Structs§

GazetteerHitDto
NativeEvalRequest
NativeEvalResponse
NativeGazetteerRequest
NativeGazetteerResponse
NativeInvokeRequest

Constants§

POET_PAYLOAD_LIMIT_BYTES

Functions§

eval_handler
HTTP eval handler.
gazetteer_handler
HTTP gazetteer handler.
intent_handler
Dispatch a CBOR-LD Tool Chest envelope through supported native contracts.
invoke_handler
HTTP invoke handler.