Skip to content

markvshaney/llm7

Repository files navigation

LLM7

A framework for interacting with Large Language Models (LLMs) with integrated memory management.

Features

  • Memory management for LLM conversations
  • Ollama integration for local LLM hosting
  • Configurable storage backends
  • Extensible architecture for multiple LLM providers

Installation

# Clone the repository
git clone [your-repo-url]
cd llm7

# Create and activate virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -e ".[dev]"

Project Structure

llm7/
├── llm7/              # Main package
│   ├── memory/       # Memory management
│   ├── ollama/       # Ollama integration
│   └── utils/        # Utilities
├── config/           # Configuration files
├── logs/             # Log files
├── storage/          # Data storage
├── tests/            # Test files
└── utils/            # Project utilities

Usage

from llm7.ollama import OllamaInterface
from llm7.memory import MemoryManager

# Initialize components
llm = OllamaInterface()
memory = MemoryManager()

# Use the system
response = llm.generate("Your prompt here")

Development

# Run tests
pytest

# Format code
black llm7
isort llm7

License

[Your chosen license]

Contributing

[Your contribution guidelines]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages