* chore: create embeddings by paragraphs
* chore: use document paragraphs method
* chore: document indexing by paragraphs with consistent hash
* chore: compare produced embeddings against existing ones
* chore: make pg stored proc compare between input and existing embedded fragments
* chore: missing sqlx generation
* fix: appflowy worker
* chore: make sure that embeddings are only changed when content had changed
* chore: remove partition key and recreate af_collab_embeddings_upsert migration
* chore: use pg15 on CI and update af_collab_embeddings table primary key
* chore: fix test
---------
Co-authored-by: Nathan <nathan@appflowy.io>
* chore: chat response with format
* chore: update prompt
* chore: update test
* chore: update test
* chore: fix stress test
* chore: fix test
* chore: test
* chore: test
* chore: fix stress test
* chore: fix test
* feat: implement appflowy-indexer and search api endpoint
* chore: store embedding content type
* chore: more descriptive messages for open ai missing key
* chore: fix sqlx errors in tests
* chore: document watcher - change plain text rendering to use depth-first scan
* chore: added nested document blocks example
* feat: update docs and self host deploy configs
* feat: use default ports for dev
* feat: revamp self host
* feat: use nginx resolver
* feat: cargo fmt
* feat: ci integration test with nginx routing
* feat: cargo fmt
* feat: make docker ci use deploy env rather than dev env
* feat: update api external url for deploy test
* fix: if sqlx is set to offline dont run casbin for tests
* fix: set api external url for tests
* fix: ignore sqlx test with cfg
* fix: sqlx tests
* fix: test use env
* feat: update the docs on optional components
* fix: create user if they sign up with oauth
* feat: add workspaces_members add and remove operations
* feat: add insert workspace members
* feat: attach db ops to api ops
* refactor: separate user and workspace scope
* chore: add sqx query metadata
* chore: add 2nd registered user for testing
* ci: use valid email
* ci: fix registered password invalid
* fix: use email instead of uid
* fix: use email instead of uid sqlx query metadata
* feat: add test for workspace member
* test: added workspace add and delete with checking
* ci: fix email
* feat: use gotrue from source instead of docker hub image
* test: fix test due to gotrue upgrade
* fix: update prod docker-compose
* chore: cargo fmt --all
* feat: support external oauth
* chore: cargo fmt
* doc: add docs for google oauth2
* fix: use btree map and get for oauth
* feat: client to open url for oauth login
* feat: add test case for oauth not available
* feat: add placeholder for sign_in_url
* fix: use
* feat: client sign up with url
* feat: add sign_in_with_url simple test
* fix: use url fragments and string split
* fix: test case and gotrue error handling
* fix: return error and remove unwrap
* chore: remove unused file not in module tree
* fix: test cases
* chore: add cfg feature cloud to isolate dependencies