AI-NFT میٹاڈیٹا
AI-NFT کی تخلیق عام NFT تخلیقی عمل سے ملتی جلتی ہے، لیکن ai_agent
فیلڈ شامل ہوتی ہے۔ یہ فیلڈ AI ایجنٹ کی ترتیب اور استعمال شدہ انجن کی نشاندہی کرتی ہے، اور یہ معلومات میٹاڈیٹا میں محفوظ کی جاتی ہے۔
معاون AI انجن
AI-NFT میٹاڈیٹا JSON
ai_agent (نیا شامل کیا گیا)
object
اس NFT سے منسلک AI ایجنٹ کی ترتیبات
engine (string): AI ایجنٹ کو چلانے کے لیے استعمال ہونے والا انجن۔ ڈیفالٹ ویلیو "eliza" ہے۔
character (object): JSON فارمیٹ میں AI ایجنٹ کو بیان کرنے والی کریکٹر فائل۔ مزید تفصیلات کے لیے یہاں دیکھیں۔
name
string
اثاثہ کا نام
description
string
اثاثہ کی وضاحت
image
string
اثاثہ کے لوگو کی نشاندہی کرنے والا URI
animation_url
string
اثاثہ کی اینیمیشن کی نشاندہی کرنے والا URI
external_url
string
اثاثہ کو بیان کرنے والے بیرونی URL کی نشاندہی کرنے والا URI — مثال کے طور پر گیم کی آفیشل ویب سائٹ
attributes
array
اثاثہ کی خصوصیات کی وضاحت کرنے والی صف
trait_type (string): خصوصیت کی قسم
value (string): خصوصیت کی قدر
properties
object
اثاثہ کی خصوصیات کی وضاحت کرنے والی اضافی صفات
files (array): اثاثہ کے ساتھ شامل اضافی فائلیں
uri (string): فائل کا URI
type (string): فائل کی قسم، مثال:
image/png
,video/mp4
cdn (boolean, optional): فائل کے CDN سے فراہم ہونے کی حالت
category (string): اثاثہ کے میڈیا کیٹیگری، مثال:
video
,image
مثال
{
// AI agent field
ai_agent: {
engine: "eliza",
character: {
// agent name
name:"eliza",
// background statements
bio: [
"Bio lines are each short snippets which can be composed together in a random order.",
"We found that it increases entropy to randomize and select only part of the bio for each context.",
"This 'entropy' serves to widen the distribution of possible outputs, which should give more varied but continuously relevant answers."
],
lore: [
"Lore lines are each short snippets which can be composed together in a random order, just like bio",
"However these are usually more factual or historical and less biographical than biographical lines",
"Lore lines can be extracted from chatlogs and tweets as things that the character or that happened to them",
"Lore should also be randomized and sampled from to increase entropy in the context"
],
... //xxx.character.json from https://github.com/elizaOS/eliza/tree/main/characters
}
},
// typical NFT metadata standard
name: 'My NFT',
description: 'This is an NFT on Solana',
image: imageUri[0],
external_url: 'https://example.com',
attributes: [
{
trait_type: 'trait1',
value: 'value1',
},
{
trait_type: 'trait2',
value: 'value2',
},
],
properties: {
files: [
{
uri: imageUri[0],
type: 'image/jpeg',
},
],
category: 'image',
},
}
Last updated
Was this helpful?