Karl Bateman
Karl Bateman
Loving T3 ❤️ Really appreciate the time you've taken to put this article together! I have a couple of suggestions/thoughts: 1. Could you add details/example for submitting data and showing...
What I typically do is create a configurable Axios client using a factory function. Here is an example, where the fallback is a local address. Setting the environment variable `HTTP_REQUEST_ADDRESS`...
I'm recieving a `429` error code, despite this being my first time using the OpenAI API. Implementing the example set out in the [documentation], the `messages` format is as follows:...
After checking the billing page on OpenAI, I discovered that my trial had expired. After attaching billing details and setting usage limits, I created a new API token and I'm...
Running the following: ```javascript const h = require('@huggingface/inference'); const Hf = new h.HfInference(process.env.HUGGINGFACE_API_KEY); // Request the HuggingFace API for the response async function start() { const response = Hf.textGenerationStream({ model:...
I'm trying to debug an issue with the example you've shared which is [documented]. At first my implementation was working but after a few interactions I am no longer getting...
Possibly related to #144
@AdrianFerrer1 Totally agree, I suspect this will be the source of many issues for those using the OpenAI integration.
Ah, running it as a regular user with the ability to interact with Docker is the cause. Running the command with `sudo` or as `root` works as expected. I'm using...
Why not wrap the two within an async function? Something like the following should be suitable: ```javascript export async function connect() { const creds = await fetchMongoDBCredentials(); await mongoose.connect(`url_with_${creds}:port/${process.env.DB_NAME}`); }...