---
title: "Discussion on \"Forcing a valid answer\" | Hashnode"
description: "Discussion on \"Forcing a valid answer\". Grammars, one-letter choices, and an LLM that can only answer with a label from your list"
url: "https://hashnode.com/posts/forcing-a-valid-answer/6ad5554c1b96e44cbc96cd2d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Forcing a valid answer](https://liminma.hashnode.dev/forcing-a-valid-answer?utm_source=hashnode&utm_medium=feed)

Grammars, one-letter choices, and an LLM that can only answer with a label from your list

Oct 18 · 14 min read · liminma.hashnode.dev  
Updated Oct 24  
Read the article

-   [#llm](https://hashnode.com/tag/llm)
-   [#python](https://hashnode.com/tag/python)
-   [#llama-cpp](https://hashnode.com/tag/llama-cpp)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)

## Written by

[Limin Ma](https://hashnode.com/@liminma)

@liminma · Toronto, Canada

  
[View profile](https://hashnode.com/@liminma)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
