Skip to main content

A Python SDK for interacting with Markov AI

Project description

Downloads

Markov AI SDK

Welcome to the Markov AI SDK 👋 This SDK offers a robust framework for creating and deploying knowledge graphs with vector embeddings, enabling seamless data processing across various modalities for your projects.

Table of Contents

Features

  • Modular Design: Easily create and manage components of your pipeline.
  • Scalability: Build knowledge graphs that can scale with your ever-increasing enterprise data.
  • User-Friendly: Designed with simplicity in mind, making it accessible for both beginners and experienced developers.

Installation

To install the Markov AI SDK, use pip:

pip install markov-ai

Make sure to have Python 3.8 or higher installed.

Quick Start

Here's a quick example to get you started:

import os
from dotenv import load_dotenv
load_dotenv()

api_key = os.getenv('MARKOV_AI_API_KEY')
db_uri = os.getenv('DB_URI')
db_user = os.getenv('DB_USER')
db_password = os.getenv('DB_PASSWORD')

from markov_ai import Component, DatabaseService, Destination, Pipeline

destination = Destination.from_credentials(DatabaseService.NEO4J, db_uri, db_user, db_password)
pipeline = Pipeline(api_key=api_key, destination=destination)

component = Component('DataLoader', source='./sample_content/apple.txt')
pipeline.add(component)

pipeline.run()

Usage

The SDK allows you to define various components of your pipeline, such as data loaders, preprocessors, model trainers, and evaluators. You can customize each component to fit your specific needs.

Example Components

  • DataLoader: Load data from various sources (CSV, databases, etc.).
  • Preprocessor: Clean and preprocess your data.
  • ModelTrainer: Train your model using different algorithms.
  • Evaluator: Evaluate the performance of your model.

API Reference

For detailed information about the API and available components, please refer to the API Documentation.

Contributing

We welcome contributions! Please read our Contributing Guidelines to get started.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markov-ai-0.1.7.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markov_ai-0.1.7-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file markov-ai-0.1.7.tar.gz.

File metadata

  • Download URL: markov-ai-0.1.7.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.19

File hashes

Hashes for markov-ai-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b82c9955c482029b7c288d4928e8ba040616445ea4cb1375f046a5ceb5018739
MD5 39b272508b4189323693d1e932b3ff5f
BLAKE2b-256 c7a86dae7750a5a123eb42761e0414dfb3ca5e35f4a6efa6ac11aaef2dd6a92b

See more details on using hashes here.

File details

Details for the file markov_ai-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: markov_ai-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.19

File hashes

Hashes for markov_ai-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 53c9389e0752915eefc2a9aa1b027761151c0f1a76ab8693652a3ebd42eaf7e4
MD5 a4da4729c114cceda68b233c7bc94196
BLAKE2b-256 162cd717a7da843efa70414b3967cc7c14dc8b6085b864087d094656ba72f91d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page