Files
langchain4j-demo/quarkus-vs-spring-ai/output/30-wire-summary.txt
T

34 lines
4.6 KiB
Plaintext

##### quarkus: 3 chat requests for 2 questions
--- request 1: top-level keys = ['frequency_penalty', 'messages', 'model', 'presence_penalty', 'tools']
[system] 'You are the support assistant of an online electronics shop. Answer in one sentence. Use the order tool for or'
[user] 'Where is my order 1001?'
tools: [{"function": {"description": "Looks up the delivery status of a customer order by its order number", "name": "orderStatus", "parameters": {"properties": {"orderId": {"description": "the numeric order number, for example 1001", "type": "string"}}, "required": ["orderId"], "type": "object"}}, "type": "function"}]
--- request 2: top-level keys = ['frequency_penalty', 'messages', 'model', 'presence_penalty', 'tools']
[system] 'You are the support assistant of an online electronics shop. Answer in one sentence. Use the order tool for or'
[user] 'Where is my order 1001?'
[assistant] 'None' tool_calls=[{"id": "call_stub_1", "type": "function", "function": {"name": "orderStatus", "arguments": "{\"orderId\":\"1001\"}"}}]
[tool] 'Order 1001 is shipped on 2026-11-20, arriving in 2 days'
tools: [{"function": {"description": "Looks up the delivery status of a customer order by its order number", "name": "orderStatus", "parameters": {"properties": {"orderId": {"description": "the numeric order number, for example 1001", "type": "string"}}, "required": ["orderId"], "type": "object"}}, "type": "function"}]
--- request 3: top-level keys = ['frequency_penalty', 'messages', 'model', 'presence_penalty', 'tools']
[system] 'You are the support assistant of an online electronics shop. Answer in one sentence. Use the order tool for or'
[user] 'How many days do I have to return an item?\n\nAnswer using the following information:\nReturns policy: items can '
tools: [{"function": {"description": "Looks up the delivery status of a customer order by its order number", "name": "orderStatus", "parameters": {"properties": {"orderId": {"description": "the numeric order number, for example 1001", "type": "string"}}, "required": ["orderId"], "type": "object"}}, "type": "function"}]
##### spring: 3 chat requests for 2 questions
--- request 1: top-level keys = ['messages', 'model', 'tools']
[system] 'You are the support assistant of an online electronics shop. Answer in one sentence. Use the order tool for or'
[user] 'Where is my order 1001?\n\nContext information is below, surrounded by ---------------------\n\n------------------'
tools: [{"function": {"description": "Looks up the delivery status of a customer order by its order number", "name": "orderStatus", "parameters": {"$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": {"orderId": {"description": "the numeric order number, for example 1001", "type": "string"}}, "required": ["orderId"], "type": "object"}, "strict": false}, "type": "function"}]
--- request 2: top-level keys = ['messages', 'model', 'tools']
[system] 'You are the support assistant of an online electronics shop. Answer in one sentence. Use the order tool for or'
[user] 'Where is my order 1001?\n\nContext information is below, surrounded by ---------------------\n\n------------------'
[assistant] '' tool_calls=[{"id": "call_stub_1", "function": {"arguments": "{\"orderId\":\"1001\"}", "name": "orderStatus"}, "type": "function"}]
[tool] '"Order 1001 is shipped on 2026-11-20, arriving in 2 days"'
tools: [{"function": {"description": "Looks up the delivery status of a customer order by its order number", "name": "orderStatus", "parameters": {"$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": {"orderId": {"description": "the numeric order number, for example 1001", "type": "string"}}, "required": ["orderId"], "type": "object"}, "strict": false}, "type": "function"}]
--- request 3: top-level keys = ['messages', 'model', 'tools']
[system] 'You are the support assistant of an online electronics shop. Answer in one sentence. Use the order tool for or'
[user] 'How many days do I have to return an item?\n\nContext information is below, surrounded by ---------------------\n'
tools: [{"function": {"description": "Looks up the delivery status of a customer order by its order number", "name": "orderStatus", "parameters": {"$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": {"orderId": {"description": "the numeric order number, for example 1001", "type": "string"}}, "required": ["orderId"], "type": "object"}, "strict": false}, "type": "function"}]
tool declaration identical: False