mirror of
https://github.com/NovaOSS/nova-python.git
synced 2024-11-25 18:23:59 +01:00
Compare commits
2 commits
7b3be88238
...
ccbaa4e247
Author | SHA1 | Date | |
---|---|---|---|
ccbaa4e247 | |||
d4ca0948d1 |
|
@ -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
|
||||||
|
|
|
@ -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`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue