Home / File/ few_shot_prompt_examples_in.json — langchain Source File

few_shot_prompt_examples_in.json — langchain Source File

Architecture documentation for few_shot_prompt_examples_in.json, a json file in the langchain codebase.

Entity Profile

Source Code

{
    "_type": "few_shot",
    "input_variables": ["adjective"],
    "prefix": "Write antonyms for the following words.",
    "example_prompt": {
        "_type": "prompt",
        "input_variables": ["input", "output"],
        "template": "Input: {input}\nOutput: {output}"
    },
    "examples": [
        {"input": "happy", "output": "sad"},
        {"input": "tall", "output": "short"}
    ],
    "suffix": "Input: {adjective}\nOutput:"
}   

Frequently Asked Questions

What does few_shot_prompt_examples_in.json do?
few_shot_prompt_examples_in.json is a source file in the langchain codebase, written in json.
Where is few_shot_prompt_examples_in.json in the architecture?
few_shot_prompt_examples_in.json is located at libs/core/tests/unit_tests/examples/few_shot_prompt_examples_in.json (directory: libs/core/tests/unit_tests/examples).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free