1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| 127.0.0.1:6379> keys * 1) "message_store:redis456" 2) "message_store:redis123" 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> lrange message_store:redis456 0 -1 1) "{\"type\": \"ai\", \"data\": {\"content\": \"\\uc218\\ud559\\uc5d0 \\ub2a5\\uc219\\ud55c \\ub3c4\\uc6b0\\ubbf8\\uc785\\ub2c8\\ub2e4.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 17, \"prompt_tokens\": 103, \"total_tokens\": 120, \"completion_tokens_details\": {\"audio_tokens\": null, \"reasoning_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": null, \"cached_tokens\": 0}}, \"model_name\": \"gpt-3.5-turbo-0125\", \"system_fingerprint\": null, \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run-1507d5ba-7bce-458d-b9ff-b6c93252dab3-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 103, \"output_tokens\": 17, \"total_tokens\": 120, \"input_token_details\": {\"cache_read\": 0}, \"output_token_details\": {\"reasoning\": 0}}}}" 2) "{\"type\": \"human\", \"data\": {\"content\": \"\\uc774\\uc804\\uc758 \\ub2f5\\ubcc0\\uc744 \\ud55c\\uae00\\ub85c \\ubc88\\uc5ed\\ud574 \\uc8fc\\uc138\\uc694.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": null, \"example\": false}}" 3) "{\"type\": \"ai\", \"data\": {\"content\": \"\\uc218\\ud559\\uc5d0 \\ub2a5\\uc219\\ud55c \\ub3c4\\uc6b0\\ubbf8\\uc785\\ub2c8\\ub2e4.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 17, \"prompt_tokens\": 60, \"total_tokens\": 77, \"completion_tokens_details\": {\"audio_tokens\": null, \"reasoning_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": null, \"cached_tokens\": 0}}, \"model_name\": \"gpt-3.5-turbo-0125\", \"system_fingerprint\": null, \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run-c7ce147f-2ac9-4068-8405-6bc91669a52e-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 17, \"total_tokens\": 77, \"input_token_details\": {\"cache_read\": 0}, \"output_token_details\": {\"reasoning\": 0}}}}" 4) "{\"type\": \"human\", \"data\": {\"content\": \"\\uc774\\uc804\\uc758 \\ub2f5\\ubcc0\\uc744 \\ud55c\\uae00\\ub85c \\ubc88\\uc5ed\\ud574 \\uc8fc\\uc138\\uc694.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": null, \"example\": false}}" 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> lrange message_store:redis123 0 -1 1) "{\"type\": \"ai\", \"data\": {\"content\": \"Shohei Ohtani is a Japanese professional baseball player who plays for the Los Angeles Angels in Major League Baseball (MLB). He is known for his exceptional skills as both a pitcher and a hitter.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 42, \"prompt_tokens\": 185, \"total_tokens\": 227, \"completion_tokens_details\": {\"audio_tokens\": null, \"reasoning_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": null, \"cached_tokens\": 0}}, \"model_name\": \"gpt-3.5-turbo-0125\", \"system_fingerprint\": null, \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run-8ba62e18-27de-438b-8a88-a85b399951a6-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 185, \"output_tokens\": 42, \"total_tokens\": 227, \"input_token_details\": {\"cache_read\": 0}, \"output_token_details\": {\"reasoning\": 0}}}}" 2) "{\"type\": \"human\", \"data\": {\"content\": \"Who ohtani.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": null, \"example\": false}}" 3) "{\"type\": \"ai\", \"data\": {\"content\": \"Cosine is a trigonometric function that represents the ratio of the adjacent side to the hypotenuse in a right triangle.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 26, \"prompt_tokens\": 146, \"total_tokens\": 172, \"completion_tokens_details\": {\"audio_tokens\": null, \"reasoning_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": null, \"cached_tokens\": 0}}, \"model_name\": \"gpt-3.5-turbo-0125\", \"system_fingerprint\": null, \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run-56f41ea1-25d2-4071-aa8e-24693cc3dead-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 146, \"output_tokens\": 26, \"total_tokens\": 172, \"input_token_details\": {\"cache_read\": 0}, \"output_token_details\": {\"reasoning\": 0}}}}" 4) "{\"type\": \"human\", \"data\": {\"content\": \"What does cosine mean?\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": null, \"example\": false}}" 5) "{\"type\": \"ai\", \"data\": {\"content\": \"\\ucf54\\uc0ac\\uc778\\uc740 \\uc9c1\\uac01 \\uc0bc\\uac01\\ud615\\uc5d0\\uc11c \\uc778\\uc811\\ubcc0\\uacfc \\ube57\\ubcc0\\uc758 \\ube44\\uc728\\uc744 \\ub098\\ud0c0\\ub0c5\\ub2c8\\ub2e4.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 41, \"prompt_tokens\": 92, \"total_tokens\": 133, \"completion_tokens_details\": {\"audio_tokens\": null, \"reasoning_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": null, \"cached_tokens\": 0}}, \"model_name\": \"gpt-3.5-turbo-0125\", \"system_fingerprint\": null, \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run-986633f9-22a6-4c16-89d9-3918780b585d-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 92, \"output_tokens\": 41, \"total_tokens\": 133, \"input_token_details\": {\"cache_read\": 0}, \"output_token_details\": {\"reasoning\": 0}}}}" 6) "{\"type\": \"human\", \"data\": {\"content\": \"\\uc774\\uc804\\uc758 \\ub2f5\\ubcc0\\uc744 \\ud55c\\uae00\\ub85c \\ubc88\\uc5ed\\ud574 \\uc8fc\\uc138\\uc694.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": null, \"example\": false}}" 7) "{\"type\": \"ai\", \"data\": {\"content\": \"Cosine represents the ratio of the adjacent side to the hypotenuse in a right triangle.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 19, \"prompt_tokens\": 47, \"total_tokens\": 66, \"completion_tokens_details\": {\"audio_tokens\": null, \"reasoning_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": null, \"cached_tokens\": 0}}, \"model_name\": \"gpt-3.5-turbo-0125\", \"system_fingerprint\": null, \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run-146afcbf-7301-4673-b3d4-0bf6ae2c9191-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 47, \"output_tokens\": 19, \"total_tokens\": 66, \"input_token_details\": {\"cache_read\": 0}, \"output_token_details\": {\"reasoning\": 0}}}}" 8) "{\"type\": \"human\", \"data\": {\"content\": \"What does cosine mean?\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": null, \"example\": false}}"
|