Post by jony2 on Dec 14, 2023 5:56:34 GMT
This is the same account you use to access. You will get three login options. Select an option to get started. Once inside, navigate to the upper right corner of the screen and click on Personal to open the drop-down menu to use these options. Here, you have to click to view the key. Click Create New Key to generate a new key and give it a name. Then, you will get a key. Copy and paste it into the code editor. Steps to prepare your custom data. Now, you have to create a folder named on your system. Add all documents you want to use for training.
These documents must be in the , , or format. NOTE: The more files Phone Number List you add, the more tokens used. Steps to create a script. Now we are all set. In this step we will create a script to train with your custom data. This script will use the files inside the folder we created in the previous step and generate the files. files in the folder. One opens the code editor and paste the following code into the file. from import, , , , from import import gradient as import system import operating system construct index (directory path): max input size output number max block overlap block size limit temperature document index document.
Return index chatbot (input text): Index Response Return Response Response Chatbot Enter Your Text Output Text, My AI Chatbot Index Document Share Make sure to replace the mentioned part with the key you copied earlier (in step). Save this file in the same directory as the directory.. You are ready to run your code in the terminal. After heading to and entering the directory, run the following command: Once the application is complete, it will start training your custom chatbot based on the data in the folder. The time required depends on the amount of data.