Preparation ⢠Go to settings in the lower left corner of Obsidian, select third-party plugins. Search for Text Generator in the plugin marketplace and install it. ⢠Log in to cometapi. Click "Add Token" in the API token section to get your token key: sk-xxxxx and baseurl: https://api.cometapi.comAPI Configuration ⢠Enter the Text Generator settings page, select openai chat ⢠Fill in the API address field with https://api.cometapi.com/v1 ⢠Paste the sk-xxxxx from cometapi in the key input box, you can freely select the model according to your needs; click save.⢠Testing the Call: After configuration, enter simple dialogue etc. If the call is successful, you will receive a corresponding answer; if it fails, check if the configuration is correct or contact cometapi online customer service.