OpenAI Command Guide
Learn how to use the OpenAI slash command to interact with OpenAI’s models
Why Use OpenAI?
The /openai
command gives you access to OpenAI’s models. Perfect for:
- Natural language processing
- Content generation
- Data analysis
- Problem-solving
- Creative writing
- Tool selection
Basic Usage
Simply use the command followed by your query:
You can also provide multiple documents:
Or no documents at all:
Model Selection
You can specify which OpenAI model you want to use:
See most recent open AI documentation for available models. See: https://platform.openai.com/docs/models
Tool Selection (advanced)
Most LLMs support the concept of tools - which is a way to prepare an API call to external functions. We support this in the /openai
command. It can be handy espcially when calling external APIs or when you want to call an automation that you’ve put behind a Pinkfish API endpoint.
See: https://platform.openai.com/docs/guides/function-calling
Sample response:
Tool Choice Options
You can control how tools are used with tool_choices
: