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": ...Oct 1, 2023 · 6 min readanvodev.hashnode.dev
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...Sep 24, 2023 · 8 min readanvodev.hashnode.dev
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...Aug 12, 2023 · 3 min readanvodev.hashnode.dev