-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add code for experiments (#93)
* docs: Add code for experiments These use RAGAS to measure various retrieval configurations on the history of alexnet dataset. * ruff
- Loading branch information
1 parent
bdbc989
commit e641bd8
Showing
7 changed files
with
2,933 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
__pycache__ | ||
.env | ||
.vscode/ | ||
/dewy-client/dist | ||
/dewy-client/dist.venv |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.env | ||
*.sqlite |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Experiments | ||
|
||
## RAG Configuration | ||
|
||
This experiment plays with some of the standard configuration options available in LangChain. | ||
It runs a variety of extraction, splitting, and retrieval configurations on the AlexNet PDF and Q/A set. | ||
|
||
To execute: | ||
|
||
```sh | ||
python rag_configuration.py run # --help to see options for filtering configurations | ||
|
||
python rag_configuration.py clear # to clear Tru DB | ||
python rag_configuration.py dashboard # to display dashboard | ||
python rag_configuration.py sreve # to serve the browser dashboard | ||
``` |
Empty file.
2,404 changes: 2,404 additions & 0 deletions
2,404
experiments/datasets/history_of_alexnet/rag_dataset.json
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+2.81 MB
experiments/datasets/history_of_alexnet/source_documents/HistoryOfAlexnet.pdf
Binary file not shown.
Oops, something went wrong.