Usages
Installation
For python
using pip
in cmd
:
pip install gougleai
Models
Model Name |
Model ID |
Model Type |
---|---|---|
GLT-1 |
|
Chat Completion and Text Completion |
GLT-1.0.5 Beta |
|
Chat Completion and Text Completion |
GIC-1 |
|
Image Generation |
GIC-1.0.5 Beta |
|
Image Generation |
Example
import gougleai
gougleai.apiKey = "YOUR_API_KEY_HERE"
while True:
userInput = input("User: ")
response = gougleai.complete(model=gougleai.models.glt.glt1, prompt=userInput, maxTokenNumber=100)
print("GLT-1: " + response.choices[0])