class diagram #13
					 2 changed files with 35 additions and 0 deletions
				
			
		
							
								
								
									
										34
									
								
								docs/class.drawio
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								docs/class.drawio
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,34 @@ | |||
| <mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.120 Electron/32.1.0 Safari/537.36" version="24.7.8"> | ||||
|   <diagram name="Page-1" id="xNVHw0Y6uJVB38V9cjl8"> | ||||
|     <mxGraphModel dx="1434" dy="955" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> | ||||
|       <root> | ||||
|         <mxCell id="0" /> | ||||
|         <mxCell id="1" parent="0" /> | ||||
|         <mxCell id="wwk2D0dwCByFAOAYTolb-1" value="simple_chat.py" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> | ||||
|           <mxGeometry x="40" y="40" width="140" height="52" as="geometry" /> | ||||
|         </mxCell> | ||||
|         <mxCell id="wwk2D0dwCByFAOAYTolb-2" value="chat(): void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="wwk2D0dwCByFAOAYTolb-1"> | ||||
|           <mxGeometry y="26" width="140" height="26" as="geometry" /> | ||||
|         </mxCell> | ||||
|         <mxCell id="wwk2D0dwCByFAOAYTolb-9" value="api.py" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> | ||||
|           <mxGeometry x="200" y="40" width="260" height="104" as="geometry" /> | ||||
|         </mxCell> | ||||
|         <mxCell id="wwk2D0dwCByFAOAYTolb-11" value="process_text_transformers(): String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="wwk2D0dwCByFAOAYTolb-9"> | ||||
|           <mxGeometry y="26" width="260" height="26" as="geometry" /> | ||||
|         </mxCell> | ||||
|         <mxCell id="wwk2D0dwCByFAOAYTolb-12" value="process_text_local(): String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="wwk2D0dwCByFAOAYTolb-9"> | ||||
|           <mxGeometry y="52" width="260" height="26" as="geometry" /> | ||||
|         </mxCell> | ||||
|         <mxCell id="wwk2D0dwCByFAOAYTolb-10" value="send_message(self, message, model): String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="wwk2D0dwCByFAOAYTolb-9"> | ||||
|           <mxGeometry y="78" width="260" height="26" as="geometry" /> | ||||
|         </mxCell> | ||||
|         <mxCell id="wwk2D0dwCByFAOAYTolb-13" value="web_flask.py" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> | ||||
|           <mxGeometry x="480" y="40" width="260" height="52" as="geometry" /> | ||||
|         </mxCell> | ||||
|         <mxCell id="wwk2D0dwCByFAOAYTolb-14" value="index(): html" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="wwk2D0dwCByFAOAYTolb-13"> | ||||
|           <mxGeometry y="26" width="260" height="26" as="geometry" /> | ||||
|         </mxCell> | ||||
|       </root> | ||||
|     </mxGraphModel> | ||||
|   </diagram> | ||||
| </mxfile> | ||||
|  | @ -21,3 +21,4 @@ class CLIChat: | |||
|                     break | ||||
|                 output_text = chat1.send_message(input_text, model) | ||||
|                 print(output_text) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue