pub fn create_completion(account: &str, params: CompletionRequest) -> Vec<String>
Expand description

Create completion for the provided prompt and parameters.

account is the account name when you connect Flows.network platform with your OpenAI account.

params is a CompletionRequest object.

If you have not connected your OpenAI account with Flows.network platform, you will receive an error in the flow’s building log or running log.