Created readme for openaihosted
This commit is contained in:
parent
ac92b8a2ad
commit
7c5398e6e1
1 changed files with 10 additions and 0 deletions
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 a new issue