---
title: "Obtain responsible prompt recommendations from a model running locally"
method: GET
path: "/recommend_local"
tags: ["recommend_local"]
---

# Obtain responsible prompt recommendations from a model running locally

`GET /recommend_local`

Given an input prompt with one or more sentences, returns up to five recommendations of sentences and its respective positive value representations to be added at the end of the input prompt, and up to five recommendations for removal of potentially harmful sentences in the given input prompt.

## Query parameters

- `prompt` string, required

## Headers

- `add_lower_threshold` string
- `add_upper_threshold` string
- `remove_lower_threshold` string
- `remove_upper_threshold` string
- `model_id` string, required
- `model_path` string, required

## Response `200`

successful recommendation

## Other responses

- `404` — invalid prompt

---

[API](https://skmtc.net/ibm/apis/responsible-prompt-recommendation-api.md) · [All operations](https://skmtc.net/ibm/apis/responsible-prompt-recommendation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ibm/responsible-prompt-recommendation-api/versions/289f88c3eca1/schema)
