Ask ChatGPT with your OpenAI account

Send a conversation (with the tools it may call) to a ChatGPT model on the person's own OpenAI account and get its next message back

Uses the person's connected OpenAI account (connect it with tool:connect-service-openai). The conversation is in the chat-completions shape: messages [{ role, content, tool_calls?, tool_call_id? }] and optional tools [{ type: "function", function: { name, description, parameters } }]. Returns the model's reply as the service gives it (choices[0].message).

What it asks for

  • model (Needed, words): The ChatGPT model to ask, as OpenAI names it
  • messages (Needed, list): The conversation so far
  • tools (Optional, list): Tools the model may call, as functions
  • max_tokens (Optional, number): The longest reply, in tokens

Use it from your AI

Connect the AI you already use to Trillion once. Then ask in your own words; your AI finds this tool by what it does and runs it.

Say to your AI: “Use Trillion to send a conversation (with the tools it may call) to a ChatGPT model on the person's own OpenAI account and get its next message back”

What your AI calls: run_tool {"tool_id":"tool:ask-openai-chat"}