Calculate OpenAI usage for Chat Completion API stream in NodeJSIntroduction OpenAI does have the usage field in its non-stream response. For example with a non-stream request like this (stream: false): { "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": ...6 min read·anvodev.hashnode.devOct 1, 2023
Create An OpenAI Proxy Server using Express and HttpsIntroduction OpenAI API does not support some countries. That is the barrier for some third-country developers to access and explore this technology. In this article, we will make OpenAI API more accessible using a proxy to transport back and forth t...8 min read·anvodev.hashnode.devSep 24, 2023
Mint simple NFT with Wagmi and RemixPart 1: Create a simple NFT smart contract Note: If you don't want to touch the Solidity stuff, feel free to use the deployed smart contract https://sepolia.etherscan.io/address/0xe09439e6b9e4cfc45ec2a25ea05876ae981adb39 and go to part 2 for the Wagm...3 min read·anvodev.hashnode.devAug 12, 2023