a6b8 / ordGPT

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.

Home Page:https://chat.openai.com/share/5d872571-071d-4c0e-8690-a5d5b37496e1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://chat.openai.com/share/5d872571-071d-4c0e-8690-a5d5b37496e1


Languages

Language:JavaScript 100.0%