Skip to content

Commit

Permalink
Feature/patch to main (#1194)
Browse files Browse the repository at this point in the history
* checkin

* collection to groups

* Fix bug in deletion (#1190)

* fix pr

* fix pr (#1192)

* collect and raise kg extraction errors

* cleanup

* finish mods

* bump pkg

* make logout async

---------

Co-authored-by: Nolan Tremelling <[email protected]>
  • Loading branch information
emrgnt-cmplxty and NolanTrem authored Sep 18, 2024
1 parent ff214da commit d841098
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export POSTGRES_PASSWORD=your_password
export POSTGRES_HOST=your_host
export POSTGRES_PORT=your_port
export POSTGRES_DBNAME=your_db
export POSTGRES_PROJECT_NAME=your_vecs_collection
export POSTGRES_PROJECT_NAME=your_project_name

# Environment variables for KG provider (currently only Neo4j)
# export NEO4J_USER=YOUR_NEO4J_USER
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/configuration/postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ password = "your_postgres_password"
host = "your_postgres_host"
port = "your_postgres_port"
db_name = "your_database_name"
vecs_collection = "your_vector_collection_name"
your_project_name = "your_project_collection_name"
```

2. Alternatively, you can set the following environment variables:
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/deep-dive/providers/database.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ password = "your_postgres_password"
host = "your_postgres_host"
port = "your_postgres_port"
db_name = "your_database_name"
vecs_collection = "your_collection_name"
your_project_name = "your_project_name"
```

Alternatively, you can set these values using environment variables:
Expand Down
2 changes: 1 addition & 1 deletion py/core/main/services/auth_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async def confirm_password_reset(

@telemetry_event("Logout")
async def logout(self, token: str) -> dict[str, str]:
return self.providers.auth.logout(token)
return await self.providers.auth.logout(token)

@telemetry_event("UpdateUserProfile")
async def update_user(
Expand Down
2 changes: 1 addition & 1 deletion py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "r2r"
readme = "README.md"
version = "3.1.30"
version = "3.1.31"
description = "SciPhi R2R"
authors = ["Owen Colegrove <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit d841098

Please sign in to comment.