-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* - updated go modules - improved docker file - improved ui styling - added sqlite persistence with ent - added dbimporter tool to import records - regenreated ui api - fixed mailtransformer - removed obsolete data file - used different dockerfile as go baseimage, enabled CGO - added import to reveal app
- Loading branch information
Showing
601 changed files
with
556,700 additions
and
65,626 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
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,10 @@ | ||
# reval | ||
|
||
## Get started quickly: | ||
|
||
1. checkout repository | ||
2. create folder _tmp_ | ||
3. place files _Llama-2-13b-chat-hf_responses.json_ and _vicuna-33b-v1.3_responses.json_ into _tmp_ folder | ||
4. rename the files to _import_Llama-2-13b-chat-hf_responses.json_ and _import_vicuna-33b-v1.3_responses.json_ | ||
5. run ```docker compose up``` | ||
6. open http://localhost:8080 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package main | ||
|
||
import ( | ||
"github.com/rherlt/reval/internal/config" | ||
"github.com/rherlt/reval/internal/data" | ||
"github.com/rherlt/reval/internal/persistence" | ||
) | ||
|
||
func main() { | ||
|
||
config.Configure() | ||
persistence.SetupDb() | ||
data.ImportData() | ||
persistence.CloseClient() | ||
} |
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
File renamed without changes.
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,9 +1,11 @@ | ||
# default configuration for debugging reval | ||
DATAPATH=../../data/reval-transformed.json | ||
# Gin Webserver Settings | ||
GIN_CORS_ALLOWALLORIGINS=true | ||
GIN_CORS_ADDITIONALALLOWEDHEADERS=Authorization | ||
GIN_WEB_PATH=../../ui/reval-web/dist/reval-web/ | ||
GIN_WEBSERVERADDRESS=:8080 | ||
GIN_API_BASEURL=/api/ | ||
GIN_WEB_BASEURL=/ui/ | ||
GIN_WEB_BASEURL=/ui/ | ||
DB_TYPE=sqlite | ||
DB_SQLITE_CONNECTION=file:../../tmp/reval.db?cache=shared&_fk=1 | ||
DATA_IMPORT_GLOB=../../tmp/import_*.json |
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,6 @@ | ||
package: evaluationapi | ||
generate: | ||
gin-server: true | ||
embedded-spec: true | ||
models: true | ||
output: internal/api/evaluationapi/server.gen.go |
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,9 +1,11 @@ | ||
# default configuration for debugging reval | ||
DATAPATH=./data/reval-transformed.json | ||
# Gin Webserver Settings | ||
GIN_CORS_ALLOWALLORIGINS=true | ||
GIN_CORS_ADDITIONALALLOWEDHEADERS=Authorization | ||
GIN_WEB_PATH=./www/ | ||
GIN_WEBSERVERADDRESS=:8080 | ||
GIN_API_BASEURL=/api/ | ||
GIN_WEB_BASEURL=/ui/ | ||
DB_TYPE=sqlite | ||
DB_SQLITE_CONNECTION=file:./data/reval.db?cache=shared&_fk=1 | ||
DATA_IMPORT_GLOB=./data/import_*.json |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.