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.
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:121.4.4",
"standardReferenceId": "121:4.4",
"paperId": "121",
"paperTitle": "The Times of Michael’s Bestowal",
"sectionTitle": "Gentile Philosophy",
"text": "3. The Cynic. Although the Cynics traced their philosophy to Diogenes of Athens, they derived much of their doctrine from the remnants of the teachings of Machiventa Melchizedek. Cynicism had formerly been more of a religion than a philosophy. At least the Cynics made their religio-philosophy democratic. In the fields and in the market places they continually preached their doctrine that “man could save himself if he would.” They preached simplicity and virtue and urged men to meet death fearlessly. These wandering Cynic preachers did much to prepare the spiritually hungry populace for the later Christian missionaries. Their plan of popular preaching was much after the pattern, and in accordance with the style, of Paul’s Epistles."
},
"corpus": {
"id": "diogenes-laertius-6-hicks-1925",
"slug": "diogenes-laertius-6",
"religion": "Cynicism",
"title": "Lives of Eminent Philosophers, Book 6: The Cynics",
"translator": "R. D. Hicks",
"year": 1925,
"refPrefix": "DL",
"urantiaSection": "131:1"
},
"passage": {
"chunkId": "diogenes-laertius-6-hicks-1925:DL 6.103",
"reference": "DL 6.103",
"text": "Such are the lives of the several Cynics. But we will go on to append the doctrines which they held in common – if, that is, we decide that Cynicism is really a philosophy, and not, as some maintain, just a way of life. They are content then, like Ariston of Chios, to do away with the subjects of Logic and Physics and to devote their whole attention to Ethics. And what some assert of Socrates, Diocles records of Diogenes, representing him as saying: \"We must inquire into Whate'er of good or ill within our halls is wrought.\" They also dispense with the ordinary subjects of instruction. At least Antisthenes used to say that those who had attained discretion had better not study literature, lest they should be perverted by alien influences."
},
"similarity": 0.679463,
"similaritySmall": 0.720913
},
{
"paragraph": {
"id": "4:122.2.3",
"standardReferenceId": "122:2.3",
"paperId": "122",
"paperTitle": "Birth and Infancy of Jesus",
"sectionTitle": "Gabriel Appears to Elizabeth",
"text": "“While your husband, Zacharias, stands before the altar in Jerusalem, and while the assembled people pray for the coming of a deliverer, I, Gabriel, have come to announce that you will shortly bear a son who shall be the forerunner of this divine teacher, and you shall call your son John. He will grow up dedicated to the Lord your God, and when he has come to full years, he will gladden your heart because he will turn many souls to God, and he will also proclaim the coming of the soul-healer of your people and the spirit-liberator of all mankind. Your kinswoman Mary shall be the mother of this child of promise, and I will also appear to her.”"
},
"corpus": {
"id": "koran-pickthall-1930",
"slug": "quran",
"religion": "Islam",
"title": "The Meaning of the Glorious Koran",
"translator": "Marmaduke Pickthall",
"year": 1930,
"refPrefix": "Quran",
"urantiaSection": null
},
"passage": {
"chunkId": "koran-pickthall-1930:Quran 3.38",
"reference": "Quran 3.38-39",
"text": "Then Zachariah prayed unto his Lord and said: My Lord! Bestow upon me of Thy bounty goodly offspring. Lo! Thou art the Hearer of Prayer. And the angels called to him as he stood praying in the sanctuary: Allah giveth thee glad tidings of (a son whose name is) John, (who cometh) to confirm a word from Allah lordly, chaste, a prophet of the righteous."
},
"similarity": 0.675817,
"similaritySmall": 0.692782
}
],
"meta": {
"page": 0,
"limit": 2,
"total": 83,
"totalPages": 42
}
}{
"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
A corpus id, slug, or ref prefix, or bible
1 - 64true leaves out the Bible, which has most of the mutual pairs
true, false Leave out paragraphs shorter than this many characters. Headings and fragments score unreliably
0 <= x <= 2000x >= 01 <= x <= 50curl --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:121.4.4",
"standardReferenceId": "121:4.4",
"paperId": "121",
"paperTitle": "The Times of Michael’s Bestowal",
"sectionTitle": "Gentile Philosophy",
"text": "3. The Cynic. Although the Cynics traced their philosophy to Diogenes of Athens, they derived much of their doctrine from the remnants of the teachings of Machiventa Melchizedek. Cynicism had formerly been more of a religion than a philosophy. At least the Cynics made their religio-philosophy democratic. In the fields and in the market places they continually preached their doctrine that “man could save himself if he would.” They preached simplicity and virtue and urged men to meet death fearlessly. These wandering Cynic preachers did much to prepare the spiritually hungry populace for the later Christian missionaries. Their plan of popular preaching was much after the pattern, and in accordance with the style, of Paul’s Epistles."
},
"corpus": {
"id": "diogenes-laertius-6-hicks-1925",
"slug": "diogenes-laertius-6",
"religion": "Cynicism",
"title": "Lives of Eminent Philosophers, Book 6: The Cynics",
"translator": "R. D. Hicks",
"year": 1925,
"refPrefix": "DL",
"urantiaSection": "131:1"
},
"passage": {
"chunkId": "diogenes-laertius-6-hicks-1925:DL 6.103",
"reference": "DL 6.103",
"text": "Such are the lives of the several Cynics. But we will go on to append the doctrines which they held in common – if, that is, we decide that Cynicism is really a philosophy, and not, as some maintain, just a way of life. They are content then, like Ariston of Chios, to do away with the subjects of Logic and Physics and to devote their whole attention to Ethics. And what some assert of Socrates, Diocles records of Diogenes, representing him as saying: \"We must inquire into Whate'er of good or ill within our halls is wrought.\" They also dispense with the ordinary subjects of instruction. At least Antisthenes used to say that those who had attained discretion had better not study literature, lest they should be perverted by alien influences."
},
"similarity": 0.679463,
"similaritySmall": 0.720913
},
{
"paragraph": {
"id": "4:122.2.3",
"standardReferenceId": "122:2.3",
"paperId": "122",
"paperTitle": "Birth and Infancy of Jesus",
"sectionTitle": "Gabriel Appears to Elizabeth",
"text": "“While your husband, Zacharias, stands before the altar in Jerusalem, and while the assembled people pray for the coming of a deliverer, I, Gabriel, have come to announce that you will shortly bear a son who shall be the forerunner of this divine teacher, and you shall call your son John. He will grow up dedicated to the Lord your God, and when he has come to full years, he will gladden your heart because he will turn many souls to God, and he will also proclaim the coming of the soul-healer of your people and the spirit-liberator of all mankind. Your kinswoman Mary shall be the mother of this child of promise, and I will also appear to her.”"
},
"corpus": {
"id": "koran-pickthall-1930",
"slug": "quran",
"religion": "Islam",
"title": "The Meaning of the Glorious Koran",
"translator": "Marmaduke Pickthall",
"year": 1930,
"refPrefix": "Quran",
"urantiaSection": null
},
"passage": {
"chunkId": "koran-pickthall-1930:Quran 3.38",
"reference": "Quran 3.38-39",
"text": "Then Zachariah prayed unto his Lord and said: My Lord! Bestow upon me of Thy bounty goodly offspring. Lo! Thou art the Hearer of Prayer. And the angels called to him as he stood praying in the sanctuary: Allah giveth thee glad tidings of (a son whose name is) John, (who cometh) to confirm a word from Allah lordly, chaste, a prophet of the righteous."
},
"similarity": 0.675817,
"similaritySmall": 0.692782
}
],
"meta": {
"page": 0,
"limit": 2,
"total": 83,
"totalPages": 42
}
}{
"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"
}
