Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HuggingFaceEmbeddingServerFunction

class HuggingFaceEmbeddingServerFunction implements IEmbeddingFunction {
constructor({ url }: {
url: string;
}
);
private url;
 
generate(texts: string[]): Promise<any>;
}

§Implements

§Constructors

§
new HuggingFaceEmbeddingServerFunction({ url }: {
url: string;
}
)
[src]

§Properties

§Methods

§
generate(texts: string[]): Promise<any>
[src]