Skip to content

Latest commit

 

History

History
103 lines (74 loc) · 2.42 KB

README.md

File metadata and controls

103 lines (74 loc) · 2.42 KB

ReXia.AI

ReXia.AI is an advanced AI framework designed to integrate various language models, tools, and workflows for complex task solving and analysis. It provides a flexible and extensible platform for building AI-powered applications and agents.

Table of Contents

Features

  • Support for multiple language models
  • Extensible workflow system
  • Built-in memory management
  • Integration with various external tools and APIs
  • Customizable agents for specific tasks

Installation

To install ReXia.AI, you can use pip:

pip install rexia-ai

Additionally, you need to install either PyTorch or TensorFlow, depending on your preference:

For PyTorch:

pip install torch

For TensorFlow:

pip install tensorflow

Quick Start

Here's a simple example to get you started with ReXia.AI:

from rexia_ai.agent import Agent
from rexia_ai.workflows import SimpleToolWorkflow
from rexia_ai.memory import WorkingMemory
from rexia_ai.llm import RexiaAIOpenAI

# Initialize the language model
llm = RexiaAIOpenAI(
    base_url="https://api.openai.com/v1",
    model="gpt-3.5-turbo",
    temperature=0.7,
    api_key="your-openai-api-key"
)

# Create an Agent instance
agent = Agent(
    llm=llm,
    task="Summarize the latest news on AI advancements",
    workflow=SimpleToolWorkflow,
    memory=WorkingMemory(),
    verbose=True
)

# Run the agent
result = agent.invoke()
print(result)

Documentation

Detailed documentation for each component can be found in the docs folder:

Tools

ReXia.AI comes with several built-in tools:

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Contact

For any questions, issues, or suggestions, please open an issue on our GitHub repository.