LAION-AI / LAION-AI/Open-Assistant

Proposal: backend server support `import`/`export`

Open
#2,025 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backend
Dominant language
Python
Stars
37.4k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

If I use Docker Compose to start Oasst, importing/exporting data can only be done by attaching to the Docker container and calling import.py/export.py. I don't think this is a very standard way of doing things.

My proposal is whether it is possible to add import/export APIs, which can only be called by admin users with permission?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing import.py and export.py to understand the existing Docker-based workflow, then inspect the backend's API entry points and admin permission handling. The issue would be complete when documented import and export APIs are defined, restricted to authorized administrators, and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, python
Domain
api, authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.