• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
QUIZ

QUIZ

OrthoAI

Public
Like
OrthoAI
Home
Code
3
README.md
H
orthodoxy-ai-interface.ts
H
orthodoxy-ai.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/17/2025
Viewing readonly version of main branch: v6
View latest version
README.md

Orthodoxy AI

This is an AI designed to advocate for orthodox viewpoints. It responds to user messages with arguments supporting traditional/conventional beliefs across various domains.

How It Works

The AI takes a user's message as input and responds with arguments supporting orthodox positions related to the topic detected in the message. It has specialized responses for topics like:

  • Religion and faith
  • Traditions and customs
  • Family and marriage
  • Society and community
  • Morality and ethics

For topics that don't fit these categories, it provides generic orthodox viewpoints.

Web Interface

A simple web interface is available to interact with the Orthodoxy AI:

  • Access the interface at: /orthodoxy-ai-interface
  • Type your message in the input field and click "Send"
  • The AI will respond with an orthodox perspective on your topic

Usage

This is implemented as an HTTP endpoint that accepts POST requests with a JSON body containing a message field:

POST /orthodoxy-ai

{
  "message": "What do you think about modern changes to family structure?"
}

The response will be a JSON object with a response field containing the AI's argument for an orthodox viewpoint:

{
  "response": "The traditional family structure has been the foundation of stable societies throughout human history. It provides the optimal environment for raising children."
}

Technical Details

  • The AI uses simple keyword matching to identify topics in the user's message
  • For each topic category, it has a set of pre-written orthodox responses
  • It randomly selects one response from the appropriate category
  • The implementation includes CORS headers to allow cross-origin requests

Limitations

This is a simple implementation that doesn't use actual AI or natural language processing. It relies on keyword matching and pre-written responses rather than generating unique content for each query.

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.