@langchain/core
Version:
Core LangChain.js abstractions and schemas
20 lines • 498 B
text/typescript
//#region src/messages/content/base.d.ts
interface BaseContentBlock {
/**
* Type of the content block
*/
readonly type: string;
/**
* Content block identifier, which can be either
* - generated by the provider (e.g., a provider-specific ID)
* - generated by LangChain upon creation (a uuid prefixed with 'lc-')
*/
id?: string;
/**
* Arbitrary properties
*/
[]: unknown;
}
//#endregion
export { BaseContentBlock };
//# sourceMappingURL=base.d.cts.map