This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.6.7; | |
| import "@chainlink/contracts/src/v0.6/ChainlinkClient.sol"; | |
| import "@chainlink/contracts/src/v0.6/vendor/Ownable.sol"; | |
| contract ChatGPT is ChainlinkClient, Ownable { | |
| uint256 private fee; | |
| address private oracle; | |
| bytes32 private jobId; | |
| event ResponseReceived( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # tejaskumartank@proton.me | |
| # ODOO Enterprise Edition | |
| # Part of Odoo. See LICENSE file for full copyright and licensing details. | |
| import datetime | |
| import logging | |
| import requests | |
| import werkzeug.urls |