File size: 402 Bytes
9e9c793
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from privateai_client import PAIClient
from privateai_client import request_objects
                    
client = PAIClient(url="https://api.private-ai.com/community", api_key="47e2c6f28a0b42429e3e9dd248236d9c")
text_request = request_objects.process_text_obj(text=["How are u "])
response = client.process_text(text_request)
                    
print(text_request.text)
print(response.processed_text)