Skip to main content

Framework Examples

See the Fair Witness Framework in action with practical examples

These examples demonstrate how the Function-Epistemic Hybrid Framework transforms LLM outputs across different domains. Each example shows the same prompt with and without the framework applied.

Technical Documentation Example

Prompt

"Explain the difference between REST and GraphQL APIs."

Standard Response

REST and GraphQL are two popular API architectures with different approaches to data fetching.

REST APIs are the traditional approach, where you access resources through predefined endpoints. Each endpoint returns a fixed data structure. REST is simple, widely used, and cacheable, but it often leads to over-fetching or under-fetching of data.

GraphQL is a newer approach developed by Facebook. It's a query language that allows clients to request exactly the data they need. GraphQL uses a single endpoint where clients can specify the exact shape and structure of the response data. This eliminates over-fetching and under-fetching issues.

REST is simpler to implement for basic APIs, while GraphQL is better for complex applications with varying data requirements. The best choice depends on your specific project needs.

Fair Witness Response

Observer Function:

REST and GraphQL represent two different architectural approaches to API design. REST emerged around 2000, while Facebook developed GraphQL in 2015 and open-sourced it in 2018.

Analyst Function:

REST architecture organizes data access around resources with multiple endpoints, each returning complete data structures. GraphQL provides a query language with a single endpoint where clients specify exactly what data they need. This creates fundamental differences in data fetching patterns and implementation requirements.

Evaluator Function:

When evaluated against common API metrics:
- HTTP caching: REST offers stronger native support
- Network efficiency: GraphQL typically reduces over-fetching
- Implementation complexity: REST requires less initial setup
- Query flexibility: GraphQL provides more client-side control

Communicator Function:

This comparison does not identify one approach as universally superior. The appropriate choice depends on specific project requirements including data complexity, client needs, and team expertise.

Business Analysis Example

Prompt

"How will AI affect the future of work?"

Standard Response

AI will completely transform the future of work in the coming years. Many jobs will be automated, especially routine tasks that can be easily programmed. This will lead to job displacement in certain sectors, but will also create new opportunities in emerging fields.

Knowledge workers will need to adapt by developing skills that complement AI, such as creative thinking, emotional intelligence, and complex problem-solving. The workforce will need to be more adaptable and commit to lifelong learning.

AI will boost productivity dramatically, allowing companies to accomplish more with fewer human resources. This will change organizational structures and create new business models.

The key to success in the AI era will be embracing these changes rather than resisting them. Workers who can collaborate effectively with AI will thrive, while those who can't adapt may struggle to remain relevant in the changing job market.

Fair Witness Response

Observer Function:

Current AI technologies demonstrate capabilities in pattern recognition, language processing, and some types of decision making. Recent studies from McKinsey (2023) and MIT (2022) provide conflicting estimates on job displacement, ranging from 15% to 40% of tasks facing automation potential across various industries by 2030.

Analyst Function:

Historical technological transitions suggest three primary patterns:
1. Task automation rather than complete job elimination
2. Creation of new job categories alongside displacement
3. Shifts in skill valuation across labor markets

Synthesist Function:

Multiple perspectives warrant consideration:
- Economic optimists point to productivity gains and new job creation
- Labor advocates highlight potential workforce disruption without policy safeguards
- Industry analysts note sector-specific impacts varying by task composition
- Educational experts emphasize adaptation through continuous learning

Communicator Function:

AI will likely transform work through automation of predictable tasks, augmentation of human capabilities, and creation of new roles. The distribution of these effects appears uneven across industries, regions, and skill levels. Adapting to these changes may require both individual skill development and systemic policy responses.

Research Question Example

Prompt

"What causes climate change and what should we do about it?"

Standard Response

Climate change is primarily caused by human activities that increase greenhouse gas concentrations in Earth's atmosphere. The main contributors are burning fossil fuels (coal, oil, and natural gas), deforestation, and industrial processes that release carbon dioxide, methane, and other greenhouse gases.

These gases trap heat in the atmosphere, causing global temperatures to rise. This leads to various consequences including sea level rise, more frequent extreme weather events, ecosystem disruption, and threats to food security.

To address climate change, we must transition to renewable energy sources like solar, wind, and hydropower. We need to improve energy efficiency, reduce deforestation, and adopt sustainable agriculture practices. Governments should implement carbon pricing, regulations, and incentives for clean technology.

Individuals can help by reducing their carbon footprint through lifestyle changes like using public transportation, eating less meat, and conserving energy at home. It's crucial that we act quickly to mitigate the worst effects of climate change.

Fair Witness Response

Observer Function:

According to the IPCC Sixth Assessment Report (2021), human activities have increased atmospheric greenhouse gas concentrations to levels unprecedented in at least 800,000 years. Global temperature has risen approximately 1.1°C above pre-industrial levels. The report attributes this warming to human activities with >95% confidence.

Analyst Function:

Primary greenhouse gas sources include:
- Energy production (34% of emissions)
- Industry (24%)
- Agriculture, forestry and land use (22%)
- Transportation (14%)
- Buildings (6%)

Evaluator Function:

Proposed mitigation approaches vary in:
- Implementation timeline: immediate to long-term
- Economic impacts: ranging from disruptive to stimulative
- Technical readiness: commercially available to experimental
- Political feasibility: widely accepted to controversial

Synthesist Function:

The question "what should we do" involves value judgments and tradeoffs. Multiple perspectives include:
- Rapid decarbonization advocates emphasize existential risk
- Economic transition proponents focus on managed change
- Technology optimists prioritize innovation over restriction
- Environmental justice advocates highlight equitable burden-sharing
- Policy pragmatists emphasize politically feasible incremental steps

Communicator Function:

The scientific consensus identifies human greenhouse gas emissions as the primary driver of current climate change. Response options include emissions reduction, technological innovation, adaptation measures, and policy frameworks. The question of "what should we do" ultimately involves weighing scientific data alongside economic, ethical, and political considerations.

Ready to Implement?

Start using the Fair Witness Framework in your own applications