Skip to content

Commit

Permalink
Merge branch 'main' into feat/MultiTenancyV2-PromptStudo-Document-Ind…
Browse files Browse the repository at this point in the history
…ex-Output-Managers
  • Loading branch information
gaya3-zipstack authored Jul 18, 2024
2 parents 6ab6837 + 64861dc commit 8d75c38
Show file tree
Hide file tree
Showing 115 changed files with 4,104 additions and 594 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ repos:
- id: markdownlint-fix
args: [--disable, MD013]
- repo: https://github.com/pdm-project/pdm
rev: 2.15.4
rev: 2.16.1
hooks:
- id: pdm-lock-check
# - repo: local
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Use LLMs to eliminate manual processes involving unstructured data.

Just run the `run-platform.sh` launch script to get started in few minutes.

The launch script does env setup with default values, pulls public docker images or builds them locally and finally runs them in containers.
The launch script configures the env with sane defaults, pulls public docker images or builds them locally and finally runs them in containers.

```bash
# Pull and run entire Unstract platform with default env config.
Expand Down Expand Up @@ -45,6 +45,7 @@ The launch script does env setup with default values, pulls public docker images

Now visit [http://frontend.unstract.localhost](http://frontend.unstract.localhost) in your browser.

NOTE: Modify the `.env` files present in each service folder to update its runtime behaviour. Run docker compose up again for the changes to take effect.```
That's all. Enjoy!

## Authentication
Expand Down
26 changes: 26 additions & 0 deletions backend/account_v2/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Basic WorkFlow

`We can Add Workflows Here`

## Login

### Step

1. Login
2. Get Organizations
3. Set Organization
4. Use organizational APIs /unstract/<org_id>/

## Switch organization

1. Get Organizations
2. Set Organization
3. Use organizational APIs /unstract/<org_id>/

## Get current user and Organization data

- Use Get User Profile and Get Organization Info APIs

## Signout

1.signout APi
Empty file added backend/account_v2/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions backend/account_v2/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.contrib import admin

from .models import Organization, User

admin.site.register([Organization, User])
6 changes: 6 additions & 0 deletions backend/account_v2/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class AccountConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "account_v2"
Loading

0 comments on commit 8d75c38

Please sign in to comment.