mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
Fix typos in docs/docs/use_cases/question_answering/code_understandin… (#11710)
herarchy -> hierarchy
This commit is contained in:
parent
f386ac3bef
commit
e61b528c0e
@ -305,7 +305,7 @@
|
|||||||
"19. BaseConversationalRetrievalChain\n",
|
"19. BaseConversationalRetrievalChain\n",
|
||||||
"20. ConstitutionalChain \n",
|
"20. ConstitutionalChain \n",
|
||||||
"\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",
|
"\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",
|
"**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"
|
"\n"
|
||||||
@ -316,7 +316,7 @@
|
|||||||
"questions = [\n",
|
"questions = [\n",
|
||||||
" \"What is the class hierarchy?\",\n",
|
" \"What is the class hierarchy?\",\n",
|
||||||
" \"What classes are derived from the Chain class?\",\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",
|
||||||
"\n",
|
"\n",
|
||||||
"for question in questions:\n",
|
"for question in questions:\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user