返回提交历史
Added
openaihosted/readme.md
+10
-0
XFEstudio/gpt4free
Created readme for openaihosted
7c5398e6
代码差异
1 个文件
+10
-0
@@ -0,0 +1,10 @@
1
### Example: `openaihosted`) <a name="example-openaihosted"></a>
2
3
4
```python
5
# import library
6
import openaihosted
7
8
res = openaihosted.Completion.create(systemprompt="U are ChatGPT", text="What is 4+4", assistantprompt="U are a helpful assistant.")['response']
9
print(res) ## Responds with the answer
10
```