@sjcrh/proteinpaint-rust 2.149.0 → 2.152.1-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +1 -1
- package/README.md +5 -0
- package/package.json +1 -1
- package/src/DEanalysis.rs +110 -311
- package/src/aichatbot.rs +770 -136
- package/src/ollama.rs +1108 -0
- package/src/sjprovider.rs +52 -11
- package/src/test_ai.rs +168 -0
package/Cargo.toml
CHANGED
package/README.md
CHANGED
|
@@ -64,6 +64,11 @@ For running the tests written in native rust, from the `proteinpaint/rust` direc
|
|
|
64
64
|
cargo test
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
+
For running AI tests using cargo, they need to be run locally since CI does not have access to the LLM server. These tests are "ignored" in CI and need the `ignored` flag to be run. These tests must be run from the `proteinpaint/rust` directory. 3 tests wil be run using the command below. One each to see if the SJ and ollama server are accessible and the third one is unit test for the actual ai chatbot.
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
time cargo test -- --ignored --nocapture
|
|
71
|
+
```
|
|
67
72
|
|
|
68
73
|
## Build
|
|
69
74
|
|
package/package.json
CHANGED