Paragraphs That Lean Toward One Text
Urantia paragraphs whose closest text stands out above their mean across texts, ranked by that gap. A lean counts only when the text has the paragraph in its top 10% and both embedding models pick the same text. 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/leansimport requests
url = "https://api.urantia.dev/scriptures/insights/leans"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.urantia.dev/scriptures/insights/leans', 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/leans",
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/leans"
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/leans")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/scriptures/insights/leans")
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:122.2.7",
"standardReferenceId": "122:2.7",
"paperId": "122",
"paperTitle": "Birth and Infancy of Jesus",
"sectionTitle": "Gabriel Appears to Elizabeth",
"text": "John was born in the City of Judah, March 25, 7 b.c. Zacharias and Elizabeth rejoiced greatly in the realization that a son had come to them as Gabriel had promised, and when on the eighth day they presented the child for circumcision, they formally christened him John, as they had been directed aforetime. Already had a nephew of Zacharias departed for Nazareth, carrying the message of Elizabeth to Mary proclaiming that a son had been born to her and that his name was to be John."
},
"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
},
"gap": 0.755588,
"percentile": 0.992
},
{
"paragraph": {
"id": "4:135.0.1",
"standardReferenceId": "135:0.1",
"paperId": "135",
"paperTitle": "John the Baptist",
"sectionTitle": null,
"text": "JOHN the Baptist was born March 25, 7 b.c., in accordance with the promise that Gabriel made to Elizabeth in June of the previous year. For five months Elizabeth kept secret Gabriel’s visitation; and when she told her husband, Zacharias, he was greatly troubled and fully believed her narrative only after he had an unusual dream about six weeks before the birth of John. Excepting the visit of Gabriel to Elizabeth and the dream of Zacharias, there was nothing unusual or supernatural connected with the birth of John the Baptist."
},
"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
},
"gap": 0.738292,
"percentile": 0.965
}
],
"meta": {
"page": 0,
"limit": 2,
"total": 328,
"totalPages": 164
}
}{
"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/leansimport requests
url = "https://api.urantia.dev/scriptures/insights/leans"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.urantia.dev/scriptures/insights/leans', 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/leans",
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/leans"
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/leans")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/scriptures/insights/leans")
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:122.2.7",
"standardReferenceId": "122:2.7",
"paperId": "122",
"paperTitle": "Birth and Infancy of Jesus",
"sectionTitle": "Gabriel Appears to Elizabeth",
"text": "John was born in the City of Judah, March 25, 7 b.c. Zacharias and Elizabeth rejoiced greatly in the realization that a son had come to them as Gabriel had promised, and when on the eighth day they presented the child for circumcision, they formally christened him John, as they had been directed aforetime. Already had a nephew of Zacharias departed for Nazareth, carrying the message of Elizabeth to Mary proclaiming that a son had been born to her and that his name was to be John."
},
"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
},
"gap": 0.755588,
"percentile": 0.992
},
{
"paragraph": {
"id": "4:135.0.1",
"standardReferenceId": "135:0.1",
"paperId": "135",
"paperTitle": "John the Baptist",
"sectionTitle": null,
"text": "JOHN the Baptist was born March 25, 7 b.c., in accordance with the promise that Gabriel made to Elizabeth in June of the previous year. For five months Elizabeth kept secret Gabriel’s visitation; and when she told her husband, Zacharias, he was greatly troubled and fully believed her narrative only after he had an unusual dream about six weeks before the birth of John. Excepting the visit of Gabriel to Elizabeth and the dream of Zacharias, there was nothing unusual or supernatural connected with the birth of John the Baptist."
},
"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
},
"gap": 0.738292,
"percentile": 0.965
}
],
"meta": {
"page": 0,
"limit": 2,
"total": 328,
"totalPages": 164
}
}{
"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"
}
