mirror of
https://github.com/NovaOSS/nova-python.git
synced 2024-11-25 22:13:58 +01:00
Compare commits
No commits in common. "ccbaa4e247e070fc90323b1d4ba3d477d61147b0" and "7b3be882381b4ff61752738bef3216b31ecee6ab" have entirely different histories.
ccbaa4e247
...
7b3be88238
|
@ -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
|
||||||
|
|
|
@ -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`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue