📚
Docs - Float16
homeapp
  • 🚀GETTING STARTED
    • Introduction
    • Account
      • Dashboard
      • Profile
      • Payment
      • Workspace
      • Service Quota
    • LLM as a service
      • Quick Start
        • Set the credentials
      • Supported Model
      • Limitation
      • API Reference
    • One Click Deploy
      • Quick Start
        • Instance Detail
        • Re-generate API Key
        • Terminate Instance
      • Features
        • OpenAI Compatible
        • Long context and Auto scheduler
        • Quantization
        • Context caching
      • Limitation
      • Validated model
      • Endpoint Specification
    • Serverless GPU
      • Quick Start
        • Mode
        • Task Status
        • App Features
          • Project Detail
      • Tutorials
        • Hello World
        • Install new library
        • Prepare model weight
        • S3 Copy output from remote
        • R2 Copy output from remote
        • Direct upload and download
        • Server mode
        • LLM Dynamic Batching
        • Train and Inference MNIST
        • Etc.
      • CLI References
      • ❓FAQ
    • Playground
      • FloatChat
      • FloatPrompt
      • Quantize by Float16
  • 📚Use Case
    • Q&A Bot (RAG)
    • Text-to-SQL
    • OpenAI with Rate Limit
    • OpenAI with Guardrail
    • Multiple Agents
    • Q&A Chatbots (RAG + Agents)
  • ✳️Journey
    • ✨The Beginner's LLM Development Journey
    • 📖Glossary
      • [English Version] LLM Glossary
      • [ภาษาไทย] LLM Glossary
    • 🧠How to install node
  • Prompting
    • 📚Variable
    • ⛓️Condition
    • 🔨Demonstration
    • ⌛Loop
    • 📙Formatting
    • 🐣Chat
    • 🔎Technical term (Retrieve)
  • Privacy Policy
  • Terms & Conditions
Powered by GitBook
On this page
  • Intro
  • How it work ?
  • Prompt example
  1. Prompting

Condition

Intro

LLM have the ability to make decisions and take action if the "target value" matches certain criteria.

The rules can be determined by numbers, strings, or real-world characteristics.

How it work ?

LLM can understand not only text but also have the ability to comprehend common sense. This is because LLM are trained on HUGE datasets that include common sense knowledge.

word list => [Hello, Sandwich, Food, Bob]
if word list is type of food change into Food.
---------------------------------------------------
<Email> Hello Nathan, 
How about you guy ? 
Hope you get well soon.
Best 
Bob.
<Email>

Remove name in <Email> and replace with placeholder.

We can prompt an LLM to make decisions and take action by setting criteria for the decision and defining the next action when the criteria are met.

A software developer could consider this ability like if-else ability to other programing languages.

Prompt example

PreviousVariableNextDemonstration

Last updated 9 months ago

⛓️
Basic Prompt Condition #3FloatPrompt
Replace some word and group
Logo
Basic Prompt Condition #2FloatPrompt
Replace some word into color
Logo
Basic Prompt Condition #5FloatPrompt
Remove name and replace with placeholder
Logo
Basic Prompt Condition #1FloatPrompt
Replace some word into anther word
Logo
Basic Prompt Condition #4FloatPrompt
Get some word with emotion condition
Logo