AVAn Voinanvodev.hashnode.dev·Oct 1, 2023 · 6 min readCalculate 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": ...00
AVAn Voinanvodev.hashnode.dev·Sep 24, 2023 · 8 min readCreate 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...00
AVAn Voinanvodev.hashnode.dev·Aug 12, 2023 · 3 min readMint 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...00