Skip to content
Ontology docs

Documentation generated from LinkML

Class: chain_of_code_prompting

Technique that enhances reasoning in language models by combining code generation with a "LMulator" that simulates code execution for complex tasks, enabling models to solve both algorithmic and semantic problems.

  • Title: Chain-of-Code prompting
  • Canonical name: ChainOfCodePrompting
  • Names in code: ChainOfCodePrompting (Scala, TypeScript, Python, Java, GraphQL)
  • URI: peo:chain_of_code_prompting (https://w3id.org/peo#chain_of_code_prompting)
  • Parent: code_prompting

Inheritance

Slots

Name Range Cardinality Description Inherited from
is_used_in_prompt prompt 0..* Relation between a prompt and a prompting technique, where the prompt is generated using that prompting technique prompting_technique
solves task 0..* Relation between a prompting technique and a task, where the technique solves that task. prompting_technique