Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArtisanCloud/BrainX
/ functions
Functions
1,531 in github.com/ArtisanCloud/BrainX
⨍
Functions
1,531
◇
Types & classes
702
↳
Endpoints
87
↓ 1 callers
Method
load_once
(self, filename)
backend/app/core/libs/storage/storage.py:69
↓ 1 callers
Method
load_segment_rule
(self, dataset: Dataset)
backend/app/dao/rag/dataset.py:22
↓ 1 callers
Function
login_by_account
( async_db: AsyncSession, account: str, password: str )
backend/app/service/user/login.py:34
↓ 1 callers
Function
long_running_task
(timeout: int)
backend/app/openapi/api/demo/demo_controller.py:45
↓ 1 callers
Function
loop_task
()
backend/app/api/system/test_controller.py:17
↓ 1 callers
Function
main
()
frontend/i18n/auto-gen-i18n.js:72
↓ 1 callers
Function
main
()
frontend/i18n/check-i18n.js:52
↓ 1 callers
Function
main
()
frontend/app/scripts/seed.js:164
↓ 1 callers
Function
main
()
backend/server.py:50
↓ 1 callers
Function
main
Start the Celery worker.
backend/app/service/task/celery_worker.py:103
↓ 1 callers
Function
make_app
(app: AppSchema)
backend/app/schemas/app/app.py:89
↓ 1 callers
Function
make_conversation
(conversation: ConversationSchema)
backend/app/schemas/robot_chat/conversation.py:84
↓ 1 callers
Function
make_dataset
(dataset: DatasetSchema)
backend/app/schemas/rag/dataset.py:124
↓ 1 callers
Function
make_document
(document: DocumentSchema)
backend/app/schemas/rag/document.py:162
↓ 1 callers
Method
make_media_resource
( self, bucket: str, handle )
backend/app/service/media_resource/service.py:71
↓ 1 callers
Method
make_oss_resource
( self, bucket: str, file: UploadFile )
backend/app/service/media_resource/service.py:86
↓ 1 callers
Method
make_oss_resource_by_base64_data
( self, user: User, bucket: str, data: bytes, cont
backend/app/service/media_resource/service.py:150
↓ 1 callers
Method
make_oss_resource_by_base64_string
( self, user: User, bucket: str, base64_data: str,
backend/app/service/media_resource/service.py:125
↓ 1 callers
Method
merge_blocks_into_text
将 Blocks 合并成一个长文本,根据需要插入换行符。 :param blocks: List of Block objects. :return: Merged text.
backend/app/core/rag/ingestion/splitter/base.py:16
↓ 1 callers
Method
merge_blocks_into_text
将 Blocks 合并成一个长文本,根据需要插入换行符。 :param blocks: List of Block objects. :return: Merged text.
backend/app/core/rag/ingestion/splitter/drivers/custom/text.py:19
↓ 1 callers
Method
model_credentials_validate
( self, provider_id: str, model_type: ModelType, model_id: str, credentials: dict )
backend/app/core/brainx/drivers/provider_factory.py:53
↓ 1 callers
Function
next
()
frontend/app/(workspace)/space/(mine)/knowledge/config-dataset/index.tsx:23
↓ 1 callers
Function
onClickShowModels
(provider_id: string)
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/configured-providers/index.tsx:48
↓ 1 callers
Function
onClickToSaveModel
(provider: Provider)
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/to-config-providers/index.tsx:35
↓ 1 callers
Function
onClickToSaveProvider
(provider: Provider)
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/to-config-providers/index.tsx:26
↓ 1 callers
Function
onClickToSaveProvider
(provider: Provider)
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/configured-providers/index.tsx:127
↓ 1 callers
Function
onClose
()
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/modal-save-model/index.tsx:47
↓ 1 callers
Function
onFilledRequired
(filled: boolean)
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/modal-save-model/index.tsx:135
↓ 1 callers
Function
onSelectModel
(modelType: ModelTypeEnum, provider: ProviderWithModels, model: ProviderModelWithStatusEntity)
frontend/app/(workspace)/space/settings/model-provider/app-config-models/index.tsx:21
↓ 1 callers
Function
onSelectRow
(dataset: Dataset)
frontend/app/(workspace)/space/(mine)/knowledge/list/index.tsx:199
↓ 1 callers
Function
onSubmitDelete
()
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/modal-save-provider/index.tsx:71
↓ 1 callers
Function
onSubmitDelete
()
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/modal-save-model/index.tsx:69
↓ 1 callers
Function
onToConfigModel
(provider: ProviderWithModels, model: ProviderModelWithStatusEntity)
frontend/app/(workspace)/space/settings/model-provider/app-config-models/index.tsx:26
↓ 1 callers
Function
onerror
(err)
frontend/app/lib/sse/EventSourceHelper.ts:101
↓ 1 callers
Function
openSelectKnowledgeModal
()
frontend/app/(workspace)/space/(mine)/profile/index.tsx:58
↓ 1 callers
Function
parse_ftp_document
(url: str)
backend/app/utils/document.py:56
↓ 1 callers
Function
parse_http_document
(url: str)
backend/app/utils/document.py:33
↓ 1 callers
Method
patch
(host: string, endpoint: string, body?: any)
frontend/app/openapi/backend.ts:132
↓ 1 callers
Function
patch_app
( async_db: AsyncSession, app_uuid: str, update_data: Dict[str, Any] )
backend/app/service/app/patch.py:10
↓ 1 callers
Function
patch_conversation
( async_db: AsyncSession, conversation_uuid: str, update_data: Dict[str, Any] )
backend/app/service/conversation/patch.py:10
↓ 1 callers
Function
patch_dataset
( async_db: AsyncSession, dataset_uuid: str, update_data: Dict[str, Any] )
backend/app/service/rag/dataset/patch.py:10
↓ 1 callers
Function
patch_document
( async_db: AsyncSession, document_uuid: str, update_data: Dict[str, Any] )
backend/app/service/rag/document/patch.py:10
↓ 1 callers
Method
postForm
(host: string, endpoint: string, formData: FormData)
frontend/app/api/backend.ts:92
↓ 1 callers
Method
predefined_models
(self)
backend/app/core/brainx/interface/ai_model.py:115
↓ 1 callers
Function
prev
()
frontend/app/(workspace)/space/(mine)/knowledge/[uuid]/upload/page.tsx:105
↓ 1 callers
Function
prev
()
frontend/app/(workspace)/space/(mine)/knowledge/config-dataset/index.tsx:27
↓ 1 callers
Method
processHttpErrorResponse
(res: Response)
frontend/app/openapi/backend.ts:155
↓ 1 callers
Method
processHttpErrorResponse
(res: Response)
frontend/app/api/backend.ts:128
↓ 1 callers
Method
processStatusErrorResponse
(result: APIResponse)
frontend/app/openapi/backend.ts:175
↓ 1 callers
Method
processStatusErrorResponse
(result: APIResponse)
frontend/app/api/backend.ts:153
↓ 1 callers
Method
processing_statuses
返回正在处理中的状态数组
backend/app/models/rag/document.py:57
↓ 1 callers
Method
provider_credentials_validate
(self, provider_id: str, credentials: dict)
backend/app/core/brainx/drivers/provider_factory.py:39
↓ 1 callers
Method
publish_event
通过特定队列的发布者发布事件
backend/app/events/manager.py:117
↓ 1 callers
Function
query_by_text
(question: str, tenant_uuid: str, provider: str,
backend/app/service/question_answer/query.py:38
↓ 1 callers
Method
query_echo
将传入的信息返回
backend/app/openapi/providers/powerx/service/base.py:67
↓ 1 callers
Method
query_get_version
获取 PowerX 的版本信息
backend/app/openapi/providers/powerx/service/base.py:58
↓ 1 callers
Method
reconnect
自动重连
backend/app/events/consumer.py:114
↓ 1 callers
Function
register_exception_handlers
(app: FastAPI)
backend/app/core/exception/handler.py:12
↓ 1 callers
Method
remember
Remember a value for a specified time to live (ttl) duration. If the key exists in cache, return it. Otherwise, call func to
backend/app/cache/interface.py:111
↓ 1 callers
Function
renderInput
(param: ParameterRule)
frontend/app/(workspace)/space/settings/model-provider/app-config-models/config-model-panel/dynamic-form.tsx:21
↓ 1 callers
Function
renderMenuItems
()
frontend/app/(workspace)/space/settings/model-provider/components/selection-system-model/index.tsx:100
↓ 1 callers
Function
renderText
()
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/configured-providers/index.tsx:120
↓ 1 callers
Method
reset_document
(self)
backend/app/service/task/rag/service.py:410
↓ 1 callers
Function
run_migrations_offline
Run migrations in 'offline' mode. This configures the context with just a URL and not an Engine, though an Engine is acceptable here as w
backend/alembic/env.py:29
↓ 1 callers
Function
run_migrations_online
Run migrations in 'online' mode. In this scenario we need to create an Engine and associate a connection with the context.
backend/alembic/env.py:53
↓ 1 callers
Function
saveDefaultModels
(option: RequestSaveDefaultModels)
frontend/app/api/model-provider/model.ts:245
↓ 1 callers
Method
save_graph_image
(self)
backend/app/core/workflow/graph.py:128
↓ 1 callers
Method
save_model_credentials
( self, tenant_uuid: str, model_type: ModelType, provider: str, model: str, credential
backend/app/service/model_provider/provider_model_service.py:49
↓ 1 callers
Method
save_model_provider_credentials
( self, tenant_uuid: str, provider: str, credentials: dict
backend/app/service/model_provider/provider_service.py:82
↓ 1 callers
Method
save_nodes_to_store_vector
(self, nodes: List[DocumentNode])
backend/app/core/rag/ingestion/interface.py:22
↓ 1 callers
Function
scrollToBottom
()
frontend/app/(workspace)/space/workspace/robot-chat/box/index.tsx:54
↓ 1 callers
Function
seedCustomers
(client)
frontend/app/scripts/seed.js:90
↓ 1 callers
Function
seedInvoices
(client)
frontend/app/scripts/seed.js:50
↓ 1 callers
Function
seedRevenue
(client)
frontend/app/scripts/seed.js:129
↓ 1 callers
Function
seedUsers
(client)
frontend/app/scripts/seed.js:11
↓ 1 callers
Function
seed_apps
(async_db: AsyncSession)
backend/app/database/seed/app.py:15
↓ 1 callers
Function
seed_default_tenant_models
(async_db: AsyncSession)
backend/app/database/seed/model_provider.py:11
↓ 1 callers
Function
seed_tenants
(async_db: AsyncSession)
backend/app/database/seed/tenant.py:11
↓ 1 callers
Function
seed_users
(async_db:AsyncSession)
backend/app/database/seed/user.py:11
↓ 1 callers
Function
selectMenu
(item: Item)
frontend/app/(workspace)/space/settings/page.tsx:81
↓ 1 callers
Method
set
设置缓存,支持设置过期时间(秒)
backend/app/cache/redis/redis_cache.py:29
↓ 1 callers
Function
setChangeModelStatus
(provider: string, model: ProviderModel)
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/configured-providers/index.tsx:85
↓ 1 callers
Method
set_input
(self, key: str, value: Any)
backend/app/core/workflow/node/base.py:141
↓ 1 callers
Method
set_node
(self, node: "BaseNode")
backend/app/core/workflow/context/manager.py:31
↓ 1 callers
Method
set_output
(self, key: str, value: Any)
backend/app/core/workflow/node/base.py:147
↓ 1 callers
Function
set_unix_permissions
设置 Linux/macOS 的文件或目录权限 :param path: 文件或目录路径 :param permissions: 权限数值(例如 0o755 或 0o644)
backend/app/utils/os.py:16
↓ 1 callers
Function
set_windows_permissions
设置 Windows 的文件或目录权限 :param path: 文件或目录路径 :param permissions: 权限数值(例如 0o666 或 0o444)
backend/app/utils/os.py:25
↓ 1 callers
Method
set_word_count
(self, document: Document, word_count: int)
backend/app/dao/rag/document.py:111
↓ 1 callers
Function
setup_uvicorn_logging
()
backend/app/logger/__init__.py:20
↓ 1 callers
Method
shutdown
(self)
backend/app/schedule/scheduler.py:63
↓ 1 callers
Method
shutdown_all
(self)
backend/app/events/manager.py:107
↓ 1 callers
Function
shutdown_events
()
backend/app/events/manager.py:166
↓ 1 callers
Function
sign_token
(user: User, secret_key, expires_in)
backend/app/service/user/login.py:14
↓ 1 callers
Function
sign_token
(platform: Platform, secret_key, expires_in)
backend/app/openapi/api/token.py:9
↓ 1 callers
Function
soft_delete_app
( async_db: AsyncSession, user_id: int, app_uuid: str )
backend/app/service/app/delete.py:8
↓ 1 callers
Function
soft_delete_conversation
( async_db: AsyncSession, user_id: int, conversation_uuid: str )
backend/app/service/conversation/delete.py:8
↓ 1 callers
Function
soft_delete_dataset
( async_db: AsyncSession, user_id: int, dataset_uuid: str )
backend/app/service/rag/dataset/delete.py:8
↓ 1 callers
Function
soft_delete_document
( async_db: AsyncSession, user_id: int, document_uuid: str )
backend/app/service/rag/document/delete.py:8
↓ 1 callers
Function
sort_by_position_map
Sort the objects by the position map. If the name of the object is not in the position map, it will be put at the end. :param position_ma
backend/app/utils/position_helper.py:97
↓ 1 callers
Method
split_large_segment
对超长的文本片段进行分割,以确保每个分段的长度不超过 max_length, 并且在分段之间添加 overlap 的重叠部分。处理通配符以避免被分割。 :param segment: 超长文本片段 :return: 文本段落列表
backend/app/core/rag/ingestion/splitter/drivers/custom/text.py:83
← previous
next →
501–600 of 1,531, ranked by callers