You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your issue is probably an OpenAI related throttling issue. I know they've been having some API instability the last few days. Maybe try taking a look at your OpenAI settings on their UI?
const indexDict = new IndexDict();
for (const node of embeddingResults) {
indexDict.addNode(node);
}
// Split text and create embeddings. Store them in a VectorStoreIndex
const index = await VectorStoreIndex.init({
indexStruct: indexDict,
serviceContext: serviceContextFromDefaults({
llm: new OpenAI({
model: "gpt-4",
temperature: 0.5,
topP: 0.8,
}),
}),
});
Though, I have got the paying option : Here is my code :
`const essay = await fs.readFile(
"cv.txt",
"utf-8",
);
// Create Document object with essay
const document = new Document({text: essay});
The text was updated successfully, but these errors were encountered: