UNPKG

@langchain/core

Version:
1 lines 417 B
{"version":3,"file":"hash.cjs","names":[],"sources":["../../src/utils/hash.ts"],"sourcesContent":["export { sha256 } from \"./js-sha256/hash.js\";\n\n/**\n * A function type for encoding hash keys.\n * Accepts any number of string arguments (such as prompt and LLM key)\n * and returns a single string to be used as the hash key.\n */\nexport type HashKeyEncoder = (...strings: string[]) => string;\n"],"mappings":""}