|
@@ -33,7 +33,6 @@ type LlamaServer interface {
|
|
|
Ping(ctx context.Context) error
|
|
|
WaitUntilRunning(ctx context.Context) error
|
|
|
Completion(ctx context.Context, req CompletionRequest, fn func(CompletionResponse)) error
|
|
|
- // Embedding(ctx context.Context, prompt string) ([]float64, error)
|
|
|
Embed(ctx context.Context, input []string) ([][]float32, error)
|
|
|
Tokenize(ctx context.Context, content string) ([]int, error)
|
|
|
Detokenize(ctx context.Context, tokens []int) (string, error)
|