graphdb-workbench-tests
Version:
Cypress tests for GraphDB workbench
205 lines (204 loc) • 8.62 kB
JSON
{
"thread_jdQBvbkaU6JPoO48oQaL76dC": {
"id": "thread_jdQBvbkaU6JPoO48oQaL76dC",
"name": "Han Solo is a fictional character in the...",
"messages": [
{
"id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": null,
"role": "user",
"message": "Who is Han Solo?",
"timestamp": "1725875323",
"name": null
},
{
"id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc1",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
"role": "assistant",
"message": "Han Solo is a fictional character in the Star Wars franchise.",
"timestamp": "1725875332",
"name": null
},
{
"id": "msg_1niL7yYidTfiGZynCiryiMMd",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": null,
"role": "user",
"message": "Who are the Han Solo's children?",
"timestamp": "1725875483",
"name": null
},
{
"id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc2",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
"role": "assistant",
"message": "Han Solo is a fictional character in the Star ",
"timestamp": "1725875332",
"name": null,
"usage": {
"completionTokens": 81,
"promptTokens": 10245,
"totalTokens": 10326
}
}
],
"timestamp": "1725875483"
},
"thread_jdQBvbkaU6JPoO48oFbC54dA": {
"id": "thread_jdQBvbkaU6JPoO48oFbC54dA",
"name": "Han Solo is a fictional character in the...",
"messages": [
{
"id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": null,
"role": "user",
"message": "Who is Han Solo?",
"timestamp": "1725875323",
"name": null
},
{
"id": "msg_YbtWCL64HPu9Kf7SbeRlrwCc",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfos",
"role": "assistant",
"message": "Han Solo is a fictional character in the Star Wars franchise.",
"timestamp": "1725875332",
"name": null
},
{
"id": "msg_1niL7yYidTfiGZynCiryiMMd",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": null,
"role": "user",
"message": "Who are the Han Solo's children?",
"timestamp": "1725875483",
"name": null
},
{
"id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc2",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfos",
"role": "assistant",
"message": "Han Solo is a fictional character in the Star ",
"timestamp": "1725875332",
"name": null
}
],
"timestamp": "1725875483"
},
"thread_jdQBvbkaU6JPoO48oFbC54dD": {
"id": "thread_jdQBvbkaU6JPoO48oFbC54dD",
"name": "Han Solo is a fictional character in the...",
"messages": [
{
"id": "msg_1niL7yYidTfiGZynCiryiMMd",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": null,
"role": "user",
"message": "Who are the Han Solo's children?",
"timestamp": "1725875483",
"name": null
},
{
"id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc3",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
"role": "assistant",
"message": "Certainly! Here's a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f\"Hello, {name}!\"\n\nprint(greet(\"World\"))\n```\n\n### JSON\n\n```json\n{\n \"greeting\": \"Hello\",\n \"target\": \"World\",\n \"language\": \"English\"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.",
"timestamp": "1725875332",
"name": null
}
],
"timestamp": "1725875483"
},
"thread_jdQBvbkaU6JPoO48oQaL76dB": {
"id": "thread_jdQBvbkaU6JPoO48oQaL76dB",
"name": "Han Solo is a fictional character in the...",
"messages": [
{
"id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": null,
"role": "user",
"message": "Who is Han Solo?",
"timestamp": "1725875323",
"name": null
},
{
"id": "msg_YbtWCL64HPu9Kf7SbeRlrwCc",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": "asst_Cr0RxobrY07WpOvvyQilEWMI",
"role": "assistant",
"message": "Han Solo is a fictional character in the Star Wars franchise.",
"timestamp": "1725875332",
"name": null
},
{
"id": "msg_1niL7yYidTfiGZynCiryiMMd",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": null,
"role": "user",
"message": "Who are the Han Solo's children?",
"timestamp": "1725875483",
"name": null
},
{
"id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc4",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": "asst_Cr0RxobrY07WpOvvyQilEWMI",
"role": "assistant",
"message": "Han Solo is a fictional character in the Star ",
"timestamp": "1725875332",
"name": null
},
{
"id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": null,
"role": "user",
"message": "Who is Han Solo?",
"timestamp": "1725875323",
"name": null
},
{
"id": "msg_YbtWCL64HPu9Kf7SbeRlrwCc",
"conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
"agentId": "asst_qMyCpCBmqxV9I2B8UoMfFzc5",
"role": "assistant",
"message": "Han Solo is a fictional character in the Star Wars franchise.",
"timestamp": "1725875332",
"name": null
}
],
"timestamp": "1725875483"
},
"thread_new_created_chat": {
"id": "thread_new_created_chat",
"name": "Han Solo is a character",
"messages": [
{
"id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
"conversationId": "thread_new_created_chat",
"agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
"role": "user",
"message": "Who is Han Solo?",
"timestamp": 1725875323,
"name": null
},
{
"id": "msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_",
"conversationId": "thread_new_created_chat",
"role": "assistant",
"agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
"message": "Han Solo is a character ...",
"timestamp": 1725875323,
"name": null
}
],
"timestamp": "1725875483"
}
}