I run this code in node.js app to generate ai text. I can get generated_text, but not details (object). I subscribed a pro plan. Any idea?
const { details, generated_text } = await textGeneration({
accessToken: hf_key,
model: "meta-llama/Llama-3.1-8B-Instruct",
inputs: "I live in New York. How's the weather today?",
parameters: { max_new_tokens: 250 },
});
console.log({ details, generated_text });