Skip to content
프로젝트

소개

Council은 맞춤형 생성형 AI 애플리케이션을 빠르게 개발하고 안정적으로 배포할 수 있는 오픈소스 플랫폼입니다.

AI 및 머신러닝

이 수치를 측정하는 방법

What you can do

  • 🧐 Unified LLM Interface: Consistent API across different LLM providers with built-in error handling and retries
  • 🔄 Provider Flexibility: Easy switching between LLM providers like OpenAI, Anthropic, Google Gemini, and local models via Groq and Ollama
  • 📊 Usage Monitoring: Built-in consumption tracking and monitoring capabilities
  • 🛠️ Configuration Management: Flexible configuration system for LLM parameters like temperature, max tokens etc.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Council

Council: AI Agent Platform with Control Flow and Scalable Oversight

Supported Python versions License PyPI version

Welcome

Council is an open-source platform for building applications with Large Language Models (LLMs) - built in Python.

Council provides a unified interface for working with different LLM providers like OpenAI, Anthropic, Google and Ollama. The framework makes it easy to switch between providers while maintaining consistent interfaces and monitoring capabilities.

Council aims to provide enterprise-grade quality control and monitoring for LLM applications (contributions are welcome).

Key Features

  • 🧐 Unified LLM Interface: Consistent API across different LLM providers with built-in error handling and retries
  • 🔄 Provider Flexibility: Easy switching between LLM providers like OpenAI, Anthropic, Google Gemini, and local models via Groq and Ollama
  • 📊 Usage Monitoring: Built-in consumption tracking and monitoring capabilities
  • 🛠️ Configuration Management: Flexible configuration system for LLM parameters like temperature, max tokens etc.
  • 🔒 Error Handling: Robust error handling and retry mechanisms for production use

Key Concepts

LLM Interface

The core of Council is the LLM interface which provides a unified way to interact with different language model providers. This includes:

  • Flexible configuration options
  • Consistent message formatting across providers
  • Built-in retry mechanisms
  • Usage tracking and monitoring

Configuration

Council provides a robust configuration system that allows you to:

  • Set provider-specific parameters
  • Configure retry behavior
  • Control model parameters like temperature, max tokens etc.
  • Manage API credentials

Monitoring

Built-in monitoring capabilities help track:

  • Token usage and costs
  • Number of API calls
  • Response times

Quickstart

Installation

Install Council in one of multiple ways:

  1. (Recommended) Install with pip via Pypi: pip install council-ai
  2. Install with pip from git ref: pip install git+https://github.com/chain-ml/council.git@<branch_name>
  3. Install with pip from local copy:
    • Clone this repository
    • Navigate to local project root and install via pip install -e git+https://github.com/chain-ml/council.git@<branch_name>.

Uninstall with: pip uninstall council-ai

Current Stable Version

GitHub release (latest SemVer)

Setup

Set up your required API keys in a .env file (e.g. OpenAI). Refer to .env.example as an example.

Linter

Use make lint to verify your code.

Black

Use black . to automatically reformat files.

Documentation

A detailed documentation of Council can be found at council.dev.

Support

Please submit a GitHub issue should you need any help or reach out to the team via Discord.

Contributors

Council is a project under active development. We welcome all contributions, pull requests, feature requests or reported issues.

관련 프로젝트 살펴보기

불러오는 중…