curl --request POST \ --url https://v2.okchat.ai/api/external/chatbot/{chatbotId}/chat \ --header 'Content-Type: application/json' \ --data '{ "messages": [ { "content": "Tell me about the history of the internet.", "role": "user" } ], "platform": "web", "sessionToken": "sessionToken789"}'
{ "finish_reason": "stop", "output": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "steps": [ { "experimental_providerMetadata": { "openai": { "cachedPromptTokens": 0, "reasoningTokens": 0 } }, "finishReason": "stop", "isContinued": false, "request": { "body": "{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}" }, "response": { "headers": { "access-control-expose-headers": "X-Request-ID", "alt-svc": "h3=\":443\"; ma=86400", "cf-cache-status": "DYNAMIC", "cf-ray": "905ed550c8b440cc-SIN", "connection": "keep-alive", "content-encoding": "br", "content-type": "application/json", "date": "Wed, 22 Jan 2025 10:24:23 GMT", "openai-organization": "dasomx", "openai-processing-ms": "8111", "openai-version": "2020-10-01", "server": "cloudflare", "set-cookie": "_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", "x-ratelimit-limit-requests": "10000", "x-ratelimit-limit-tokens": "10000000", "x-ratelimit-remaining-requests": "9999", "x-ratelimit-remaining-tokens": "9999795", "x-ratelimit-reset-requests": "6ms", "x-ratelimit-reset-tokens": "1ms", "x-request-id": "req_0aeec88fc424f34dbda6e9ae6f02415e" }, "id": "chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9", "messages": [ { "content": [ { "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "type": "text" } ], "role": "assistant" } ], "modelId": "gpt-4o-mini-2024-07-18", "timestamp": "2025-01-22T10:24:15.000Z" }, "stepType": "initial", "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "toolCalls": [], "toolResults": [], "usage": { "completionTokens": 533, "promptTokens": 310, "totalTokens": 843 }, "warnings": [] } ], "tool_calls": [], "tool_results": []}
API Reference
Chat
Chat
POST
/
api
/
external
/
chatbot
/
{chatbotId}
/
chat
curl --request POST \ --url https://v2.okchat.ai/api/external/chatbot/{chatbotId}/chat \ --header 'Content-Type: application/json' \ --data '{ "messages": [ { "content": "Tell me about the history of the internet.", "role": "user" } ], "platform": "web", "sessionToken": "sessionToken789"}'
{ "finish_reason": "stop", "output": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "steps": [ { "experimental_providerMetadata": { "openai": { "cachedPromptTokens": 0, "reasoningTokens": 0 } }, "finishReason": "stop", "isContinued": false, "request": { "body": "{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}" }, "response": { "headers": { "access-control-expose-headers": "X-Request-ID", "alt-svc": "h3=\":443\"; ma=86400", "cf-cache-status": "DYNAMIC", "cf-ray": "905ed550c8b440cc-SIN", "connection": "keep-alive", "content-encoding": "br", "content-type": "application/json", "date": "Wed, 22 Jan 2025 10:24:23 GMT", "openai-organization": "dasomx", "openai-processing-ms": "8111", "openai-version": "2020-10-01", "server": "cloudflare", "set-cookie": "_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", "x-ratelimit-limit-requests": "10000", "x-ratelimit-limit-tokens": "10000000", "x-ratelimit-remaining-requests": "9999", "x-ratelimit-remaining-tokens": "9999795", "x-ratelimit-reset-requests": "6ms", "x-ratelimit-reset-tokens": "1ms", "x-request-id": "req_0aeec88fc424f34dbda6e9ae6f02415e" }, "id": "chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9", "messages": [ { "content": [ { "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "type": "text" } ], "role": "assistant" } ], "modelId": "gpt-4o-mini-2024-07-18", "timestamp": "2025-01-22T10:24:15.000Z" }, "stepType": "initial", "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "toolCalls": [], "toolResults": [], "usage": { "completionTokens": 533, "promptTokens": 310, "totalTokens": 843 }, "warnings": [] } ], "tool_calls": [], "tool_results": []}
"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment."
[ { "experimental_providerMetadata": { "openai": { "cachedPromptTokens": 0, "reasoningTokens": 0 } }, "finishReason": "stop", "isContinued": false, "request": { "body": "{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}" }, "response": { "headers": { "access-control-expose-headers": "X-Request-ID", "alt-svc": "h3=\":443\"; ma=86400", "cf-cache-status": "DYNAMIC", "cf-ray": "905ed550c8b440cc-SIN", "connection": "keep-alive", "content-encoding": "br", "content-type": "application/json", "date": "Wed, 22 Jan 2025 10:24:23 GMT", "openai-organization": "dasomx", "openai-processing-ms": "8111", "openai-version": "2020-10-01", "server": "cloudflare", "set-cookie": "_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", "x-ratelimit-limit-requests": "10000", "x-ratelimit-limit-tokens": "10000000", "x-ratelimit-remaining-requests": "9999", "x-ratelimit-remaining-tokens": "9999795", "x-ratelimit-reset-requests": "6ms", "x-ratelimit-reset-tokens": "1ms", "x-request-id": "req_0aeec88fc424f34dbda6e9ae6f02415e" }, "id": "chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9", "messages": [ { "content": [ { "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "type": "text" } ], "role": "assistant" } ], "modelId": "gpt-4o-mini-2024-07-18", "timestamp": "2025-01-22T10:24:15.000Z" }, "stepType": "initial", "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "toolCalls": [], "toolResults": [], "usage": { "completionTokens": 533, "promptTokens": 310, "totalTokens": 843 }, "warnings": [] } ]
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"OKCHAT AI V2 Docs","colors":{"primary":"#5737CF","light":"#5737CF","dark":"#0D9373"},"favicon":"/images/logo/mascot-gradient.svg","logo":{"light":"https://mintcdn.com/dasomx/HWv_yUHwWK99k7RJ/images/logo/black-bg.svg?fit=max\u0026auto=format\u0026n=HWv_yUHwWK99k7RJ\u0026q=85\u0026s=383ec2cf8270a5c4ce5884dc73dd9a02","dark":"https://mintcdn.com/dasomx/HWv_yUHwWK99k7RJ/images/logo/primary.svg?fit=max\u0026auto=format\u0026n=HWv_yUHwWK99k7RJ\u0026q=85\u0026s=64ab38ad08ddef555b9adc55c27f3098"},"navbar":{"links":[{"label":"Support","href":"mailto:[email protected]"}],"primary":{"type":"button","label":"App","href":"https://v2.okchat.ai"}},"footer":{"socials":{"x":"https://x.com/okchatai","github":"https://github.com/dasomx","linkedin":"https://linkedin.com/company/dasomx"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dasomx","hasAudioNarration":false,"actualSubdomain":"dasomx","customDomains":["docs.okchat.ai"],"gitSource":{"type":"github","owner":"dasomx","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae923fbf214fd30efb952c8:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Documentation","count":60},{"language":"default","tag":"API Reference","count":35},{"language":"default","tag":"Get Started","count":12},{"language":"default","tag":"Social Media","count":6},{"language":"default","tag":"Plugins","count":3},{"language":"default","tag":"API Documentation","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/chat","slug":"/api-reference/chat","pageMetadata":{"title":"Chat","description":"Chat","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json post /api/external/chatbot/{chatbotId}/chat","href":"/api-reference/chat","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Chat\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Chat","description":"Chat","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json post /api/external/chatbot/{chatbotId}/chat","href":"/api-reference/chat","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Chat","description":"Chat","operationId":"chat","parameters":["c065eb46-5552-4221-a7e2-9960dc80b3fa","bc5daf7c-fcfc-4641-8f9f-11bdd7820e5a"],"requestBody":"2db31f12-c173-4955-973e-877b117009f0","responses":{"200":"3a40a7c3-1080-4f25-82f3-cd0c654e35a8"},"method":"post","type":"path","servers":["68f10645-9595-4b4d-942b-47a0f0e8e58e","fd557225-9b56-4b01-8312-292d9b3c29a6"],"security":[],"path":"/api/external/chatbot/{chatbotId}/chat","baseUrlOptions":["https://v2.okchat.ai","http://localhost"],"title":"Chat","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c065eb46-5552-4221-a7e2-9960dc80b3fa":{"name":"stream","in":"query","schema":{"type":"string","example":"false","uniqueKey":"","typeLabel":"string"}},"bc5daf7c-fcfc-4641-8f9f-11bdd7820e5a":{"name":"x-api-key","in":"header","schema":{"type":"string","example":"15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68","uniqueKey":"","typeLabel":"string"}},"ae2f649f-b668-40fc-a325-b58d5ba95d26":{"name":"chatbotId","in":"path","required":true,"schema":{"type":"string","example":"c631086b-0147-4749-9034-940647620f0c","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string","example":"Tell me about the history of the internet.","uniqueKey":"messages.items.[INDEX].content","typeLabel":"string"},"role":{"type":"string","example":"user","uniqueKey":"messages.items.[INDEX].role","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"example":[{"content":"Tell me about the history of the internet.","role":"user"}],"uniqueKey":"messages","typeLabel":"object[]"},"platform":{"type":"string","example":"web","uniqueKey":"platform","typeLabel":"string"},"sessionToken":{"type":"string","example":"sessionToken789","uniqueKey":"sessionToken","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Chat":{"title":"Chat","value":{"messages":[{"content":"Tell me about the history of the internet.","role":"user"}],"platform":"web","sessionToken":"sessionToken789"}},"Chat Copy":{"title":"Chat Copy","value":{"messages":[{"content":"Tell me about the history of the internet.","role":"user"}],"platform":"web","sessionToken":"sessionToken789"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3a40a7c3-1080-4f25-82f3-cd0c654e35a8":{"description":"Non stream response / Stream Response / Non stream response / Stream Response","headers":{"Access-Control-Allow-Credentials":{"schema":{"type":"string","example":"true"}},"Access-Control-Allow-Headers":{"schema":{"type":"string","example":"X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"}},"Access-Control-Allow-Methods":{"schema":{"type":"string","example":"GET,OPTIONS,PATCH,DELETE,POST,PUT"}},"Access-Control-Allow-Origin":{"schema":{"type":"string","example":"*"}},"Connection":{"schema":{"type":"string","example":"keep-alive"}},"Date":{"schema":{"type":"string","example":"Wed, 22 Jan 2025 10:24:56 GMT"}},"Keep-Alive":{"schema":{"type":"string","example":"timeout=5"}},"Transfer-Encoding":{"schema":{"type":"string","example":"chunked"}},"vary":{"schema":{"type":"string","example":"RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch"}},"x-vercel-ai-data-stream":{"schema":{"type":"string","example":"v1"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"finish_reason":{"type":"string","example":"stop","uniqueKey":"finish_reason","typeLabel":"string"},"output":{"type":"string","example":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","uniqueKey":"output","typeLabel":"string"},"steps":{"type":"array","items":{"type":"object","properties":{"experimental_providerMetadata":{"type":"object","properties":{"openai":{"type":"object","properties":{"cachedPromptTokens":{"type":"number","example":0,"uniqueKey":"steps.items.[INDEX].experimental_providerMetadata.openai.cachedPromptTokens","typeLabel":"number"},"reasoningTokens":{"type":"number","example":0,"uniqueKey":"steps.items.[INDEX].experimental_providerMetadata.openai.reasoningTokens","typeLabel":"number"}},"uniqueKey":"steps.items.[INDEX].experimental_providerMetadata.openai","typeLabel":"object"}},"uniqueKey":"steps.items.[INDEX].experimental_providerMetadata","typeLabel":"object"},"finishReason":{"type":"string","example":"stop","uniqueKey":"steps.items.[INDEX].finishReason","typeLabel":"string"},"isContinued":{"type":"boolean","example":false,"uniqueKey":"steps.items.[INDEX].isContinued","typeLabel":"boolean"},"request":{"type":"object","properties":{"body":{"type":"string","example":"{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}","uniqueKey":"steps.items.[INDEX].request.body","typeLabel":"string"}},"uniqueKey":"steps.items.[INDEX].request","typeLabel":"object"},"response":{"type":"object","properties":{"headers":{"type":"object","properties":{"access-control-expose-headers":{"type":"string","example":"X-Request-ID","uniqueKey":"steps.items.[INDEX].response.headers.access-control-expose-headers","typeLabel":"string"},"alt-svc":{"type":"string","example":"h3=\":443\"; ma=86400","uniqueKey":"steps.items.[INDEX].response.headers.alt-svc","typeLabel":"string"},"cf-cache-status":{"type":"string","example":"DYNAMIC","uniqueKey":"steps.items.[INDEX].response.headers.cf-cache-status","typeLabel":"string"},"cf-ray":{"type":"string","example":"905ed550c8b440cc-SIN","uniqueKey":"steps.items.[INDEX].response.headers.cf-ray","typeLabel":"string"},"connection":{"type":"string","example":"keep-alive","uniqueKey":"steps.items.[INDEX].response.headers.connection","typeLabel":"string"},"content-encoding":{"type":"string","example":"br","uniqueKey":"steps.items.[INDEX].response.headers.content-encoding","typeLabel":"string"},"content-type":{"type":"string","example":"application/json","uniqueKey":"steps.items.[INDEX].response.headers.content-type","typeLabel":"string"},"date":{"type":"string","example":"Wed, 22 Jan 2025 10:24:23 GMT","uniqueKey":"steps.items.[INDEX].response.headers.date","typeLabel":"string"},"openai-organization":{"type":"string","example":"dasomx","uniqueKey":"steps.items.[INDEX].response.headers.openai-organization","typeLabel":"string"},"openai-processing-ms":{"type":"string","example":"8111","uniqueKey":"steps.items.[INDEX].response.headers.openai-processing-ms","typeLabel":"string"},"openai-version":{"type":"string","example":"2020-10-01","uniqueKey":"steps.items.[INDEX].response.headers.openai-version","typeLabel":"string"},"server":{"type":"string","example":"cloudflare","uniqueKey":"steps.items.[INDEX].response.headers.server","typeLabel":"string"},"set-cookie":{"type":"string","example":"_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None","uniqueKey":"steps.items.[INDEX].response.headers.set-cookie","typeLabel":"string"},"strict-transport-security":{"type":"string","example":"max-age=31536000; includeSubDomains; preload","uniqueKey":"steps.items.[INDEX].response.headers.strict-transport-security","typeLabel":"string"},"transfer-encoding":{"type":"string","example":"chunked","uniqueKey":"steps.items.[INDEX].response.headers.transfer-encoding","typeLabel":"string"},"x-content-type-options":{"type":"string","example":"nosniff","uniqueKey":"steps.items.[INDEX].response.headers.x-content-type-options","typeLabel":"string"},"x-ratelimit-limit-requests":{"type":"string","example":"10000","uniqueKey":"steps.items.[INDEX].response.headers.x-ratelimit-limit-requests","typeLabel":"string"},"x-ratelimit-limit-tokens":{"type":"string","example":"10000000","uniqueKey":"steps.items.[INDEX].response.headers.x-ratelimit-limit-tokens","typeLabel":"string"},"x-ratelimit-remaining-requests":{"type":"string","example":"9999","uniqueKey":"steps.items.[INDEX].response.headers.x-ratelimit-remaining-requests","typeLabel":"string"},"x-ratelimit-remaining-tokens":{"type":"string","example":"9999795","uniqueKey":"steps.items.[INDEX].response.headers.x-ratelimit-remaining-tokens","typeLabel":"string"},"x-ratelimit-reset-requests":{"type":"string","example":"6ms","uniqueKey":"steps.items.[INDEX].response.headers.x-ratelimit-reset-requests","typeLabel":"string"},"x-ratelimit-reset-tokens":{"type":"string","example":"1ms","uniqueKey":"steps.items.[INDEX].response.headers.x-ratelimit-reset-tokens","typeLabel":"string"},"x-request-id":{"type":"string","example":"req_0aeec88fc424f34dbda6e9ae6f02415e","uniqueKey":"steps.items.[INDEX].response.headers.x-request-id","typeLabel":"string"}},"uniqueKey":"steps.items.[INDEX].response.headers","typeLabel":"object"},"id":{"type":"string","example":"chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9","uniqueKey":"steps.items.[INDEX].response.id","typeLabel":"string"},"messages":{"type":"array","items":{"type":"object","properties":{"content":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","example":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","uniqueKey":"steps.items.[INDEX].response.messages.items.[INDEX].content.items.[INDEX].text","typeLabel":"string"},"type":{"type":"string","example":"text","uniqueKey":"steps.items.[INDEX].response.messages.items.[INDEX].content.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"steps.items.[INDEX].response.messages.items.[INDEX].content.items.[INDEX]","typeLabel":"object"},"example":[{"text":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","type":"text"}],"uniqueKey":"steps.items.[INDEX].response.messages.items.[INDEX].content","typeLabel":"object[]"},"role":{"type":"string","example":"assistant","uniqueKey":"steps.items.[INDEX].response.messages.items.[INDEX].role","typeLabel":"string"}},"uniqueKey":"steps.items.[INDEX].response.messages.items.[INDEX]","typeLabel":"object"},"example":[{"content":[{"text":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","type":"text"}],"role":"assistant"}],"uniqueKey":"steps.items.[INDEX].response.messages","typeLabel":"object[]"},"modelId":{"type":"string","example":"gpt-4o-mini-2024-07-18","uniqueKey":"steps.items.[INDEX].response.modelId","typeLabel":"string"},"timestamp":{"type":"string","example":"2025-01-22T10:24:15.000Z","uniqueKey":"steps.items.[INDEX].response.timestamp","typeLabel":"string"}},"uniqueKey":"steps.items.[INDEX].response","typeLabel":"object"},"stepType":{"type":"string","example":"initial","uniqueKey":"steps.items.[INDEX].stepType","typeLabel":"string"},"text":{"type":"string","example":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","uniqueKey":"steps.items.[INDEX].text","typeLabel":"string"},"toolCalls":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"steps.items.[INDEX].toolCalls.items.[INDEX]","typeLabel":"any"},"example":[],"uniqueKey":"steps.items.[INDEX].toolCalls","typeLabel":"any[]"},"toolResults":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"steps.items.[INDEX].toolResults.items.[INDEX]","typeLabel":"any"},"example":[],"uniqueKey":"steps.items.[INDEX].toolResults","typeLabel":"any[]"},"usage":{"type":"object","properties":{"completionTokens":{"type":"number","example":533,"uniqueKey":"steps.items.[INDEX].usage.completionTokens","typeLabel":"number"},"promptTokens":{"type":"number","example":310,"uniqueKey":"steps.items.[INDEX].usage.promptTokens","typeLabel":"number"},"totalTokens":{"type":"number","example":843,"uniqueKey":"steps.items.[INDEX].usage.totalTokens","typeLabel":"number"}},"uniqueKey":"steps.items.[INDEX].usage","typeLabel":"object"},"warnings":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"steps.items.[INDEX].warnings.items.[INDEX]","typeLabel":"any"},"example":[],"uniqueKey":"steps.items.[INDEX].warnings","typeLabel":"any[]"}},"uniqueKey":"steps.items.[INDEX]","typeLabel":"object"},"example":[{"experimental_providerMetadata":{"openai":{"cachedPromptTokens":0,"reasoningTokens":0}},"finishReason":"stop","isContinued":false,"request":{"body":"{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}"},"response":{"headers":{"access-control-expose-headers":"X-Request-ID","alt-svc":"h3=\":443\"; ma=86400","cf-cache-status":"DYNAMIC","cf-ray":"905ed550c8b440cc-SIN","connection":"keep-alive","content-encoding":"br","content-type":"application/json","date":"Wed, 22 Jan 2025 10:24:23 GMT","openai-organization":"dasomx","openai-processing-ms":"8111","openai-version":"2020-10-01","server":"cloudflare","set-cookie":"_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None","strict-transport-security":"max-age=31536000; includeSubDomains; preload","transfer-encoding":"chunked","x-content-type-options":"nosniff","x-ratelimit-limit-requests":"10000","x-ratelimit-limit-tokens":"10000000","x-ratelimit-remaining-requests":"9999","x-ratelimit-remaining-tokens":"9999795","x-ratelimit-reset-requests":"6ms","x-ratelimit-reset-tokens":"1ms","x-request-id":"req_0aeec88fc424f34dbda6e9ae6f02415e"},"id":"chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9","messages":[{"content":[{"text":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","type":"text"}],"role":"assistant"}],"modelId":"gpt-4o-mini-2024-07-18","timestamp":"2025-01-22T10:24:15.000Z"},"stepType":"initial","text":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","toolCalls":[],"toolResults":[],"usage":{"completionTokens":533,"promptTokens":310,"totalTokens":843},"warnings":[]}],"uniqueKey":"steps","typeLabel":"object[]"},"tool_calls":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"tool_calls.items.[INDEX]","typeLabel":"any"},"example":[],"uniqueKey":"tool_calls","typeLabel":"any[]"},"tool_results":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"tool_results.items.[INDEX]","typeLabel":"any"},"example":[],"uniqueKey":"tool_results","typeLabel":"any[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Non stream response":{"title":"Non stream response","value":{"finish_reason":"stop","output":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","steps":[{"experimental_providerMetadata":{"openai":{"cachedPromptTokens":0,"reasoningTokens":0}},"finishReason":"stop","isContinued":false,"request":{"body":"{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}"},"response":{"headers":{"access-control-expose-headers":"X-Request-ID","alt-svc":"h3=\":443\"; ma=86400","cf-cache-status":"DYNAMIC","cf-ray":"905ed550c8b440cc-SIN","connection":"keep-alive","content-encoding":"br","content-type":"application/json","date":"Wed, 22 Jan 2025 10:24:23 GMT","openai-organization":"dasomx","openai-processing-ms":"8111","openai-version":"2020-10-01","server":"cloudflare","set-cookie":"_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None","strict-transport-security":"max-age=31536000; includeSubDomains; preload","transfer-encoding":"chunked","x-content-type-options":"nosniff","x-ratelimit-limit-requests":"10000","x-ratelimit-limit-tokens":"10000000","x-ratelimit-remaining-requests":"9999","x-ratelimit-remaining-tokens":"9999795","x-ratelimit-reset-requests":"6ms","x-ratelimit-reset-tokens":"1ms","x-request-id":"req_0aeec88fc424f34dbda6e9ae6f02415e"},"id":"chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9","messages":[{"content":[{"text":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","type":"text"}],"role":"assistant"}],"modelId":"gpt-4o-mini-2024-07-18","timestamp":"2025-01-22T10:24:15.000Z"},"stepType":"initial","text":"The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.","toolCalls":[],"toolResults":[],"usage":{"completionTokens":533,"promptTokens":310,"totalTokens":843},"warnings":[]}],"tool_calls":[],"tool_results":[]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"68f10645-9595-4b4d-942b-47a0f0e8e58e":{"url":"https://v2.okchat.ai"},"fd557225-9b56-4b01-8312-292d9b3c29a6":{"url":"http://localhost"}}},"originalFileLocation":"api-reference/openapi-spec.json"},"subdomain":"dasomx","siteName":"OKCHAT AI V2 Docs","title":"Chat - OKCHAT AI V2 Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T05:45:05.153Z","originalFileLocation":"api-reference/chat.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Chat\">\u003cmeta data-mint-head name=\"application-name\" content=\"OKCHAT AI V2 Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Chat - OKCHAT AI V2 Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Chat\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OKCHAT AI V2 Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.okchat.ai/api-reference/chat\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dasomx.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Chat\u0026amp;description=Chat\u0026amp;theme=775e1529e069e981cb750bda\u0026amp;signature=bed7df5966d72e3d395a5739189ef26c6274aca8fddfd8f1dec9920d64296756\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Chat - OKCHAT AI V2 Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Chat\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dasomx.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Chat\u0026amp;description=Chat\u0026amp;theme=775e1529e069e981cb750bda\u0026amp;signature=bed7df5966d72e3d395a5739189ef26c6274aca8fddfd8f1dec9920d64296756\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dasomx/Fk0u_HO7fp1g7-L_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OKCHAT AI V2 Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5737CF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.okchat.ai/api-reference/chat\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/chat.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.okchat.ai/#organization\",\"name\":\"OKCHAT AI V2 Docs\",\"url\":\"https://docs.okchat.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dasomx/HWv_yUHwWK99k7RJ/images/logo/black-bg.svg?fit=max\u0026auto=format\u0026n=HWv_yUHwWK99k7RJ\u0026q=85\u0026s=383ec2cf8270a5c4ce5884dc73dd9a02\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.okchat.ai#website\",\"name\":\"OKCHAT AI V2 Docs\",\"url\":\"https://docs.okchat.ai\",\"publisher\":{\"@id\":\"https://docs.okchat.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.okchat.ai/api-reference/chat#webpage\",\"url\":\"https://docs.okchat.ai/api-reference/chat\",\"name\":\"Chat\",\"description\":\"Chat\",\"dateModified\":\"2026-01-07T05:45:05.153Z\",\"isPartOf\":{\"@id\":\"https://docs.okchat.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.okchat.ai/api-reference/chat#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.okchat.ai/api-reference/chat#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.okchat.ai/api-reference/knowledge-base-files\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chat\",\"item\":\"https://docs.okchat.ai/api-reference/chat\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.okchat.ai/api-reference/chat#apireference\",\"headline\":\"Chat\",\"name\":\"Chat\",\"description\":\"Chat\",\"url\":\"https://docs.okchat.ai/api-reference/chat\",\"mainEntityOfPage\":{\"@id\":\"https://docs.okchat.ai/api-reference/chat#webpage\"},\"dateModified\":\"2026-01-07T05:45:05.153Z\",\"publisher\":{\"@id\":\"https://docs.okchat.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.okchat.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OKCHAT AI V2 Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OKCHAT AI V2 Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/chat.md","siteName":"OKCHAT AI V2 Docs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"API Reference","pages":[{"title":"Knowledge Base Files","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json post /api/embedfiles","href":"/api-reference/knowledge-base-files"},{"title":"Get Chatbots","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json get /api/external/chatbots","href":"/api-reference/get-chatbots"},{"title":"Create Chatbot","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json post /api/external/chatbots","href":"/api-reference/create-chatbot"},{"title":"Update Chatbot","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json patch /api/external/chatbots","href":"/api-reference/update-chatbot"},{"title":"Get Chatbot Details","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json get /api/external/chatbot/{chatbotId}","href":"/api-reference/get-chatbot-details"},{"title":"Delete Chatbot","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json delete /api/external/chatbot/{chatbotId}","href":"/api-reference/delete-chatbot"},{"title":"Chatbot Avatar","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json patch /api/external/chatbot/{chatbotId}/update-avatar","href":"/api-reference/chatbot-avatar"},{"title":"Voice Agent","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json patch /api/external/chatbot/{chatbotId}/voice-agent","href":"/api-reference/voice-agent"},{"title":"Chat Widget","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json patch /api/external/chatbot/{chatbotId}/chat-widget","href":"/api-reference/chat-widget"},{"title":"Get Knowledge Base List Of Chatbot","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json get /api/external/chatbot/{chatbotId}/knowledge-base","href":"/api-reference/get-knowledge-base-list-of-chatbot"},{"title":"Delete Knowledge Base Data","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json delete /api/external/chatbot/{chatbotId}/knowledge-base","href":"/api-reference/delete-knowledge-base-data"},{"title":"Update Knowledge Base","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json patch /api/external/chatbot/{chatbotId}/knowledge-base","href":"/api-reference/update-knowledge-base"},{"title":"Query Knowledge","description":"Query Knowledge","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json post /api/external/chatbot/{chatbotId}/query-knowledge","href":"/api-reference/query-knowledge"},{"title":"Chat","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json post /api/external/chatbot/{chatbotId}/chat","href":"/api-reference/chat"},{"title":"Get A Conversation","description":"Get A Conversation","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json get /api/external/chatbot/{chatbotId}/conversations/{sessionId}","href":"/api-reference/get-a-conversation"},{"title":"Get Conversations","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json get /api/external/chatbot/{chatbotId}/conversations","href":"/api-reference/get-conversations"},{"title":"Get Messages","deprecated":null,"version":null,"openapi":"api-reference/openapi-spec.json get /api/external/chatbot/{chatbotId}/conversations/{sessionId}/messages","href":"/api-reference/get-messages"}]}]}]}]},"basePath":"","title":"Chat - OKCHAT AI V2 Docs","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}