Bedrock FM API chunk token streaming

0

I notice when I use titan and claude with streaming. The results come out in chunk, compared to one token at a time. Is there a way to control the chunk size, or it is determined in real-time on your side.

Thanks!

JCJJ
demandé il y a 6 mois349 vues
1 réponse
1

Currently there is no way to control the length of the chunking responses. More details on what parameters you can control are available in the documentation at InvokeModelWithResponseStream and Inference parameters for foundation models

AWS
EXPERT
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions