Document ZeroTier GenieHive translation endpoint
This commit is contained in:
parent
8e5c4ae551
commit
3eb694b0b0
|
|
@ -19,7 +19,7 @@ site config:
|
||||||
{
|
{
|
||||||
"translation": {
|
"translation": {
|
||||||
"provider": "geniehive",
|
"provider": "geniehive",
|
||||||
"base_url": "http://127.0.0.1:8800",
|
"base_url": "http://172.24.50.65:8800",
|
||||||
"model": "scientific_translator",
|
"model": "scientific_translator",
|
||||||
"api_key": "change-me-client-key",
|
"api_key": "change-me-client-key",
|
||||||
"timeout": 120,
|
"timeout": 120,
|
||||||
|
|
@ -30,7 +30,7 @@ site config:
|
||||||
|
|
||||||
Recommended meaning of the fields:
|
Recommended meaning of the fields:
|
||||||
|
|
||||||
- `base_url`: GenieHive control-plane URL or a reverse-proxied client URL.
|
- `base_url`: GenieHive control-plane URL or a reverse-proxied client URL. For the TalkOrigins proof-of-concept from `bwng.us`, use `http://172.24.50.65:8800`.
|
||||||
- `provider`: translation backend. The supported provider is currently
|
- `provider`: translation backend. The supported provider is currently
|
||||||
`geniehive`.
|
`geniehive`.
|
||||||
- `model`: a GenieHive role ID or directly addressable model name.
|
- `model`: a GenieHive role ID or directly addressable model name.
|
||||||
|
|
@ -95,6 +95,12 @@ For local development:
|
||||||
- `model`: a translation-focused GenieHive role
|
- `model`: a translation-focused GenieHive role
|
||||||
- `timeout`: `120`
|
- `timeout`: `120`
|
||||||
|
|
||||||
|
For the current ZeroTier-backed TalkOrigins proof-of-concept:
|
||||||
|
|
||||||
|
- `base_url`: `http://172.24.50.65:8800`
|
||||||
|
- `model`: `scientific_translator`
|
||||||
|
- `api_key`: `change-me-client-key`
|
||||||
|
|
||||||
For production or a LAN host:
|
For production or a LAN host:
|
||||||
|
|
||||||
- use the reverse-proxied GenieHive URL
|
- use the reverse-proxied GenieHive URL
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
},
|
},
|
||||||
"translation": {
|
"translation": {
|
||||||
"provider": "geniehive",
|
"provider": "geniehive",
|
||||||
"base_url": "http://127.0.0.1:8800",
|
"base_url": "http://172.24.50.65:8800",
|
||||||
"model": "scientific_translator",
|
"model": "scientific_translator",
|
||||||
"api_key": "change-me-client-key",
|
"api_key": "change-me-client-key",
|
||||||
"timeout": 120,
|
"timeout": 120,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue