Skip to content

Commit

Permalink
UI Changes for nested structure in tailor options screen
Browse files Browse the repository at this point in the history
  • Loading branch information
aravind10x committed Aug 5, 2024
1 parent 0c62db6 commit 9a63cbf
Show file tree
Hide file tree
Showing 7 changed files with 943 additions and 102 deletions.
2 changes: 1 addition & 1 deletion src/ragbuilder/ragbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class ProjectData(BaseModel):
compareTemplates: bool
includeNonTemplated: bool
chunkingStrategy: dict[str, bool]
chunkSize: dict[str, str]
chunkSize: dict[str, int]
embeddingModel: dict[str, bool]
huggingfaceEmbeddingModel: str
vectorDB: str
Expand Down
203 changes: 141 additions & 62 deletions src/ragbuilder/static/main.js

Large diffs are not rendered by default.

Binary file added src/ragbuilder/static/ragbuilder_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/ragbuilder/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ <h1 class="display-6">RagBuilder: Performance Dashboard</h1>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/colResizable-1.6.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/15.8.1/nouislider.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.2/mdb.min.js"></script>
<script src="{{ url_for('static', path='main.js') }}"></script>
<!-- Script to show RAG Config as a exandable/ collapsable text. -->
<!-- <script>
Expand Down
394 changes: 355 additions & 39 deletions src/ragbuilder/templates/layouts.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/ragbuilder/templates/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ <h1 class="modal-title fs-5" id="codeSnippetModalLabel">Code Snippet</h1>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/colResizable-1.6.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/components/prism-python.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/15.8.1/nouislider.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.2/mdb.min.js"></script>
<script src="{{ url_for('static', path='main.js') }}"></script>
<!-- Script to show RAG Config as a exandable/ collapsable text. -->
<script>
Expand Down
441 changes: 441 additions & 0 deletions src/ragbuilder/templates/test_new_layout.html

Large diffs are not rendered by default.

0 comments on commit 9a63cbf

Please sign in to comment.