-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. 增加用户权限设计 2. 修复一些bug
- Loading branch information
Showing
33 changed files
with
552 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
# 数据库配置 | ||
database_url: | ||
"mysql+pymysql:https://username:[email protected]:3306/langflow" | ||
"mysql+pymysql:https://username:[email protected]:3306/bisheng" | ||
redis_url: | ||
"192.168.106.116:6379" | ||
|
||
|
||
# 为知识库的embedding进行模型撇脂 | ||
embedding_config: | ||
text-embedding-ada-002: | ||
base_url: | ||
"" | ||
multilingual-e5-large: | ||
base_url: | ||
"" | ||
|
||
agents: | ||
ZeroShotAgent: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from pydantic import BaseModel | ||
|
||
|
||
class Settings(BaseModel): | ||
authjwt_secret_key: str = 'xI$xO.oN$sC}tC^oQ(fF^nK~dB&uT(' | ||
# Configure application to store and get JWT from cookies | ||
authjwt_token_location: set = {'cookies'} | ||
# Disable CSRF Protection for this example. default is True | ||
authjwt_cookie_csrf_protect: bool = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.