Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Truncated Responses in UI with Streaming ON #1131

Open
iunknown80 opened this issue Oct 7, 2024 · 3 comments
Open

Issue with Truncated Responses in UI with Streaming ON #1131

iunknown80 opened this issue Oct 7, 2024 · 3 comments
Labels
bug Something isn't working stale

Comments

@iunknown80
Copy link

Hi,

I'm working with the most recent code from GitHub. However, I've encountered an issue where the output response is cut off halfway through the completion. I'm linked to the Azure Search Service (OYD) and have set up the index properly. The chat does generate a response with the correct references, but it's truncated mid-way and fails to display correctly in the UI. GPT4 model is used. Below is my configuration.

[UPDATE] When AZURE_OPENAI_STREAM is set to True, the response gets truncated; when set to False, the data remains intact.

Chat with data: common settings
DATASOURCE_TYPE=AzureCognitiveSearch
SEARCH_TOP_K=5
SEARCH_STRICTNESS=3
SEARCH_ENABLE_IN_DOMAIN=True

Chat with data: Azure AI Search
AZURE_SEARCH_SERVICE=service_name
AZURE_SEARCH_INDEX=index_name
AZURE_SEARCH_KEY=dummy
AZURE_SEARCH_SEMANTIC_SEARCH_CONFIG=default
AZURE_SEARCH_INDEX_IS_PRECHUNKED=False
AZURE_SEARCH_TOP_K=5
AZURE_SEARCH_ENABLE_IN_DOMAIN=False
AZURE_SEARCH_QUERY_TYPE=semantic
AZURE_SEARCH_STRICTNESS=3

Any help would be appreciated.

Thanks

@iunknown80 iunknown80 added the bug Something isn't working label Oct 7, 2024
@sarah-widder
Copy link
Contributor

@gabrielsusai were you using the async content filter feature? If so, we had a bug specifically around the use of the filter with the On Your Data feature, which has now been fixed. Are you still seeing the issue?

@vishbhalla
Copy link

Any App Gateways in front of any of this? We had to adjust our request timeout settings for an issue like this.

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

3 participants