TrueFoundry · JSON-LD Context

Truefoundry Context

JSON-LD context defining the semantic vocabulary for Truefoundry from TrueFoundry.

28 Classes 1 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
ml: https://www.w3.org/ns/ml-schema#

Classes

Model ChatCompletion Embedding Batch File model messages role content temperature max_tokens stream tools usage prompt_tokens completion_tokens total_tokens finish_reason choices embedding dimensions query documents relevance_score flagged purpose provider owned_by

Properties

Property Type Container
created integer

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://schema.truefoundry.com/",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "ml": "https://www.w3.org/ns/ml-schema#",

    "Model": "ml:Model",
    "ChatCompletion": "schema:Event",
    "Embedding": "schema:ItemList",
    "Batch": "schema:DataFeed",
    "File": "schema:MediaObject",

    "model": "schema:identifier",
    "messages": "schema:hasPart",
    "role": "schema:roleName",
    "content": "schema:text",
    "temperature": "samplingTemperature",
    "max_tokens": "maxOutputTokens",
    "stream": "schema:isLiveBroadcast",
    "tools": "schema:potentialAction",
    "usage": "resourceUsage",
    "prompt_tokens": "promptTokens",
    "completion_tokens": "completionTokens",
    "total_tokens": "totalTokens",
    "created": {
      "@id": "schema:dateCreated",
      "@type": "xsd:integer"
    },
    "finish_reason": "completionReason",
    "choices": "schema:result",
    "embedding": "schema:value",
    "dimensions": "vectorDimensions",
    "query": "schema:query",
    "documents": "schema:itemListElement",
    "relevance_score": "schema:ratingValue",
    "flagged": "isViolation",
    "purpose": "schema:purpose",
    "provider": "schema:provider",
    "owned_by": "schema:author"
  }
}