@langchain/core
Version:
Core LangChain.js abstractions and schemas
9 lines • 345 B
text/typescript
import { sha256 } from "./js-sha256/hash.cjs";
/**
* A function type for encoding hash keys.
* Accepts any number of string arguments (such as prompt and LLM key)
* and returns a single string to be used as the hash key.
*/
export type HashKeyEncoder = (...strings: string[]) => string;
export { sha256 };
//# sourceMappingURL=hash.d.cts.map