You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-5Lines changed: 22 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,33 @@ LLMs are powerful, but their output is as good as the input you provide. LLMWhis
9
9
10
10
Refer to the client documentation for more information: [LLMWhisperer Client Documentation](https://docs.unstract.com/llmwhisperer/llm_whisperer/python_client/llm_whisperer_python_client_intro/)
11
11
12
-
## A note on versions
12
+
## Client
13
13
14
-
There are two versions of the client library available in this package:
14
+
This package provides **LLMWhispererClientV2**, the client for LLMWhisperer API v2. It is required for all users on API version 2.0.0 and above.
15
15
16
-
**LLMWhispererClient**: This is the legacy version of the client library and is recommended for supporting older apps only. This version will be deprecated in the future.
16
+
Documentation is available [here](https://docs.unstract.com/llmwhisperer/).
17
17
18
-
**LLMWhispererClientV2**: This is the latest version of the client library and is recommended for all new users. It is mandatory for all users who are using LLMWhisperer API version 2.0.0 and above (All customers who have signed up after 5th November 2024).
18
+
## Running Tests
19
19
20
-
Documentation for both versions are available [here](https://docs.unstract.com/llmwhisperer/)
20
+
Install test dependencies and run all tests:
21
21
22
+
```bash
23
+
uv run --group test pytest
24
+
```
25
+
26
+
To run only unit tests (skipping integration tests):
27
+
28
+
```bash
29
+
uv run --group test pytest tests/unit tests/utils_test.py
30
+
```
31
+
32
+
To run only integration tests:
33
+
34
+
```bash
35
+
uv run --group test pytest tests/integration
36
+
```
37
+
38
+
Integration tests require a valid API key. Copy `sample.env` to `.env` and fill in your credentials before running them.
0 commit comments