Spiral gives your agent every tool with one account. Browse the tools →

dots · LLMReleased 2024-07-13

How to Use Gemma 2 27B Instruct in dots

Gemma 2 27B Instruct is for English summaries, questions about supplied text, and response drafts. It uses 27 billion parameters, compared with Gemma 2 9B Instruct's 9 billion, while retaining an 8,192-token context.

Prompts to try with Gemma 2 27B Instruct in dots

Copy an example into dots, or ask in your own words.

Every morning, use Gemma 2 27B Instruct to summarize the customer conversations supplied for this run. Process one short conversation at a time, then produce a brief under 300 words covering complaints, requested actions, and unresolved questions.

Gemma 2 27B Instructdots
Try asking
  • Each weekday, use Gemma 2 27B Instruct to assess the sentiment of each supplied customer conversation. Label it positive, neutral, negative, or mixed, include one supporting passage, and flag ambiguous cases for review.

  • On each run, use Gemma 2 27B Instruct to draft replies for the supplied unresolved conversations using the approved guidance included with them. Keep each draft under 120 words and flag requests the guidance does not cover.

  • Every Friday, use Gemma 2 27B Instruct to summarize the supplied meeting transcripts one at a time. Return decisions, assigned actions, and unanswered questions, without inventing owners or deadlines.

  • Each evening, use Gemma 2 27B Instruct to summarize the supplied policy change excerpts. Keep each summary under 200 words, include supporting wording, and identify practical questions the excerpts leave unanswered.

How to set up Gemma 2 27B Instruct in dots

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send dots this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for your dot. Copy it.

  2. Send your dot this message

    Your dot reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give your dot the key

    When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Gemma 2 27B Instruct

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "google/gemma-2-27b-it",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: dots finds Gemma 2 27B Instruct on Spiral, shows the price and runs it.

Gemma 2 27B Instruct providers and prices

Spiral runs Gemma 2 27B Instruct through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Google: Gemma 2 27B
google/gemma-2-27b-it

Settings you can ask for

Ask dots for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top p0 to 1
Max tokens1 to 2048

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Google: Gemma 2 27B is on its tool page: open its card above.

What can you do with Gemma 2 27B Instruct in dots?

Produce recurring conversation summaries, sentiment reviews, and reply drafts from the text supplied on each run. Keep Gemma 2's tasks small and include supporting passages for conclusions that need review.

Report summaries

Ask Gemma 2 to condense a report excerpt into findings, supporting evidence, and open questions. Request a short passage supporting each finding.

Questions about policies

Give Gemma 2 the relevant policy passages and ask it to answer a specific employee or customer question. Require it to identify anything the passages leave unresolved.

Customer reply drafts

Provide Gemma 2 with a customer conversation and approved guidance. Ask for a concise reply that addresses the complaint without inventing promises.

Conversation sentiment review

Ask Gemma 2 to label the sentiment of each short conversation and quote the wording behind its assessment. Keep ambiguous cases visible for review.

Project change summaries

Have Gemma 2 summarize selected diffs and related documentation into a review brief. Ask it to distinguish changes shown in the text from questions that need testing.

Meeting recaps

Give Gemma 2 a short meeting transcript and request decisions, assigned actions, and unresolved questions. Tell it to leave owners and deadlines unspecified when the transcript does.

Questions about Gemma 2 27B Instruct in dots

Can dots use Gemma 2 27B Instruct?

Yes. Add Spiral to dots as an MCP server, and dots can find and run Gemma 2 27B Instruct like any built-in tool.

How much does Gemma 2 27B Instruct cost in dots?

Up to $0.001761 per run at the default inputs. $0.845 per 1M input tokens, $0.845 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.

Do I need an OpenRouter account to use Gemma 2 27B Instruct in dots?

You need no OpenRouter account. dots uses one Spiral API key for every tool, and Spiral runs Gemma 2 27B Instruct on its own OpenRouter account.

How long does it take to set up Gemma 2 27B Instruct in dots?

About two minutes: create an API key, then send your dot this message, then give your dot the key.

Does dots wait while Gemma 2 27B Instruct runs?

Gemma 2 27B Instruct runs in the background. dots starts the run, checks on it and gives you the text, json when it's ready.

What is Gemma 2 useful for?

Use Gemma 2 for English summaries, questions about supplied text, and reasoning over short excerpts. Google also demonstrates conversation sentiment analysis and reply drafting.

How much text can Gemma 2 work with?

Gemma 2 has an 8,192-token context. Keep instructions and source excerpts compact, leave room for the response, and split longer material into separate tasks.

Can Gemma 2 understand images or audio?

Gemma 2 is text-to-text. For questions about a recording or screenshot, supply a transcript or text description.

Which languages should I use with Gemma 2?

Start with English. Google says Gemma 2 was not trained specifically for leading multilingual performance, so test other languages on examples from your actual task.

Can I trust Gemma 2's factual answers?

Gemma 2 can generate incorrect or outdated statements. For factual work, provide the relevant source text, request supporting passages, and check the answer against them.

Get started

Start using Gemma 2 27B Instruct in dots

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into dots:

Set up dots

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options