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
Function
get_apps_from_data
(async_db: AsyncSession, data: list[dict])
backend/app/database/seed/app.py:70
↓ 1 callers
Method
get_block_by_id
根据 block_id 从 blocks 列表中获取对应的 Block 对象。
backend/app/core/rag/ingestion/splitter/drivers/custom/text.py:132
↓ 1 callers
Function
get_cached_message_list
( async_db: AsyncSession, conversation_uuid: str, pagination: Pagination, )
backend/app/service/message/list.py:19
↓ 1 callers
Method
get_cached_message_list
( self, conversation_uuid: str, p: Pagination )
backend/app/service/message/service.py:17
↓ 1 callers
Method
get_chat_history
(self, session_id: str)
backend/app/dao/robot_chat/message.py:21
↓ 1 callers
Method
get_connected_datasets
(self, app_uuid: str)
backend/app/dao/rag/dataset.py:142
↓ 1 callers
Function
get_content_type_from_base64
(base64_data: str)
backend/app/utils/media.py:108
↓ 1 callers
Method
get_content_type_names
(cls)
backend/app/models/rag/document.py:34
↓ 1 callers
Function
get_conversation_list
( async_db: AsyncSession, pagination: Pagination, app_uuid: str | None = None )
backend/app/service/conversation/list.py:16
↓ 1 callers
Method
get_credentials
(self, model_id: str)
backend/app/core/brainx/entity/provider_bundle.py:20
↓ 1 callers
Method
get_current_credentials
(self, model_type: ModelType, model: str)
backend/app/core/brainx/entity/provider_config.py:439
↓ 1 callers
Method
get_custom_credentials
(self, desensitized: bool = False)
backend/app/core/brainx/entity/provider_config.py:208
↓ 1 callers
Method
get_custom_model_credentials
( self, model_type: ModelType, model: str, desensitized: bool = False )
backend/app/core/brainx/entity/provider_config.py:317
↓ 1 callers
Method
get_customizable_model_schema
(self, model: str, credentials: dict)
backend/app/core/brainx/interface/ai_model.py:40
↓ 1 callers
Method
get_customizable_model_schema_from_credentials
Get customizable model schema from credentials :param model: model name :param credentials: model credentials :retur
backend/app/core/brainx/interface/ai_model.py:52
↓ 1 callers
Function
get_dataset_by_uuid
( async_db: AsyncSession, user: User, dataset_uuid: str )
backend/app/service/rag/dataset/get.py:10
↓ 1 callers
Function
get_dataset_list
( async_db: AsyncSession, tenant_uuid: str, pagination: Pagination, conditions: Dict[str, Any]
backend/app/service/rag/dataset/list.py:16
↓ 1 callers
Function
get_dataset_list_with_connected_app
( async_db: AsyncSession, tenant_uuid: str, app_uuid: str, only_connected: bool, )
backend/app/service/rag/dataset/list_with_app.py:10
↓ 1 callers
Method
get_dataset_list_with_connected_app
( self, tenant_uuid: str, app_uuid: str = None, )
backend/app/dao/rag/dataset.py:45
↓ 1 callers
Function
get_decrypt_decoding
(tenant_uuid)
backend/app/core/libs/rsa.py:78
↓ 1 callers
Method
get_default_model_by_uuid
(self, tenant_uuid: str, model_type: str)
backend/app/dao/tenant/tenant_default_model.py:33
↓ 1 callers
Method
get_default_model_of_model_type
(self, tenant_uuid: str, model_type: str)
backend/app/service/model_provider/provider_model_service.py:236
↓ 1 callers
Function
get_document_by_uuid
( async_db: AsyncSession, user: User, document_uuid: str )
backend/app/service/rag/document/get.py:10
↓ 1 callers
Function
get_document_list
( async_db: AsyncSession, tenant_uuid: str, dataset_uuid: str, pagination: Pagination )
backend/app/service/rag/document/list.py:16
↓ 1 callers
Function
get_document_list_by_documents
( async_db: AsyncSession, tenant_uuid: str, documents_uuids: List[str], pagination: Pagination,
backend/app/service/rag/document/list.py:41
↓ 1 callers
Method
get_event_channel
建立与 RabbitMQ 的连接和频道,支持重试
backend/app/events/publisher.py:18
↓ 1 callers
Method
get_extractor
( extractor_type: str, file_input: Union[str, BytesIO] )
backend/app/core/rag/ingestion/extractor/factory.py:15
↓ 1 callers
Function
get_file_type_from_magic_numbers
(base64_data: str)
backend/app/utils/media.py:119
↓ 1 callers
Method
get_first_provider_first_model
(self, tenant_uuid: str, model_type: ModelType)
backend/app/core/brainx/provider_manager.py:590
↓ 1 callers
Method
get_instance
(cls, *args, **kwargs)
backend/app/events/manager.py:30
↓ 1 callers
Function
get_media_resource_by_uuid
( async_db: AsyncSession, user: User, media_resource_uuid: str )
backend/app/service/media_resource/get.py:10
↓ 1 callers
Function
get_media_resource_list
( async_db: AsyncSession, pagination: Pagination )
backend/app/service/media_resource/list.py:13
↓ 1 callers
Method
get_model_credentials
( self, tenant_uuid: str, model_type: str, provider: str, model: str, )
backend/app/service/model_provider/provider_model_service.py:118
↓ 1 callers
Method
get_model_parameter_rules
(self, tenant_uuid: str, model: str, provider: str)
backend/app/service/model_provider/provider_model_service.py:311
↓ 1 callers
Method
get_model_provider_icon
get model provider icon. :param provider: provider name :param icon_type: icon type (icon_small or icon_large) :para
backend/app/core/brainx/providers/registry.py:113
↓ 1 callers
Method
get_model_type_instance
Get current model type instance. :param model_type: model type :param model_id: model id :return:
backend/app/core/brainx/entity/provider_config.py:45
↓ 1 callers
Method
get_models_by_model_type
(self, tenant_uuid: str, model_type: str)
backend/app/service/model_provider/provider_model_service.py:181
↓ 1 callers
Method
get_models_by_provider
(self, tenant_uuid: str, provider_id: str)
backend/app/service/model_provider/provider_model_service.py:35
↓ 1 callers
Function
get_node_info_list
()
backend/app/service/workflow/node/list.py:6
↓ 1 callers
Method
get_node_list
(self)
backend/app/core/workflow/context/manager.py:22
↓ 1 callers
Method
get_oss_resource_uri
(bucket: str, key: str)
backend/app/service/media_resource/service.py:77
↓ 1 callers
Method
get_oss_resource_url
(resource: MediaResource | MediaResourceSchema)
backend/app/service/media_resource/service.py:81
↓ 1 callers
Function
get_oss_url
(uri: str)
backend/app/utils/url.py:36
↓ 1 callers
Function
get_position_map
(folder_path: str, *, file_name: str = "_position.yaml")
backend/app/utils/position_helper.py:9
↓ 1 callers
Method
get_provider_credentials
(self, tenant_uuid: str, provider_id: str)
backend/app/service/model_provider/provider_service.py:141
↓ 1 callers
Method
get_provider_entity
Get provider instance by provider name :param provider: provider name :return: provider instance
backend/app/core/brainx/providers/registry.py:93
↓ 1 callers
Method
get_provider_list
(self, tenant_uuid: str, model_type: str)
backend/app/service/model_provider/provider_service.py:28
↓ 1 callers
Method
get_provider_model
(self, params: dict = None)
backend/app/core/brainx/providers/wenxin/llm/llm.py:25
↓ 1 callers
Method
get_provider_model
(self, params: dict = None)
backend/app/core/brainx/providers/openai/llm/llm.py:29
↓ 1 callers
Method
get_provider_model
(self)
backend/app/core/brainx/providers/huggingface_hub/text_embedding/text_embedding.py:20
↓ 1 callers
Method
get_provider_model_bundle
( self, tenant_uuid: str, model_type: ModelType, provider_id: str, model_id: str)
backend/app/core/brainx/provider_manager.py:104
↓ 1 callers
Method
get_provider_model_setting
(self, model_type: ModelType, model: str)
backend/app/core/brainx/entity/provider_config.py:65
↓ 1 callers
Method
get_provider_models
( self, model_type: Optional[ModelType] = None, only_active: bool = False, model: Optional[str] =
backend/app/core/brainx/entity/provider_config.py:264
↓ 1 callers
Method
get_retriever
(vector_store_driver: VectorStoreDriver = None, collection_name: str = settings.agent.ve
backend/app/core/rag/retrieval/factory.py:12
↓ 1 callers
Method
get_splitter
()
backend/app/core/rag/ingestion/splitter/factory.py:16
↓ 1 callers
Function
get_storage_complete_url
获取完整的存储URL或文件路径 Args: resource_url: 资源URL或路径 Returns: Tuple[str, str]: (完整URL或文件路径, 类型['url'|'file'])
backend/app/utils/url.py:49
↓ 1 callers
Function
get_storage_path
(uri: str)
backend/app/utils/url.py:18
↓ 1 callers
Function
get_sync_db_session_dep
()
backend/app/database/deps.py:52
↓ 1 callers
Method
get_tenant_default_model_from_config
(self, user: User)
backend/app/dao/tenant/tenant_default_model.py:65
↓ 1 callers
Function
get_visual_query_embedding_model
()
backend/app/core/brainx/base.py:182
↓ 1 callers
Function
get_visual_search_embedding_model
()
backend/app/core/brainx/base.py:178
↓ 1 callers
Function
handleChangeSegmentMaxChunkLength
(inputValue: any)
frontend/app/(workspace)/space/(mine)/knowledge/[uuid]/upload/page.tsx:214
↓ 1 callers
Function
handleChangeSegmentOverlapChunkLength
(inputValue: any)
frontend/app/(workspace)/space/(mine)/knowledge/[uuid]/upload/page.tsx:224
↓ 1 callers
Function
handleClickConversation
(conversation: any)
frontend/app/(workspace)/space/workspace/robot-chat/conversation/index.tsx:11
↓ 1 callers
Function
handleClickDataset
(e: any, record: Dataset)
frontend/app/(workspace)/space/(mine)/knowledge/list/index.tsx:70
↓ 1 callers
Function
handleClickEnable
(e: any, value: boolean, dataset: Dataset)
frontend/app/(workspace)/space/(mine)/knowledge/list/index.tsx:193
↓ 1 callers
Function
handleConnectDataset
(dataset: Dataset)
frontend/app/(workspace)/space/(mine)/profile/knowledge/selectKnowledge/index.tsx:70
↓ 1 callers
Function
handleDelete
(record: Dataset)
frontend/app/(workspace)/space/(mine)/knowledge/list/index.tsx:65
↓ 1 callers
Function
handleDeleteDocument
(e: any, document: any)
frontend/app/(workspace)/space/(mine)/knowledge/[uuid]/upload/page.tsx:196
↓ 1 callers
Function
handleDisconnectDataset
(dataset: Dataset)
frontend/app/(workspace)/space/(mine)/profile/knowledge/selectKnowledge/index.tsx:98
↓ 1 callers
Function
handleEdit
()
frontend/app/(workspace)/space/(mine)/profile/persona/index.tsx:35
↓ 1 callers
Function
handleEdit
(record: Dataset)
frontend/app/(workspace)/space/(mine)/knowledge/list/index.tsx:61
↓ 1 callers
Function
handleEditPersona
()
frontend/app/(workspace)/space/(mine)/profile/index.tsx:43
↓ 1 callers
Function
handleImagesClear
()
frontend/app/(workspace)/space/workspace/robot-chat/box/index.tsx:97
↓ 1 callers
Function
handleMouseEnterItem
(provider: string, modelKey: string)
frontend/app/(workspace)/space/settings/model-provider/components/selection-system-model/index.tsx:38
↓ 1 callers
Function
handleSelectModel
(key: any)
frontend/app/(workspace)/space/settings/model-provider/components/selection-system-model/index.tsx:77
↓ 1 callers
Function
handleSetDeleteAllUrls
(e: any)
frontend/app/(workspace)/space/(mine)/knowledge/[uuid]/upload/page.tsx:243
↓ 1 callers
Function
handleSetReplaceSymbol
(e: any)
frontend/app/(workspace)/space/(mine)/knowledge/[uuid]/upload/page.tsx:234
↓ 1 callers
Function
handleToConfig
(provider: ProviderWithModels, model: ProviderModelWithStatusEntity)
frontend/app/(workspace)/space/settings/model-provider/components/selection-system-model/index.tsx:93
↓ 1 callers
Method
http_get
(self, url: str, params: Any = None, use_auth: bool = True, headers: dict = None)
backend/app/openapi/providers/service_provider.py:18
↓ 1 callers
Function
image_base64_to_embed
(image_string: str, clip_model: SentenceTransformer)
backend/app/utils/media.py:53
↓ 1 callers
Function
initI18next
(lng: Locale, ns: string)
frontend/i18n/server.ts:12
↓ 1 callers
Method
init_router
(self)
backend/app/core/agent_bot/agent.py:132
↓ 1 callers
Method
init_scheduler
(self)
backend/app/schedule/scheduler.py:68
↓ 1 callers
Method
init_text_datasets
(self)
backend/app/core/agent_bot/agent.py:111
↓ 1 callers
Method
init_user
(self, user: User)
backend/app/service/user/service.py:29
↓ 1 callers
Method
is_baidu_model
判断是否为百度模型
backend/app/core/brainx/base.py:62
↓ 1 callers
Method
is_custom_configuration_available
(self)
backend/app/core/brainx/entity/provider_config.py:62
↓ 1 callers
Method
is_kimi_model
判断是否为Kimi模型
backend/app/core/brainx/base.py:90
↓ 1 callers
Method
is_locked
(self, lock_key: str)
backend/app/cache/interface.py:47
↓ 1 callers
Method
is_ollama_model
判断是否为Ollama模型
backend/app/core/brainx/base.py:114
↓ 1 callers
Method
is_openai_model
判断是否为OpenAI模型
backend/app/core/brainx/base.py:76
↓ 1 callers
Method
is_tencent_hunyuan_model
判断是否为腾讯模型
backend/app/core/brainx/base.py:69
↓ 1 callers
Function
iterateKeys
(obj, prefix = '')
frontend/i18n/check-i18n.js:33
↓ 1 callers
Method
llm_chat_stream
( self, question: Dict, app: App = None, temperature: float =
backend/app/core/brainx/model_instance.py:78
↓ 1 callers
Method
load
Initialize the document based on the input.
backend/app/core/rag/ingestion/extractor/drivers/pdf/pdf.py:17
↓ 1 callers
Function
loadLangResources
(lang: string)
frontend/i18n/i18next-config.ts:7
↓ 1 callers
Function
loadModels
(provider_id: string)
frontend/app/(workspace)/space/settings/model-provider/system-model-setting/configured-providers/index.tsx:63
↓ 1 callers
Function
load_app_tools
()
backend/app/__init__.py:16
↓ 1 callers
Function
load_document
(document_url: str)
backend/app/utils/document.py:15
← previous
next →
401–500 of 1,531, ranked by callers