LangChain
• Download LangChain, download address: https://www.langchain.com/
• Log in to cometapi. Click "Add Token" in the API token section to get your token key: sk-xxxxx and baseurl: https://api.cometapi.com
API Configuration
• Add the key token you obtained from cometapi to your system environment variables.
• Or when passing parameters in the compiler, enter https://api.cometapi.com/v1 for the URL,
and paste the sk-xxxxx from cometapi in the API key input box.
Testing the Call
After configuration, enter a simple test command code in the compiler, such as asking for the current time. 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.