Bifrost · JSON-LD Context

Bifrost Context

JSON-LD context defining the semantic vocabulary for Bifrost from Bifrost.

8 Classes 16 Properties 3 Namespaces
View Context View on GitHub

Namespaces

bf: https://www.getbifrost.ai/vocab#
schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

role content model id created name status version

Properties

Property Type Container
messages string
temperature decimal
max_tokens integer
stream boolean
top_p decimal
n integer
index integer
message string
finish_reason string
prompt_tokens integer
completion_tokens integer
total_tokens integer
object string
choices string
usage string
providers string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "bf": "https://www.getbifrost.ai/vocab#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "role": "schema:roleName",
    "content": "schema:text",
    "model": "schema:model",
    "messages": {
      "@id": "bf:messages",
      "@type": "xsd:string"
    },
    "temperature": {
      "@id": "bf:temperature",
      "@type": "xsd:decimal"
    },
    "max_tokens": {
      "@id": "bf:max_tokens",
      "@type": "xsd:integer"
    },
    "stream": {
      "@id": "bf:stream",
      "@type": "xsd:boolean"
    },
    "top_p": {
      "@id": "bf:top_p",
      "@type": "xsd:decimal"
    },
    "n": {
      "@id": "bf:n",
      "@type": "xsd:integer"
    },
    "index": {
      "@id": "bf:index",
      "@type": "xsd:integer"
    },
    "message": {
      "@id": "bf:message",
      "@type": "xsd:string"
    },
    "finish_reason": {
      "@id": "bf:finish_reason",
      "@type": "xsd:string"
    },
    "prompt_tokens": {
      "@id": "bf:prompt_tokens",
      "@type": "xsd:integer"
    },
    "completion_tokens": {
      "@id": "bf:completion_tokens",
      "@type": "xsd:integer"
    },
    "total_tokens": {
      "@id": "bf:total_tokens",
      "@type": "xsd:integer"
    },
    "id": "schema:identifier",
    "object": {
      "@id": "bf:object",
      "@type": "xsd:string"
    },
    "created": "schema:dateCreated",
    "choices": {
      "@id": "bf:choices",
      "@type": "xsd:string"
    },
    "usage": {
      "@id": "bf:usage",
      "@type": "xsd:string"
    },
    "name": "schema:name",
    "status": "schema:status",
    "version": "schema:version",
    "providers": {
      "@id": "bf:providers",
      "@type": "xsd:string"
    }
  }
}