Compare commits

..

No commits in common. "ccbaa4e247e070fc90323b1d4ba3d477d61147b0" and "7b3be882381b4ff61752738bef3216b31ecee6ab" have entirely different histories.

2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "nova-python" name = "nova-python"
version = "0.1.6" version = "0.1.5"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -2,7 +2,7 @@
🐍 Python library for accessing the Nova API 🐍 Python library for accessing the Nova API
## Usage ## ## Usage ##
Install the module Install the module (This requires <a href="https://rustup.rs/">Cargo</a>)
```sh ```sh
$ pip install nova-python $ pip install nova-python
``` ```
@ -87,6 +87,9 @@ content = reponse.get_message_content()
*Happy prompting!* *Happy prompting!*
<br><br> <br><br>
## FAQ ## ## FAQ ##
**Q:** I get an error when installing the package
**A:** Make you sure, that you have <a href="https://rustup.rs/">Cargo</a> installed
**Q**: I keep getting `RuntimeError: error sending request for url (https://api.nova-oss.com/v1/moderations): operation timed out` **Q**: I keep getting `RuntimeError: error sending request for url (https://api.nova-oss.com/v1/moderations): operation timed out`
**A**: Try passing a higher value than 30 as `seconds_until_timeout` to `make_request` **A**: Try passing a higher value than 30 as `seconds_until_timeout` to `make_request`