mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-17 10:29:29 -04:00
Created readme for openaihosted
This commit is contained in:
parent
ac92b8a2ad
commit
7c5398e6e1
10
openaihosted/readme.md
Normal file
10
openaihosted/readme.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
### Example: `openaihosted`) <a name="example-openaihosted"></a>
|
||||||
|
|
||||||
|
|
||||||
|
```python
|
||||||
|
# import library
|
||||||
|
import openaihosted
|
||||||
|
|
||||||
|
res = openaihosted.Completion.create(systemprompt="U are ChatGPT", text="What is 4+4", assistantprompt="U are a helpful assistant.")['response']
|
||||||
|
print(res) ## Responds with the answer
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user