Home / Subdomain/ ExampleSelection — langchain Architecture

ExampleSelection — langchain Architecture

Logic for finding relevant examples for few-shot prompts.

Entity Profile

Dependency Diagram

graph TD
  subdomain_PromptManagement_ExampleSelection["ExampleSelection"]
  89dfa5a9_f5ba_bf83_738e_51891f55fb3f["__init__.py"]
  subdomain_PromptManagement_ExampleSelection --> 89dfa5a9_f5ba_bf83_738e_51891f55fb3f
  8834d865_0708_a233_a0db_9aa096d1cbf7["base.py"]
  subdomain_PromptManagement_ExampleSelection --> 8834d865_0708_a233_a0db_9aa096d1cbf7
  dbac6aa1_65e8_5213_7556_52383251bfe8["__init__.py"]
  subdomain_PromptManagement_ExampleSelection --> dbac6aa1_65e8_5213_7556_52383251bfe8
  948beb61_0a59_b5a6_60e4_d57473e17404["length_based.py"]
  subdomain_PromptManagement_ExampleSelection --> 948beb61_0a59_b5a6_60e4_d57473e17404
  33324901_b8f2_4f93_9580_5f5cecfd15b5["__init__.py"]
  subdomain_PromptManagement_ExampleSelection --> 33324901_b8f2_4f93_9580_5f5cecfd15b5
  593c0a14_f867_7cd3_9fea_9cdefbda6270["message.py"]
  subdomain_PromptManagement_ExampleSelection --> 593c0a14_f867_7cd3_9fea_9cdefbda6270
  173da1b5_3918_9794_592e_b4158a7a631c["prompt.py"]
  subdomain_PromptManagement_ExampleSelection --> 173da1b5_3918_9794_592e_b4158a7a631c
  d31ac8f6_f369_3202_2fdc_84c37eba4e57["dict.py"]
  subdomain_PromptManagement_ExampleSelection --> d31ac8f6_f369_3202_2fdc_84c37eba4e57
  968242b5_edb4_6604_0d16_e821da9180f5["loading.py"]
  subdomain_PromptManagement_ExampleSelection --> 968242b5_edb4_6604_0d16_e821da9180f5
  5b0211c9_fbcc_94a9_d100_7d26aec78d95["few_shot_with_templates.py"]
  subdomain_PromptManagement_ExampleSelection --> 5b0211c9_fbcc_94a9_d100_7d26aec78d95
  86a08c5c_a8e3_8f4d_a193_4d9c7166ae3a["few_shot.py"]
  subdomain_PromptManagement_ExampleSelection --> 86a08c5c_a8e3_8f4d_a193_4d9c7166ae3a
  7bca06c0_7ad1_b26c_4875_0c69faace0f6["structured.py"]
  subdomain_PromptManagement_ExampleSelection --> 7bca06c0_7ad1_b26c_4875_0c69faace0f6
  2ca85e9f_f5e1_1357_4cf1_19a0195adb90["__init__.py"]
  subdomain_PromptManagement_ExampleSelection --> 2ca85e9f_f5e1_1357_4cf1_19a0195adb90
  66049afc_0602_fbed_73fa_20a4904169e2["base.py"]
  subdomain_PromptManagement_ExampleSelection --> 66049afc_0602_fbed_73fa_20a4904169e2
  style subdomain_PromptManagement_ExampleSelection fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Functions

Frequently Asked Questions

What is the ExampleSelection subdomain?
ExampleSelection is a subdomain in the langchain codebase, part of the PromptManagement domain. Logic for finding relevant examples for few-shot prompts. It contains 18 source files.
Which domain does ExampleSelection belong to?
ExampleSelection belongs to the PromptManagement domain.
What functions are in ExampleSelection?
The ExampleSelection subdomain contains 157 function(s): OutputType, _HAS_JINJA2, __add__, __add__, __dir__, __dir__, __getattr__, __getattr__, and 149 more.

Analyze Your Own Codebase

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

Try Supermodel Free