57 lines
20 KiB
Plaintext
57 lines
20 KiB
Plaintext
BAD
|
|
|
|
2024-11-18 20:36:51.394 | DEBUG | pipecat.transports.base_input:_handle_interruptions:124 - User started speaking
|
|
_---_ai_services.py process_frame * frame: StartInterruptionFrame#13
|
|
_____openai.py * return from push_aggregation__________
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : StartInterruptionFrame#13
|
|
_---_ai_services.py process_frame * frame: UserStartedSpeakingFrame#13
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : UserStartedSpeakingFrame#13
|
|
___<2>__openai.py * OpenAIAssistantContextAggregator process_frame frame : UserStartedSpeakingFrame#13
|
|
2024-11-18 20:36:52.714 | DEBUG | pipecat.transports.base_input:_handle_interruptions:131 - User stopped speaking
|
|
_---_ai_services.py process_frame * frame: StopInterruptionFrame#13
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : StopInterruptionFrame#13
|
|
___<2>__openai.py * OpenAIAssistantContextAggregator process_frame frame : StopInterruptionFrame#13
|
|
_---_ai_services.py process_frame * frame: UserStoppedSpeakingFrame#13
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : UserStoppedSpeakingFrame#13
|
|
___<2>__openai.py * OpenAIAssistantContextAggregator process_frame frame : UserStoppedSpeakingFrame#13
|
|
_____openai.py * _process_context: tool_call_id
|
|
2024-11-18 20:36:52.715 | DEBUG | pipecat.services.openai:_stream_chat_completions:175 - Generating chat: [{"role": "system", "content": "Main Prompt", "name": "system"}, {"role": "assistant", "content": "I'm ready to help. What do you need assistance with today?"}, {"role": "user", "content": "Hello? Can you call me"}, {"role": "user", "content": "a meeting option?"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_vYUGnPvKR00EIZvqfQkKQ6ny", "function": {"name": "get_meeting_dates", "arguments": "{}"}, "type": "function"}]}, {"role": "tool", "content": "\"\\n \\\"1- 8AM Eastern on November 16 2024\\n\\n2- 9AM Eastern on November 16 2024\\n\\n3- 10AM Eastern on November 16 2024\\n\\n4- 11AM Eastern on November 16 2024\\n\\n5- 12PM Eastern on November 16 2024\\n\\n6- 1PM Eastern on November 16 2024\\n\\n7- 2PM Eastern on November 16 2024\\n\\n8- 3PM Eastern on November 16 2024\\n\\n9- 4PM Eastern on November 16 2024\\n\\n10- 5PM Eastern on November 16 2024\\n\\n11- 6PM Eastern on November 16 2024\\n\\n12- 7PM Eastern on November 16 2024\\n\\n\\\"\\n \"", "tool_call_id": "call_vYUGnPvKR00EIZvqfQkKQ6ny"}, {"role": "assistant", "content": "Here are the available meeting slots on November 16, 2024: 1. 8"}, {"role": "user", "content": "Can you tell me about a"}, {"role": "assistant", "content": "Could"}, {"role": "user", "content": "solar panel? Okay."}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_MNTgAllUH5r8qbrj7JfxxYDs", "function": {"name": "get_knowledge_base", "arguments": "{\"question\": \"solar panel\", \"reason\": \"GENERAL_QUESTION\"}"}, "type": "function"}]}, {"role": "tool", "content": "\"Sure! Here are some random facts that could be associated with a solar panel company: 1. **History**: The company was founded in 2008 by a group of renewable energy enthusiasts who wanted to make solar power more accessible to homeowners and businesses. 2. **Headquarters**: Their headquarters is a net-zero energy building powered entirely by their own solar panels, showcasing their commitment to sustainability. 3. **Products**: They produce three main types of solar panels: monocrystalline, polycrystalline, and thin-film, catering to different customer needs and budgets. 4. **Innovation**: The company holds patents for advanced solar cell technology that increases efficiency by 20% compared to industry standards. 5. **Global Reach**: They have installed solar systems in over 40 countries and have manufacturing plants on three continents.6. **Community Impact**: For every 100 solar panels sold, they donate a panel to a school or community center in underprivileged areas. 7. **Workforce**: The company employs over 5,000 people, 40% of whom are in research and development roles. 8. **Recognition**: They won the \\u201cGreen Energy Innovator of the Year\\u201d award in 2022 for their work on solar panels made from recycled materials. 9. **Sustainability**: Their panels are designed to last 25+ years and are 95% recyclable at the end of their life cycle. 10. **Customer Perks**: They offer a 25-year warranty and real-time monitoring systems that allow users to track energy production via an app. 11. **Mission Statement**: \\\"Empowering the world with clean energy, one panel at a time.\\\" 12. **Energy Production**: The combined output of all their installations generates enough electricity to power over 2 million homes annually. 13. **R&D Efforts**: They are actively working on integrating solar panels into everyday items like backpacks and electric vehicles. 14. **Solar Farms**: The company has partnered with governments to develop large-scale solar farms, including one that spans over 10,000 acres. 15. **Future Goals**: By 2030, they aim to make solar power the most affordable energy source worldwide. Would you like these customized for a specific scenario?\"", "tool_call_id": "call_MNTgAllUH5r8qbrj7JfxxYDs"}, {"role": "assistant", "content": "Here's some information related to"}, {"role": "user", "content": "Can you tell me"}, {"role": "user", "content": "about"}, {"role": "assistant", "content": "Could"}, {"role": "user", "content": "a solar panel."}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_41inbmYQzvhWSTU0cXd3EqRF", "function": {"name": "get_knowledge_base", "arguments": "{\"question\": \"about a solar panel\", \"reason\": \"GENERAL_QUESTION\"}"}, "type": "function"}]}, {"role": "tool", "content": "\"Sure! Here are some random facts that could be associated with a solar panel company: 1. **History**: The company was founded in 2008 by a group of renewable energy enthusiasts who wanted to make solar power more accessible to homeowners and businesses. 2. **Headquarters**: Their headquarters is a net-zero energy building powered entirely by their own solar panels, showcasing their commitment to sustainability. 3. **Products**: They produce three main types of solar panels: monocrystalline, polycrystalline, and thin-film, catering to different customer needs and budgets. 4. **Innovation**: The company holds patents for advanced solar cell technology that increases efficiency by 20% compared to industry standards. 5. **Global Reach**: They have installed solar systems in over 40 countries and have manufacturing plants on three continents.6. **Community Impact**: For every 100 solar panels sold, they donate a panel to a school or community center in underprivileged areas. 7. **Workforce**: The company employs over 5,000 people, 40% of whom are in research and development roles. 8. **Recognition**: They won the \\u201cGreen Energy Innovator of the Year\\u201d award in 2022 for their work on solar panels made from recycled materials. 9. **Sustainability**: Their panels are designed to last 25+ years and are 95% recyclable at the end of their life cycle. 10. **Customer Perks**: They offer a 25-year warranty and real-time monitoring systems that allow users to track energy production via an app. 11. **Mission Statement**: \\\"Empowering the world with clean energy, one panel at a time.\\\" 12. **Energy Production**: The combined output of all their installations generates enough electricity to power over 2 million homes annually. 13. **R&D Efforts**: They are actively working on integrating solar panels into everyday items like backpacks and electric vehicles. 14. **Solar Farms**: The company has partnered with governments to develop large-scale solar farms, including one that spans over 10,000 acres. 15. **Future Goals**: By 2030, they aim to make solar power the most affordable energy source worldwide. Would you like these customized for a specific scenario?\"", "tool_call_id": "call_41inbmYQzvhWSTU0cXd3EqRF"}, {"role": "assistant", "content": "Here's some information about solar panels and a related company: 1. **History**: The company began in 2008,"}, {"role": "user", "content": "Okay. Hey. Can you tell me what are my meeting time options?"}, {"role": "assistant", "content": "Here are your available meeting time options on November 16, 2024: 1. 8 AM Eastern"}, {"role": "user", "content": "What, are some times that I can meet?"}, {"role": "user", "content": "With people November."}, {"role": "assistant", "content": "Here are the available meeting slots on November 16, 2024: 1. 8 AM Eastern 2. 9 AM Eastern 3. 10 AM Eastern"}, {"role": "user", "content": "What is 9"}, {"role": "user", "content": "that I can meet people?"}, {"role": "assistant", "content": "On November 16, 2024, you can meet people at the following times"}, {"role": "user", "content": "And you tell me"}, {"role": "user", "content": "about"}]
|
|
_____openai.py get_chat_completions * chunks: <openai.AsyncStream object at 0x11f093d70>
|
|
2024-11-18 20:36:53.205 | DEBUG | pipecat.transports.base_input:_handle_interruptions:124 - User started speaking
|
|
_---_ai_services.py process_frame * frame: StartInterruptionFrame#14
|
|
_____openai.py * return from push_aggregation__________
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : StartInterruptionFrame#14
|
|
_---_ai_services.py process_frame * frame: UserStartedSpeakingFrame#14
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : UserStartedSpeakingFrame#14
|
|
___<2>__openai.py * OpenAIAssistantContextAggregator process_frame frame : UserStartedSpeakingFrame#14
|
|
2024-11-18 20:36:54.684 | DEBUG | pipecat.transports.base_input:_handle_interruptions:131 - User stopped speaking
|
|
_---_ai_services.py process_frame * frame: StopInterruptionFrame#14
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : StopInterruptionFrame#14
|
|
___<2>__openai.py * OpenAIAssistantContextAggregator process_frame frame : StopInterruptionFrame#14
|
|
_---_ai_services.py process_frame * frame: UserStoppedSpeakingFrame#14
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : UserStoppedSpeakingFrame#14
|
|
___<2>__openai.py * OpenAIAssistantContextAggregator process_frame frame : UserStoppedSpeakingFrame#14
|
|
_____openai.py * _process_context: tool_call_id
|
|
2024-11-18 20:36:54.685 | DEBUG | pipecat.services.openai:_stream_chat_completions:175 - Generating chat: [{"role": "system", "content": "Main Prompt", "name": "system"}, {"role": "assistant", "content": "I'm ready to help. What do you need assistance with today?"}, {"role": "user", "content": "Hello? Can you call me"}, {"role": "user", "content": "a meeting option?"}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_vYUGnPvKR00EIZvqfQkKQ6ny", "function": {"name": "get_meeting_dates", "arguments": "{}"}, "type": "function"}]}, {"role": "tool", "content": "\"\\n \\\"1- 8AM Eastern on November 16 2024\\n\\n2- 9AM Eastern on November 16 2024\\n\\n3- 10AM Eastern on November 16 2024\\n\\n4- 11AM Eastern on November 16 2024\\n\\n5- 12PM Eastern on November 16 2024\\n\\n6- 1PM Eastern on November 16 2024\\n\\n7- 2PM Eastern on November 16 2024\\n\\n8- 3PM Eastern on November 16 2024\\n\\n9- 4PM Eastern on November 16 2024\\n\\n10- 5PM Eastern on November 16 2024\\n\\n11- 6PM Eastern on November 16 2024\\n\\n12- 7PM Eastern on November 16 2024\\n\\n\\\"\\n \"", "tool_call_id": "call_vYUGnPvKR00EIZvqfQkKQ6ny"}, {"role": "assistant", "content": "Here are the available meeting slots on November 16, 2024: 1. 8"}, {"role": "user", "content": "Can you tell me about a"}, {"role": "assistant", "content": "Could"}, {"role": "user", "content": "solar panel? Okay."}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_MNTgAllUH5r8qbrj7JfxxYDs", "function": {"name": "get_knowledge_base", "arguments": "{\"question\": \"solar panel\", \"reason\": \"GENERAL_QUESTION\"}"}, "type": "function"}]}, {"role": "tool", "content": "\"Sure! Here are some random facts that could be associated with a solar panel company: 1. **History**: The company was founded in 2008 by a group of renewable energy enthusiasts who wanted to make solar power more accessible to homeowners and businesses. 2. **Headquarters**: Their headquarters is a net-zero energy building powered entirely by their own solar panels, showcasing their commitment to sustainability. 3. **Products**: They produce three main types of solar panels: monocrystalline, polycrystalline, and thin-film, catering to different customer needs and budgets. 4. **Innovation**: The company holds patents for advanced solar cell technology that increases efficiency by 20% compared to industry standards. 5. **Global Reach**: They have installed solar systems in over 40 countries and have manufacturing plants on three continents.6. **Community Impact**: For every 100 solar panels sold, they donate a panel to a school or community center in underprivileged areas. 7. **Workforce**: The company employs over 5,000 people, 40% of whom are in research and development roles. 8. **Recognition**: They won the \\u201cGreen Energy Innovator of the Year\\u201d award in 2022 for their work on solar panels made from recycled materials. 9. **Sustainability**: Their panels are designed to last 25+ years and are 95% recyclable at the end of their life cycle. 10. **Customer Perks**: They offer a 25-year warranty and real-time monitoring systems that allow users to track energy production via an app. 11. **Mission Statement**: \\\"Empowering the world with clean energy, one panel at a time.\\\" 12. **Energy Production**: The combined output of all their installations generates enough electricity to power over 2 million homes annually. 13. **R&D Efforts**: They are actively working on integrating solar panels into everyday items like backpacks and electric vehicles. 14. **Solar Farms**: The company has partnered with governments to develop large-scale solar farms, including one that spans over 10,000 acres. 15. **Future Goals**: By 2030, they aim to make solar power the most affordable energy source worldwide. Would you like these customized for a specific scenario?\"", "tool_call_id": "call_MNTgAllUH5r8qbrj7JfxxYDs"}, {"role": "assistant", "content": "Here's some information related to"}, {"role": "user", "content": "Can you tell me"}, {"role": "user", "content": "about"}, {"role": "assistant", "content": "Could"}, {"role": "user", "content": "a solar panel."}, {"role": "assistant", "content": "", "tool_calls": [{"id": "call_41inbmYQzvhWSTU0cXd3EqRF", "function": {"name": "get_knowledge_base", "arguments": "{\"question\": \"about a solar panel\", \"reason\": \"GENERAL_QUESTION\"}"}, "type": "function"}]}, {"role": "tool", "content": "\"Sure! Here are some random facts that could be associated with a solar panel company: 1. **History**: The company was founded in 2008 by a group of renewable energy enthusiasts who wanted to make solar power more accessible to homeowners and businesses. 2. **Headquarters**: Their headquarters is a net-zero energy building powered entirely by their own solar panels, showcasing their commitment to sustainability. 3. **Products**: They produce three main types of solar panels: monocrystalline, polycrystalline, and thin-film, catering to different customer needs and budgets. 4. **Innovation**: The company holds patents for advanced solar cell technology that increases efficiency by 20% compared to industry standards. 5. **Global Reach**: They have installed solar systems in over 40 countries and have manufacturing plants on three continents.6. **Community Impact**: For every 100 solar panels sold, they donate a panel to a school or community center in underprivileged areas. 7. **Workforce**: The company employs over 5,000 people, 40% of whom are in research and development roles. 8. **Recognition**: They won the \\u201cGreen Energy Innovator of the Year\\u201d award in 2022 for their work on solar panels made from recycled materials. 9. **Sustainability**: Their panels are designed to last 25+ years and are 95% recyclable at the end of their life cycle. 10. **Customer Perks**: They offer a 25-year warranty and real-time monitoring systems that allow users to track energy production via an app. 11. **Mission Statement**: \\\"Empowering the world with clean energy, one panel at a time.\\\" 12. **Energy Production**: The combined output of all their installations generates enough electricity to power over 2 million homes annually. 13. **R&D Efforts**: They are actively working on integrating solar panels into everyday items like backpacks and electric vehicles. 14. **Solar Farms**: The company has partnered with governments to develop large-scale solar farms, including one that spans over 10,000 acres. 15. **Future Goals**: By 2030, they aim to make solar power the most affordable energy source worldwide. Would you like these customized for a specific scenario?\"", "tool_call_id": "call_41inbmYQzvhWSTU0cXd3EqRF"}, {"role": "assistant", "content": "Here's some information about solar panels and a related company: 1. **History**: The company began in 2008,"}, {"role": "user", "content": "Okay. Hey. Can you tell me what are my meeting time options?"}, {"role": "assistant", "content": "Here are your available meeting time options on November 16, 2024: 1. 8 AM Eastern"}, {"role": "user", "content": "What, are some times that I can meet?"}, {"role": "user", "content": "With people November."}, {"role": "assistant", "content": "Here are the available meeting slots on November 16, 2024: 1. 8 AM Eastern 2. 9 AM Eastern 3. 10 AM Eastern"}, {"role": "user", "content": "What is 9"}, {"role": "user", "content": "that I can meet people?"}, {"role": "assistant", "content": "On November 16, 2024, you can meet people at the following times"}, {"role": "user", "content": "And you tell me"}, {"role": "user", "content": "about"}, {"role": "user", "content": "the solar panel company?"}]
|
|
_____openai.py get_chat_completions * chunks: <openai.AsyncStream object at 0x11ef78cb0>
|
|
___________________________openai.py * tool_call_id:
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
___________________________openai.py * tool_call_id: call_jSwnaZ6kGhloYewfltQWjitZ
|
|
2024-11-18 20:36:55.720 | INFO | pipecat.processors.aggregators.openai_llm_context:call_function:195 - Calling function get_knowledge_base with arguments {'question': 'the solar panel company', 'reason': 'GENERAL_QUESTION'}
|
|
_---_ai_services.py process_frame * frame: FunctionCallInProgressFrame#3
|
|
___<1>__openai.py * OpenAIAssistantContextAggregator process_frame frame : FunctionCallInProgressFrame#3
|
|
2024-11-18 20:36:55.721 | DEBUG | pipecat.services.openai:process_frame:515 - FunctionCallInProgressFrame: FunctionCallInProgressFrame#3
|
|
2024-11-18 20:36:55.721 | INFO | __main__:get_knowledge_base:240 - Invoking `get_knowledge_base` tool with argument {'question': 'the solar panel company', 'reason': 'GENERAL_QUESTION'}
|