summaryrefslogtreecommitdiffstats
path: root/openaihosted/readme.md
blob: acd60bab8449358ea0df965b6a7b5293ea60d80e (plain) (blame)
1
2
3
4
5
6
7
8
9
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
```