Skip to content

Instantly share code, notes, and snippets.

@sidpan1
Created January 30, 2024 05:14
Show Gist options
  • Save sidpan1/e9daf51795801269f7cae20792cc85de to your computer and use it in GitHub Desktop.
Save sidpan1/e9daf51795801269f7cae20792cc85de to your computer and use it in GitHub Desktop.
Sample Telemetry from langchain
{
"id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"name":"run-basic_agent:1.0.0",
"start_time":"2024-01-29T19:47:29.508489+00:00",
"run_type":"chain",
"end_time":"2024-01-29T19:47:30.997259+00:00",
"extra":{
"metadata":{
"inference_config@user_intent_detection:1.0.0":{
"identifier":"fbd03352",
"inference_params":{
"system_instructions":"You are an AWS cloud consultant tasked with recognizing the intent of users' queries in the context of cloud cost governance. Pay close attention to the exact definitions of allowed categories & services. DO NOT deviate from them STRICTLY.\n\nContext: \nThe intent consists of 2 parts : category and service.\n\nThe possible categories of user's intent. \n- RESOURCE_METADATA_DISCOVERY: Involves querying metadata or attributes of user provisioned AWS cloud resources. This can include details like configurations, provisioned capacity, tags and status.\n- RESOURCE_USAGE_DISCOVERY: Focuses on analyzing resource utilization metrics of the user's provisioned resources such as performance metrics and usage patterns across different metrics.\n- RESOURCE_COST_DISCOVERY: It involves evaluating cost-related data of user's provisioned resources to gain insights into expenditure patterns and identify cost drivers.\n- PRICING_DISCOVERY: Dedicated to exploring the general public pricing details of AWS services (not related to the user's data). This includes obtaining information about service rates and understanding different pricing models (e.g., on-demand, reserved instances).\n- RECOMMENDATION: Includes providing suggestions and actionable advice for optimizing AWS cloud resource usage, costs & performance.\n\nThe services related to the user's intent.\n- EC2: Amazon Elastic Compute Cloud\n- RDS: Amazon Relational Database Service\n- S3: Amazon Simple Storage Service\n- DYNAMODB: Amazon DynamoDB\n- EBS: Amazon Elastic Block Storage\n- OPENSEARCH_SERVICE: Amazon OpenSearch Service\n- CLOUDWATCH: Amazon CloudWatch\n- ELASTICACHE: Amazon ElastiCache\n- VPC: Amazon Virtual Private Cloud\n- ELB: Amazon Elastic Load Balancing\n- CLOUDFRONT: Amazon CloudFront"
}
},
"agent_properties@user_intent_detection:1.0.0":{
"agent_name":"user_intent_detection",
"agent_version":"1.0.0"
},
"inference_config@basic_agent:1.0.0":{
"identifier":"3f8de066",
"inference_params":{
"prompt_template":"You are an AI assistant capable of answering user questions.\nQuestion: {question}:"
}
},
"agent_properties@basic_agent:1.0.0":{
"agent_name":"basic_agent",
"agent_version":"1.0.0"
},
"overriden_inference_config@basic_agent:1.0.0":{
"identifier":"3f8de066",
"inference_params":{
"prompt_template":"You are an AI assistant capable of answering user questions.\nQuestion: {question}:"
}
},
"prompt_template":"You are an AI assistant capable of answering user questions.\nQuestion: {question}:"
}
},
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:29.508489+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.997259+00:00"
}
],
"inputs":{
"question":"how many ec2"
},
"outputs":{
"output":{
"category":"RESOURCE_METADATA_DISCOVERY",
"service":"EC2"
}
},
"reference_example_id":null,
"parent_run_id":null,
"tags":[
"basic_agent:1.0.0"
],
"execution_order":1,
"child_execution_order":11,
"child_runs":[
{
"id":"5b4a3c39-aa4c-443a-aa78-d49742067143",
"name":"RunnableAssign<query>",
"start_time":"2024-01-29T19:47:29.510407+00:00",
"run_type":"chain",
"end_time":"2024-01-29T19:47:30.584295+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:29.510407+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.584295+00:00"
}
],
"inputs":{
"question":"how many ec2"
},
"outputs":{
"question":"how many ec2",
"query":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?"
},
"reference_example_id":null,
"parent_run_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"tags":[
"seq:step:1",
"basic_agent:1.0.0"
],
"execution_order":2,
"child_execution_order":7,
"child_runs":[
{
"id":"3d53930c-0c40-487c-9bbd-54a2e7e9a166",
"name":"RunnableParallel<query>",
"start_time":"2024-01-29T19:47:29.511319+00:00",
"run_type":"chain",
"end_time":"2024-01-29T19:47:30.582659+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:29.511319+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.582659+00:00"
}
],
"inputs":{
"question":"how many ec2"
},
"outputs":{
"query":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?"
},
"reference_example_id":null,
"parent_run_id":"5b4a3c39-aa4c-443a-aa78-d49742067143",
"tags":[
"basic_agent:1.0.0"
],
"execution_order":3,
"child_execution_order":7,
"child_runs":[
{
"id":"3e72f077-60c5-4ddb-986e-d00134761c3a",
"name":"RunnableSequence",
"start_time":"2024-01-29T19:47:29.513489+00:00",
"run_type":"chain",
"end_time":"2024-01-29T19:47:30.581324+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:29.513489+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.581324+00:00"
}
],
"inputs":{
"question":"how many ec2"
},
"outputs":{
"output":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?"
},
"reference_example_id":null,
"parent_run_id":"3d53930c-0c40-487c-9bbd-54a2e7e9a166",
"tags":[
"map:key:query",
"basic_agent:1.0.0"
],
"execution_order":4,
"child_execution_order":7,
"child_runs":[
{
"id":"80a294ad-59a2-465d-9a5d-a7f7f6d74284",
"name":"PromptTemplate",
"start_time":"2024-01-29T19:47:29.514832+00:00",
"run_type":"prompt",
"end_time":"2024-01-29T19:47:29.515144+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:29.514832+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:29.515144+00:00"
}
],
"inputs":{
"question":"how many ec2"
},
"outputs":{
"lc":1,
"type":"constructor",
"id":[
"langchain",
"prompts",
"base",
"StringPromptValue"
],
"kwargs":{
"text":"You are an AI assistant capable of answering user questions.\nQuestion: how many ec2:"
}
},
"reference_example_id":null,
"parent_run_id":"3e72f077-60c5-4ddb-986e-d00134761c3a",
"tags":[
"seq:step:1",
"basic_agent:1.0.0"
],
"execution_order":5,
"child_execution_order":5,
"child_runs":[
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194729510407Z5b4a3c39-aa4c-443a-aa78-d49742067143.20240129T194729511319Z3d53930c-0c40-487c-9bbd-54a2e7e9a166.20240129T194729513489Z3e72f077-60c5-4ddb-986e-d00134761c3a.20240129T194729514832Z80a294ad-59a2-465d-9a5d-a7f7f6d74284"
},
{
"id":"ed9082fc-a84d-44ed-ac4f-c8b361e82939",
"name":"AzureChatOpenAI",
"start_time":"2024-01-29T19:47:29.517886+00:00",
"run_type":"llm",
"end_time":"2024-01-29T19:47:30.578665+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:29.517886+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.578665+00:00"
}
],
"inputs":{
"messages":[
[
{
"lc":1,
"type":"constructor",
"id":[
"langchain",
"schema",
"messages",
"HumanMessage"
],
"kwargs":{
"content":"You are an AI assistant capable of answering user questions.\nQuestion: how many ec2:"
}
}
]
]
},
"outputs":{
"generations":[
[
{
"text":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?",
"generation_info":{
"finish_reason":"stop",
"logprobs":null
},
"type":"ChatGeneration",
"message":{
"lc":1,
"type":"constructor",
"id":[
"langchain",
"schema",
"messages",
"AIMessage"
],
"kwargs":{
"content":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?",
"additional_kwargs":{
}
}
}
}
]
],
"llm_output":{
"token_usage":{
"completion_tokens":42,
"prompt_tokens":25,
"total_tokens":67
},
"model_name":"gpt-35-turbo",
"system_fingerprint":"fp_7b3f466340"
},
"run":null
},
"reference_example_id":null,
"parent_run_id":"3e72f077-60c5-4ddb-986e-d00134761c3a",
"tags":[
"seq:step:2",
"basic_agent:1.0.0"
],
"execution_order":6,
"child_execution_order":6,
"child_runs":[
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194729510407Z5b4a3c39-aa4c-443a-aa78-d49742067143.20240129T194729511319Z3d53930c-0c40-487c-9bbd-54a2e7e9a166.20240129T194729513489Z3e72f077-60c5-4ddb-986e-d00134761c3a.20240129T194729517886Zed9082fc-a84d-44ed-ac4f-c8b361e82939"
},
{
"id":"f1751d68-bd3f-41c6-a4a3-37222d334d89",
"name":"StrOutputParser",
"start_time":"2024-01-29T19:47:30.579482+00:00",
"run_type":"parser",
"end_time":"2024-01-29T19:47:30.580640+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:30.579482+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.580640+00:00"
}
],
"inputs":{
"input":{
"content":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?",
"additional_kwargs":{
},
"type":"ai",
"example":false
}
},
"outputs":{
"output":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?"
},
"reference_example_id":null,
"parent_run_id":"3e72f077-60c5-4ddb-986e-d00134761c3a",
"tags":[
"seq:step:3",
"basic_agent:1.0.0"
],
"execution_order":7,
"child_execution_order":7,
"child_runs":[
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194729510407Z5b4a3c39-aa4c-443a-aa78-d49742067143.20240129T194729511319Z3d53930c-0c40-487c-9bbd-54a2e7e9a166.20240129T194729513489Z3e72f077-60c5-4ddb-986e-d00134761c3a.20240129T194730579482Zf1751d68-bd3f-41c6-a4a3-37222d334d89"
}
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194729510407Z5b4a3c39-aa4c-443a-aa78-d49742067143.20240129T194729511319Z3d53930c-0c40-487c-9bbd-54a2e7e9a166.20240129T194729513489Z3e72f077-60c5-4ddb-986e-d00134761c3a"
}
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194729510407Z5b4a3c39-aa4c-443a-aa78-d49742067143.20240129T194729511319Z3d53930c-0c40-487c-9bbd-54a2e7e9a166"
}
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194729510407Z5b4a3c39-aa4c-443a-aa78-d49742067143"
},
{
"id":"d3f4aab2-c66a-4a0a-a90e-5956f0816e39",
"name":"run-user_intent_detection:1.0.0",
"start_time":"2024-01-29T19:47:30.585150+00:00",
"run_type":"chain",
"end_time":"2024-01-29T19:47:30.996517+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:30.585150+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.996517+00:00"
}
],
"inputs":{
"question":"how many ec2",
"query":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?"
},
"outputs":{
"output":{
"category":"RESOURCE_METADATA_DISCOVERY",
"service":"EC2"
}
},
"reference_example_id":null,
"parent_run_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"tags":[
"seq:step:2",
"user_intent_detection:1.0.0",
"basic_agent:1.0.0"
],
"execution_order":8,
"child_execution_order":11,
"child_runs":[
{
"id":"f744e4f0-4964-4498-a500-e15954683735",
"name":"PromptTemplate",
"start_time":"2024-01-29T19:47:30.585650+00:00",
"run_type":"prompt",
"end_time":"2024-01-29T19:47:30.585943+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:30.585650+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.585943+00:00"
}
],
"inputs":{
"question":"how many ec2",
"query":"EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?"
},
"outputs":{
"lc":1,
"type":"constructor",
"id":[
"langchain",
"prompts",
"base",
"StringPromptValue"
],
"kwargs":{
"text":"You are an AWS cloud consultant tasked with recognizing the intent of users' queries in the context of cloud cost governance. Pay close attention to the exact definitions of allowed categories & services. DO NOT deviate from them STRICTLY.\n\nContext: \nThe intent consists of 2 parts : category and service.\n\nThe possible categories of user's intent. \n- RESOURCE_METADATA_DISCOVERY: Involves querying metadata or attributes of user provisioned AWS cloud resources. This can include details like configurations, provisioned capacity, tags and status.\n- RESOURCE_USAGE_DISCOVERY: Focuses on analyzing resource utilization metrics of the user's provisioned resources such as performance metrics and usage patterns across different metrics.\n- RESOURCE_COST_DISCOVERY: It involves evaluating cost-related data of user's provisioned resources to gain insights into expenditure patterns and identify cost drivers.\n- PRICING_DISCOVERY: Dedicated to exploring the general public pricing details of AWS services (not related to the user's data). This includes obtaining information about service rates and understanding different pricing models (e.g., on-demand, reserved instances).\n- RECOMMENDATION: Includes providing suggestions and actionable advice for optimizing AWS cloud resource usage, costs & performance.\n\nThe services related to the user's intent.\n- EC2: Amazon Elastic Compute Cloud\n- RDS: Amazon Relational Database Service\n- S3: Amazon Simple Storage Service\n- DYNAMODB: Amazon DynamoDB\n- EBS: Amazon Elastic Block Storage\n- OPENSEARCH_SERVICE: Amazon OpenSearch Service\n- CLOUDWATCH: Amazon CloudWatch\n- ELASTICACHE: Amazon ElastiCache\n- VPC: Amazon Virtual Private Cloud\n- ELB: Amazon Elastic Load Balancing\n- CLOUDFRONT: Amazon CloudFront\nOutput Format:The output should be formatted as a JSON instance that conforms to the JSON schema below.\n\nAs an example, for the schema {\"properties\": {\"foo\": {\"title\": \"Foo\", \"description\": \"a list of strings\", \"type\": \"array\", \"items\": {\"type\": \"string\"}}}, \"required\": [\"foo\"]}\nthe object {\"foo\": [\"bar\", \"baz\"]} is a well-formatted instance of the schema. The object {\"properties\": {\"foo\": [\"bar\", \"baz\"]}} is not well-formatted.\n\nHere is the output schema:\n```\n{\"description\": \"Serializable base class.\", \"properties\": {\"category\": {\"description\": \"The category of the user's intent.\", \"allOf\": [{\"$ref\": \"#/definitions/IntentCategory\"}]}, \"service\": {\"description\": \"The service related to the user's intent.\", \"allOf\": [{\"$ref\": \"#/definitions/AmazonService\"}]}}, \"required\": [\"category\", \"service\"], \"definitions\": {\"IntentCategory\": {\"title\": \"IntentCategory\", \"description\": \"An enumeration.\", \"enum\": [\"RESOURCE_METADATA_DISCOVERY\", \"RESOURCE_USAGE_DISCOVERY\", \"RESOURCE_COST_DISCOVERY\", \"COST_DISCOVERY\", \"RECOMMENDATION\"], \"type\": \"string\"}, \"AmazonService\": {\"title\": \"AmazonService\", \"description\": \"An enumeration.\", \"enum\": [\"EC2\", \"RDS\", \"S3\", \"DYNAMODB\", \"EBS\", \"OPENSEARCH_SERVICE\", \"CLOUDWATCH\", \"ELASTICACHE\", \"VPC\", \"ELB\", \"CLOUDFRONT\"], \"type\": \"string\"}}}\n```\nUser's query: EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?\n"
}
},
"reference_example_id":null,
"parent_run_id":"d3f4aab2-c66a-4a0a-a90e-5956f0816e39",
"tags":[
"seq:step:1",
"user_intent_detection:1.0.0",
"basic_agent:1.0.0"
],
"execution_order":9,
"child_execution_order":9,
"child_runs":[
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194730585150Zd3f4aab2-c66a-4a0a-a90e-5956f0816e39.20240129T194730585650Zf744e4f0-4964-4498-a500-e15954683735"
},
{
"id":"6e4ba154-355a-4fa0-836a-c86424192614",
"name":"AzureChatOpenAI",
"start_time":"2024-01-29T19:47:30.589269+00:00",
"run_type":"llm",
"end_time":"2024-01-29T19:47:30.994884+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:30.589269+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.994884+00:00"
}
],
"inputs":{
"messages":[
[
{
"lc":1,
"type":"constructor",
"id":[
"langchain",
"schema",
"messages",
"HumanMessage"
],
"kwargs":{
"content":"You are an AWS cloud consultant tasked with recognizing the intent of users' queries in the context of cloud cost governance. Pay close attention to the exact definitions of allowed categories & services. DO NOT deviate from them STRICTLY.\n\nContext: \nThe intent consists of 2 parts : category and service.\n\nThe possible categories of user's intent. \n- RESOURCE_METADATA_DISCOVERY: Involves querying metadata or attributes of user provisioned AWS cloud resources. This can include details like configurations, provisioned capacity, tags and status.\n- RESOURCE_USAGE_DISCOVERY: Focuses on analyzing resource utilization metrics of the user's provisioned resources such as performance metrics and usage patterns across different metrics.\n- RESOURCE_COST_DISCOVERY: It involves evaluating cost-related data of user's provisioned resources to gain insights into expenditure patterns and identify cost drivers.\n- PRICING_DISCOVERY: Dedicated to exploring the general public pricing details of AWS services (not related to the user's data). This includes obtaining information about service rates and understanding different pricing models (e.g., on-demand, reserved instances).\n- RECOMMENDATION: Includes providing suggestions and actionable advice for optimizing AWS cloud resource usage, costs & performance.\n\nThe services related to the user's intent.\n- EC2: Amazon Elastic Compute Cloud\n- RDS: Amazon Relational Database Service\n- S3: Amazon Simple Storage Service\n- DYNAMODB: Amazon DynamoDB\n- EBS: Amazon Elastic Block Storage\n- OPENSEARCH_SERVICE: Amazon OpenSearch Service\n- CLOUDWATCH: Amazon CloudWatch\n- ELASTICACHE: Amazon ElastiCache\n- VPC: Amazon Virtual Private Cloud\n- ELB: Amazon Elastic Load Balancing\n- CLOUDFRONT: Amazon CloudFront\nOutput Format:The output should be formatted as a JSON instance that conforms to the JSON schema below.\n\nAs an example, for the schema {\"properties\": {\"foo\": {\"title\": \"Foo\", \"description\": \"a list of strings\", \"type\": \"array\", \"items\": {\"type\": \"string\"}}}, \"required\": [\"foo\"]}\nthe object {\"foo\": [\"bar\", \"baz\"]} is a well-formatted instance of the schema. The object {\"properties\": {\"foo\": [\"bar\", \"baz\"]}} is not well-formatted.\n\nHere is the output schema:\n```\n{\"description\": \"Serializable base class.\", \"properties\": {\"category\": {\"description\": \"The category of the user's intent.\", \"allOf\": [{\"$ref\": \"#/definitions/IntentCategory\"}]}, \"service\": {\"description\": \"The service related to the user's intent.\", \"allOf\": [{\"$ref\": \"#/definitions/AmazonService\"}]}}, \"required\": [\"category\", \"service\"], \"definitions\": {\"IntentCategory\": {\"title\": \"IntentCategory\", \"description\": \"An enumeration.\", \"enum\": [\"RESOURCE_METADATA_DISCOVERY\", \"RESOURCE_USAGE_DISCOVERY\", \"RESOURCE_COST_DISCOVERY\", \"COST_DISCOVERY\", \"RECOMMENDATION\"], \"type\": \"string\"}, \"AmazonService\": {\"title\": \"AmazonService\", \"description\": \"An enumeration.\", \"enum\": [\"EC2\", \"RDS\", \"S3\", \"DYNAMODB\", \"EBS\", \"OPENSEARCH_SERVICE\", \"CLOUDWATCH\", \"ELASTICACHE\", \"VPC\", \"ELB\", \"CLOUDFRONT\"], \"type\": \"string\"}}}\n```\nUser's query: EC2 stands for Elastic Compute Cloud, which is a web service that provides resizable compute capacity in the cloud. However, your question seems to be incomplete. Could you please provide more details or clarify your question?\n"
}
}
]
]
},
"outputs":{
"generations":[
[
{
"text":"{\n \"category\": \"RESOURCE_METADATA_DISCOVERY\",\n \"service\": \"EC2\"\n}",
"generation_info":{
"finish_reason":"stop",
"logprobs":null
},
"type":"ChatGeneration",
"message":{
"lc":1,
"type":"constructor",
"id":[
"langchain",
"schema",
"messages",
"AIMessage"
],
"kwargs":{
"content":"{\n \"category\": \"RESOURCE_METADATA_DISCOVERY\",\n \"service\": \"EC2\"\n}",
"additional_kwargs":{
}
}
}
}
]
],
"llm_output":{
"token_usage":{
"completion_tokens":20,
"prompt_tokens":751,
"total_tokens":771
},
"model_name":"gpt-35-turbo",
"system_fingerprint":"fp_7b3f466340"
},
"run":null
},
"reference_example_id":null,
"parent_run_id":"d3f4aab2-c66a-4a0a-a90e-5956f0816e39",
"tags":[
"seq:step:2",
"user_intent_detection:1.0.0",
"basic_agent:1.0.0"
],
"execution_order":10,
"child_execution_order":10,
"child_runs":[
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194730585150Zd3f4aab2-c66a-4a0a-a90e-5956f0816e39.20240129T194730589269Z6e4ba154-355a-4fa0-836a-c86424192614"
},
{
"id":"a75f7413-f07a-403a-bad5-0989b49ced0f",
"name":"PydanticOutputParser",
"start_time":"2024-01-29T19:47:30.995874+00:00",
"run_type":"parser",
"end_time":"2024-01-29T19:47:30.996357+00:00",
"extra":null,
"error":null,
"serialized":null,
"events":[
{
"name":"start",
"time":"2024-01-29T19:47:30.995874+00:00"
},
{
"name":"end",
"time":"2024-01-29T19:47:30.996357+00:00"
}
],
"inputs":{
"input":{
"content":"{\n \"category\": \"RESOURCE_METADATA_DISCOVERY\",\n \"service\": \"EC2\"\n}",
"additional_kwargs":{
},
"type":"ai",
"example":false
}
},
"outputs":{
"output":null
},
"reference_example_id":null,
"parent_run_id":"d3f4aab2-c66a-4a0a-a90e-5956f0816e39",
"tags":[
"seq:step:3",
"user_intent_detection:1.0.0",
"basic_agent:1.0.0"
],
"execution_order":11,
"child_execution_order":11,
"child_runs":[
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194730585150Zd3f4aab2-c66a-4a0a-a90e-5956f0816e39.20240129T194730995874Za75f7413-f07a-403a-bad5-0989b49ced0f"
}
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3.20240129T194730585150Zd3f4aab2-c66a-4a0a-a90e-5956f0816e39"
}
],
"trace_id":"1098567b-60c1-44cd-9a1e-f7e2b5d59eb3",
"dotted_order":"20240129T194729508489Z1098567b-60c1-44cd-9a1e-f7e2b5d59eb3"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment