World religions
Mutual Best Pairs
A Urantia paragraph and a passage where each is the other’s closest match in that text, under both text-embedding-3-large and text-embedding-3-small. These are the most stable links in the data. Ranked by similarity. Filter with corpus (a corpus name or bible).
Scores come from the nine world religions texts and the World English Bible. For each text, a paragraph’s best match becomes a percentile within that text, after an adjustment for paragraph length. The texts are not independent votes: a paragraph that sounds devotional tends to score well in all of them. These are measures of closeness in meaning by an embedding model, not claims about the teachings.
GET
/
scriptures
/
insights
/
pairs
Paragraphs and passages that are each other's best match
curl --request GET \
--url https://api.urantia.dev/scriptures/insights/pairsimport requests
url = "https://api.urantia.dev/scriptures/insights/pairs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.urantia.dev/scriptures/insights/pairs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.urantia.dev/scriptures/insights/pairs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.urantia.dev/scriptures/insights/pairs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.urantia.dev/scriptures/insights/pairs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/scriptures/insights/pairs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"paragraph": {
"id": "4:140.3.19",
"standardReferenceId": "140:3.19",
"paperId": "140",
"paperTitle": "The Ordination of the Twelve",
"sectionTitle": "The Ordination Sermon",
"text": "“I warn you against false prophets who will come to you in sheep’s clothing, while on the inside they are as ravening wolves. By their fruits you shall know them. Do men gather grapes from thorns or figs from thistles? Even so, every good tree brings forth good fruit, but the corrupt tree bears evil fruit. A good tree cannot yield evil fruit, neither can a corrupt tree produce good fruit. Every tree that does not bring forth good fruit is presently hewn down and cast into the fire. In gaining an entrance into the kingdom of heaven, it is the motive that counts. My Father looks into the hearts of men and judges by their inner longings and their sincere intentions."
},
"corpus": {
"id": "book-of-mormon-1830",
"slug": "book-of-mormon",
"religion": "Latter Day Saint",
"title": "The Book of Mormon",
"translator": "Joseph Smith",
"year": 1830,
"refPrefix": "BoM",
"urantiaSection": null
},
"passage": {
"chunkId": "book-of-mormon-1830:3 Nephi 14:15",
"reference": "3 Nephi 14:15-18",
"text": "Beware of false prophets, who come to you in sheep’s clothing, but inwardly they are ravening wolves. Ye shall know them by their fruits. Do men gather grapes of thorns, or figs of thistles? Even so every good tree bringeth forth good fruit; but a corrupt tree bringeth forth evil fruit. A good tree cannot bring forth evil fruit, neither a corrupt tree bring forth good fruit."
},
"similarity": 0.892641,
"similaritySmall": 0.879757
},
{
"paragraph": {
"id": "4:140.3.13",
"standardReferenceId": "140:3.13",
"paperId": "140",
"paperTitle": "The Ordination of the Twelve",
"sectionTitle": "The Ordination Sermon",
"text": "“You are the light of the world. A city set upon a hill cannot be hid. Neither do men light a candle and put it under a bushel, but on a candlestick; and it gives light to all who are in the house. Let your light so shine before men that they may see your good works and be led to glorify your Father who is in heaven."
},
"corpus": {
"id": "book-of-mormon-1830",
"slug": "book-of-mormon",
"religion": "Latter Day Saint",
"title": "The Book of Mormon",
"translator": "Joseph Smith",
"year": 1830,
"refPrefix": "BoM",
"urantiaSection": null
},
"passage": {
"chunkId": "book-of-mormon-1830:3 Nephi 12:14",
"reference": "3 Nephi 12:14-16",
"text": "Verily, verily, I say unto you, I give unto you to be the light of this people. A city that is set on a hill cannot be hid. Behold, do men light a candle and put it under a bushel? Nay, but on a candlestick, and it giveth light to all that are in the house; Therefore let your light so shine before this people, that they may see your good works and glorify your Father who is in heaven."
},
"similarity": 0.82846,
"similaritySmall": 0.873989
}
],
"meta": {
"page": 0,
"limit": 2,
"total": 336,
"totalPages": 168
}
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}Query Parameters
⌘I
Paragraphs and passages that are each other's best match
curl --request GET \
--url https://api.urantia.dev/scriptures/insights/pairsimport requests
url = "https://api.urantia.dev/scriptures/insights/pairs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.urantia.dev/scriptures/insights/pairs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.urantia.dev/scriptures/insights/pairs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.urantia.dev/scriptures/insights/pairs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.urantia.dev/scriptures/insights/pairs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/scriptures/insights/pairs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"paragraph": {
"id": "4:140.3.19",
"standardReferenceId": "140:3.19",
"paperId": "140",
"paperTitle": "The Ordination of the Twelve",
"sectionTitle": "The Ordination Sermon",
"text": "“I warn you against false prophets who will come to you in sheep’s clothing, while on the inside they are as ravening wolves. By their fruits you shall know them. Do men gather grapes from thorns or figs from thistles? Even so, every good tree brings forth good fruit, but the corrupt tree bears evil fruit. A good tree cannot yield evil fruit, neither can a corrupt tree produce good fruit. Every tree that does not bring forth good fruit is presently hewn down and cast into the fire. In gaining an entrance into the kingdom of heaven, it is the motive that counts. My Father looks into the hearts of men and judges by their inner longings and their sincere intentions."
},
"corpus": {
"id": "book-of-mormon-1830",
"slug": "book-of-mormon",
"religion": "Latter Day Saint",
"title": "The Book of Mormon",
"translator": "Joseph Smith",
"year": 1830,
"refPrefix": "BoM",
"urantiaSection": null
},
"passage": {
"chunkId": "book-of-mormon-1830:3 Nephi 14:15",
"reference": "3 Nephi 14:15-18",
"text": "Beware of false prophets, who come to you in sheep’s clothing, but inwardly they are ravening wolves. Ye shall know them by their fruits. Do men gather grapes of thorns, or figs of thistles? Even so every good tree bringeth forth good fruit; but a corrupt tree bringeth forth evil fruit. A good tree cannot bring forth evil fruit, neither a corrupt tree bring forth good fruit."
},
"similarity": 0.892641,
"similaritySmall": 0.879757
},
{
"paragraph": {
"id": "4:140.3.13",
"standardReferenceId": "140:3.13",
"paperId": "140",
"paperTitle": "The Ordination of the Twelve",
"sectionTitle": "The Ordination Sermon",
"text": "“You are the light of the world. A city set upon a hill cannot be hid. Neither do men light a candle and put it under a bushel, but on a candlestick; and it gives light to all who are in the house. Let your light so shine before men that they may see your good works and be led to glorify your Father who is in heaven."
},
"corpus": {
"id": "book-of-mormon-1830",
"slug": "book-of-mormon",
"religion": "Latter Day Saint",
"title": "The Book of Mormon",
"translator": "Joseph Smith",
"year": 1830,
"refPrefix": "BoM",
"urantiaSection": null
},
"passage": {
"chunkId": "book-of-mormon-1830:3 Nephi 12:14",
"reference": "3 Nephi 12:14-16",
"text": "Verily, verily, I say unto you, I give unto you to be the light of this people. A city that is set on a hill cannot be hid. Behold, do men light a candle and put it under a bushel? Nay, but on a candlestick, and it giveth light to all that are in the house; Therefore let your light so shine before this people, that they may see your good works and glorify your Father who is in heaven."
},
"similarity": 0.82846,
"similaritySmall": 0.873989
}
],
"meta": {
"page": 0,
"limit": 2,
"total": 336,
"totalPages": 168
}
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}
