В этом видео мы создадим чатбота с искусственным интеллектом с нуля, используя Node.js, библиотеку OpenAI и API ChatGPT.
0:00 - Intro 2:57 - Getting Setup 5:26 - OpenAI API Key 6:18 - OpenAI Library Setup 8:00 - Chat Completion Example 11:30 - Creating The Chatbot 13:42 - ReadlineSync Example 16:14 - Get User Input 18:05 - Exiting The Program 18:49 - Chat Completion for Chatbot 21:36 - Trying Out The Bot 22:13 - Storing The Chat History 25:22 - Update Chat History 26:05 - Final Test
В этом видео мы создадим чатбота с искусственным интеллектом с нуля, используя Node.js, библиотеку OpenAI и API ChatGPT.
0:00 - Intro 2:57 - Getting Setup 5:26 - OpenAI API Key 6:18 - OpenAI Library Setup 8:00 - Chat Completion Example 11:30 - Creating The Chatbot 13:42 - ReadlineSync Example 16:14 - Get User Input 18:05 - Exiting The Program 18:49 - Chat Completion for Chatbot 21:36 - Trying Out The Bot 22:13 - Storing The Chat History 25:22 - Update Chat History 26:05 - Final Test
The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.
How to Buy Bitcoin?
Most people buy Bitcoin via exchanges, such as Coinbase. Exchanges allow you to buy, sell and hold cryptocurrency, and setting up an account is similar to opening a brokerage account—you’ll need to verify your identity and provide some kind of funding source, such as a bank account or debit card. Major exchanges include Coinbase, Kraken, and Gemini. You can also buy Bitcoin at a broker like Robinhood. Regardless of where you buy your Bitcoin, you’ll need a digital wallet in which to store it. This might be what’s called a hot wallet or a cold wallet. A hot wallet (also called an online wallet) is stored by an exchange or a provider in the cloud. Providers of online wallets include Exodus, Electrum and Mycelium. A cold wallet (or mobile wallet) is an offline device used to store Bitcoin and is not connected to the Internet. Some mobile wallet options include Trezor and Ledger.