# Hugging face truncated output via langchain

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhugging-face-truncated-output-via-langchain%2F94038%3E%5C
**Category:** 🤗Transformers\
**Created:** [June 25, 2024, 4:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhugging-face-truncated-output-via-langchain%2F94038 "2024-06-25T16:59:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beyondhorizon](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@beyondhorizon](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbeyondhorizon)%5C
**Post date:** [June 25, 2024, 4:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhugging-face-truncated-output-via-langchain%2F94038%2F1 "2024-06-25T16:59:06Z")

</div>

I have been making a chatbot for property question answering and each time i ask it a quesion, the answer by the AI assistant is good but gets truncated. I’m not sure why… the max\_length is really high.  
I’m a beginner with LLMs and Langchain, would be great to have some guidance.  
Here is the code: [propex\_6.0 | Kaggle](https://www.kaggle.com/code/beyondhorizon19/propex-6-0)  
Run the code and try asking the question: tell me about colive 169 alpha
