blob: 6f538711d7d8e961d33d227ace35e78310175729 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# OraAI
Written by [hp_mzx](https://github.com/hpsj).
## Examples:
### Completion:
```python
chunk = oraai.Completion.create("who are you")
print(chunk)
```
### Chat Completion:
Support context
```python
obj = oraai.Completion()
whilt True:
prompt = input("Please enter a question:")
chunk = obj.create(prompt)
print(chunk)
print()
```
|