Observed since 21 Oct, 11:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A flexible and extensible framework for managing and processing various types of data objects using AI techniques.
The Object Data AI System is a flexible and extensible framework for managing, processing, and transforming various types of data objects using AI techniques. It provides a RESTful API built with FastAPI for interacting with the system.
/
├── app/
│ ├── __init__.py
│ ├── main.py
│ ├── api.py
│ ├── app.py
│ └── models/
│ ├── __init__.py
│ └── models.py
├── Dockerfile
└── docker-compose.yml
/app/: Contains the main application code
__init__.py: Initializes the app packagemain.py: Entry point of the applicationapi.py: Defines the API routesapp.py: Creates and configures the FastAPI applicationmodels/: Contains the data models
__init__.py: Initializes the models packagemodels.py: Defines the data object models and system componentsDockerfile: Defines the Docker image for the applicationdocker-compose.yml: Defines the services for running the applicationData Objects: The system supports various types of data objects, including:
ObjectDataAISystem: The core system that manages data objects, transformers, and storage.
DataObjectFactory: Responsible for creating appropriate data objects based on the input type.
TransformerRegistry: Manages a collection of transformers that can be applied to data objects.
DataLake: Provides storage and retrieval capabilities for data objects.
API: A RESTful API for interacting with the system, including endpoints for creating, retrieving, processing, and transforming data objects.
Clone the repository to your local machine.
Navigate to the root directory of the project.
Build and run the Docker containers:
docker-compose up --build
The API will be available at http://localhost:8000.
The API provides the following main endpoints:
POST /objects/: Create a new data objectGET /objects/{obj_id}: Retrieve a data objectPOST /objects/{obj_id}/process: Process a data objectPOST /objects/{obj_id}/transform: Apply a transformer to a data objectGET /transformers/: List available transformersPOST /transformers/: Register a new transformerFor detailed API documentation, visit http://localhost:8000/docs when the application is running.
To extend the system:
app/models/models.py.TransformerRegistry.ObjectDataAISystem with new processing capabilities.app/api.py as needed.To use this proto file:
object_data_ai.proto in your project directory.protoc) to generate the necessary code for your chosen programming language.For Python, you might generate the code like this:
protoc -I=. --python_out=. --grpc_python_out=. object_data_ai.proto
This will generate object_data_ai_pb2.py (containing message classes) and object_data_ai_pb2_grpc.py (containing service classes).
Remember to install the necessary gRPC and protobuf libraries in your Python environment:
pip install grpcio grpcio-tools
Contributions to the Object Data AI System are welcome. Please ensure that your code adheres to the project's coding standards and include appropriate tests for new features.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 31 Jul 2024 | 7 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:096976458785589c575ed1a87d9b574b659633bfba8ec31e8bd6fff181217f9b