Skip to content
/ ordGPT Public

This repository documents all the necessary data required to connect the Ordinals API with OpenAI, enabling the AI to autonomously perform queries and discover answers to questions.

Notifications You must be signed in to change notification settings

a6b8/ordGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ord GPT

█▀█ █▀█ █▀▄   █▀▀ █▀█ ▀█▀
█▄█ █▀▄ █▄▀   █▄█ █▀▀ ░█░

This repository documents all the necessary data required to connect the Ordinals API with OpenAI, enabling the AI to autonomously perform queries and discover answers to questions.

Designed for Open AI Custom GPT

Table of Contents

OpenAI Schema

import { OrdAPI } from './../src/OrdAPI.mjs'

const ordinalApi = new OrdAPI()
const schema = ordinalApi.getOpenAiSchema( {
    'title' : '',
    'description': '',
    'version': '',
    'url': ''
} )

console.log( 'schema:', schema )

The result you can find here: ./result/openAI/schema.json

Docs

import { Repos2Doc } from 'repos2doc'
const repos2doc = new Repos2Doc()
import { findTextFilesAndCreateNewDocument } from './../src/helpers/splitDocuments.mjs'

const config = repos2doc.getConfig()
config['files']['test'] = [
    {
        'type': 'allow',
        'search': 'endsWith',
        'strings': [
            '.txt', '.md', 'html'
        ]
    }
]

repos2doc.getDocument( {
    'repositories': [ 'ordinals/ord/gh-pages' ],
    'name': 'ord',
    'destinationFolder': './result/docs/',
    'formats': [ 'pdf', 'txt', 'md' ],
    'options': [ 
        {
            'description': 'this is a test!',
            'filter': 'test'
        }
    ]
} )

The result you can find here: ./result/documents/

About

This repository documents all the necessary data required to connect the Ordinals API with OpenAI, enabling the AI to autonomously perform queries and discover answers to questions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published