MCPcopy Index your code
hub / github.com/mudler/LocalAI / TokenizeString

Method TokenizeString

pkg/grpc/embed.go:112–114  ·  view source on GitHub ↗
(ctx context.Context, in *pb.PredictOptions, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

110}
111
112func (e *embedBackend) TokenizeString(ctx context.Context, in *pb.PredictOptions, opts ...grpc.CallOption) (*pb.TokenizationResponse, error) {
113 return e.s.TokenizeString(ctx, in)
114}
115
116func (e *embedBackend) Status(ctx context.Context) (*pb.StatusResponse, error) {
117 return e.s.Status(ctx, &pb.HealthMessage{})

Callers

nothing calls this directly

Calls 1

TokenizeStringMethod · 0.65

Tested by

no test coverage detected