-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from SylphAI-Inc/li
Li
- Loading branch information
Showing
6 changed files
with
129 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ class Net(nn.Module): | |
x = self.dropout2(x) | ||
x = self.fc1(x) | ||
return self.fc2(x) | ||
``` | ||
|
||
**LightRAG** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,30 @@ | ||
LightRAG Class Hierarchy | ||
Class Hierarchy | ||
============================= | ||
From the plot of the `LightRAG` library's class hierarchy, we can see the library is well-centered around two base classes: `Component` and `DataClass`, and it has no more than two levels of subclasses. | ||
This design philosophy results in a library with bare minimum abstraction, providing developers with maximum customizability. | ||
|
||
.. raw:: html | ||
|
||
<iframe src="../_static/class_hierarchy.html" width="100%" height="750px"></iframe> | ||
<style> | ||
.iframe-container { | ||
width: 100%; | ||
height: 100vh; /* Full height of the viewport */ | ||
max-height: 1000px; /* Maximum height to ensure it doesn't get too tall on larger screens */ | ||
overflow: hidden; | ||
} | ||
.iframe-container iframe { | ||
width: 100%; | ||
height: 100%; | ||
border: none; | ||
} | ||
@media (max-width: 768px) { | ||
.iframe-container { | ||
height: 60vh; /* Adjust height for mobile viewports */ | ||
max-height: none; /* Remove the maximum height constraint for small screens */ | ||
} | ||
} | ||
</style> | ||
|
||
<div class="iframe-container"> | ||
<iframe src="../_static/class_hierarchy.html"></iframe> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters