Fix typos in docs/docs/use_cases/question_answering/code_understandin… (#11710)

herarchy -> hierarchy
pull/11716/head
Surav Shrestha 11 months ago committed by GitHub
parent f386ac3bef
commit e61b528c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -305,7 +305,7 @@
"19. BaseConversationalRetrievalChain\n",
"20. ConstitutionalChain \n",
"\n",
"-> **Question**: What one improvement do you propose in code in relation to the class herarchy for the Chain class? \n",
"-> **Question**: What one improvement do you propose in code in relation to the class hierarchy for the Chain class? \n",
"\n",
"**Answer**: As an AI model, I don't have personal opinions. However, one suggestion could be to improve the documentation of the Chain class hierarchy. The current comments and docstrings provide some details but it could be helpful to include more explicit explanations about the hierarchy, roles of each subclass, and their relationships with one another. Also, incorporating UML diagrams or other visuals could help developers better understand the structure and interactions of the classes. \n",
"\n"
@ -316,7 +316,7 @@
"questions = [\n",
" \"What is the class hierarchy?\",\n",
" \"What classes are derived from the Chain class?\",\n",
" \"What one improvement do you propose in code in relation to the class herarchy for the Chain class?\",\n",
" \"What one improvement do you propose in code in relation to the class hierarchy for the Chain class?\",\n",
"]\n",
"\n",
"for question in questions:\n",

Loading…
Cancel
Save