The Response is truncated !
#196
by
huwa93
- opened
Hi everyone,
Im using Meta Llama 3 8B to generate trip ideas for a travel website, I set up a form that collects some values like the number of people, destination, number of days ..etc,
I am using the JavaScript snippet for the API inference (serverless).
The problem is that the generated response is truncated. Here's an example
My code here :
<label for="people">Number of People:</label>
<input type="number" id="people" name="people" required><br>
<label for="days">Number of Days:</label>
<input type="number" id="days" name="days" required><br>
<label for="activities">Activities:</label><br>
<input type="checkbox" name="activities" value="Kid Friendly"> Kid Friendly<br>
<input type="checkbox" name="activities" value="Museums"> Museums<br>
<input type="checkbox" name="activities" value="Shopping"> Shopping<br>
<input type="checkbox" name="activities" value="Historical"> Historical<br>
<input type="checkbox" name="activities" value="Outdoor"> Outdoor<br>
<input type="checkbox" name="activities" value="Adventures"> Adventures<br>
<input type="checkbox" name="activities" value="Art & Cultural"> Art & Cultural<br>
<input type="checkbox" name="activities" value="Amusement Parks"> Amusement Parks<br>
<button type="button" onclick="generateTripPDF()">Generate Trip</button>
</form>
<div id="result"></div> <!-- Added for displaying results or errors -->