Documentation
¶
Overview ¶
Package grpcworker adapts the generated inference gRPC client to the Core's text-only consolidation Worker boundary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker is a thin transport bridge. Semantic parsing and state transitions remain owned by Core.
func New ¶
func New(client inferencev1.InferenceWorkerClient) *Worker
New returns a Worker backed by the generated inference client.
func (*Worker) ProcessConsolidationWindow ¶
func (worker *Worker) ProcessConsolidationWindow( ctx context.Context, request consolidation.WorkerRequest, ) (string, error)
ProcessConsolidationWindow forwards the Core-bounded text request and returns the worker's tagged text unchanged.
Click to show internal directories.
Click to hide internal directories.