Skip to content

relizaio/bear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BEAR - BOM Enrichment and Augmentation by Reliza

Demo Instance

Public Demo is currently running at https://beardemo.rearmhq.com. GraphQL Playground mode is disabled there, you should use instead ReARM CLI to interact with it. Data obtained from Demo is licensed under Apache 2.0.

Run via Docker-Compose

Pre-requisites

You need a Google Gemini AI or an OpenAI API Key.

Steps

  1. Git clone this repository
  2. Change directory to deploy/bear-docker-compose
  3. Create bear.env file with the following contents (include only the key or keys you are using, set BEAR_AI_TYPE to either GEMINI or OPENAI accordingly):
BEAR_GEMINI_API_KEY="your_actual_api_key"
BEAR_OPENAI_API_KEY="your_actual_api_key"
BEAR_AI_TYPE="OPENAI"

Note that this file is added to .gitignore - make sure the secret is not checked in.

  1. Perform
docker-compose up -d
  1. You may then access deployment on http://localhost:8086/graphql

  2. Try sample query:

mutation resolveSupplier($purl: String!) {
    resolveSupplier(purl: $purl) {
        name
        address {
          country
          region
          locality
          postOfficeBoxNumber
          postalCode
          streetAddress
        }
        url
        contact {
          name
          email
          phone
        }
    }
}

with query variables:

{ "purl": "pkg:npm/%40graphql-tools/schema@9.0.18#packages/schema" }

If everything works, you can then use ReARM CLI to interact with BEAR instance.

Contact Reliza

Easiest way to contact us is through our Discord Community - find #rearm channel there and either post in this channel or send a direct message to maintainers.

You can also send us an email to info@reliza.io.

About

BOM Enrichment and Augmentation by Reliza (BEAR)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •