Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
justjais committed Jan 7, 2025
1 parent 925c1b6 commit c1627cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const useChatbot = () => {
message.actions.copy.className = "action-button-clicked";
const ref_docs =
typeof response === "object"
? response.referenced_documents?.slice(0, 30)
? response.referenced_documents?.slice(0, 5)
: response;
if (ref_docs) {
const llmResponse = [
Expand Down

0 comments on commit c1627cf

Please sign in to comment.