CallGeneralAI
Description
//example of a thread
[
{'role':'system', 'content': "You are a funny joking assistant."},
{'role':'user', 'content':'tell me a joke'},
{'role':'assistant', 'content':'why did the chicken cross the road'},
{'role':'user', 'content':'I dont know, why did the chicken cross the road'}
]Syntax
CallGeneralAI(messagesArray, temperature)Argument
Description
Returns
Number // callIdExample Implementation
Last updated