Skip to content

context-labs/inference-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inference.net Logo

Inference.net API Examples

Welcome to the Inference.net API examples repository! This collection provides code samples and guides for common tasks using the Inference.net API.

Getting Started

To run these examples, you'll need:

  1. An Inference.net account - Create a free account here
  2. An API key from your account dashboard

Setting Up Your API Key

You can set up your API key in one of two ways:

  1. Environment Variable:

    export INFERENCE_API_KEY=your_api_key_here
  2. .env File (recommended for development): Create a .env file in your project root:

    INFERENCE_API_KEY=your_api_key_here

    Most IDEs (like VS Code) will automatically load this file.

Available Resources

Most examples are written in Python, but the concepts can be applied to any language.

Featured Examples

License

MIT License

About

Cookbooks, examples, and guides for using the Inference API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published