getTuple(config: RunnableConfig): Promise<CheckpointTuple | undefined>| Name | Type | Description |
|---|---|---|
config* | RunnableConfig |
Retrieves a checkpoint from the MongoDB database based on the provided config. If the config contains a "checkpoint_id" key, the checkpoint with the matching thread ID and checkpoint ID is retrieved. Otherwise, the latest checkpoint for the given thread ID is retrieved.