Compare commits

..

2 commits

Author SHA1 Message Date
henceiusegentoo ccbaa4e247 Updated Readme 2023-08-08 12:36:59 +02:00
henceiusegentoo d4ca0948d1 Updated cargo.toml 2023-08-08 12:35:49 +02:00
2 changed files with 2 additions and 5 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "nova-python" name = "nova-python"
version = "0.1.5" version = "0.1.6"
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 (This requires <a href="https://rustup.rs/">Cargo</a>) Install the module
```sh ```sh
$ pip install nova-python $ pip install nova-python
``` ```
@ -87,9 +87,6 @@ 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`