Skip to content

A time saving framework for working with AI

License

Notifications You must be signed in to change notification settings

unjournal/rexia_ai2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A time saving framework for working with AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.1%
  • JavaScript 2.1%
  • Other 1.8%