MCPcopy Create free account

hub / github.com/rag-web-ui/rag-web-ui / functions

Functions202 in github.com/rag-web-ui/rag-web-ui

Method__init__
Initialize Qdrant vector store
backend/app/services/vector_store/qdrant.py:12
Method__init__
Initialize the vector store
backend/app/services/vector_store/base.py:10
Methodadd_documents
Add documents to Chroma
backend/app/services/vector_store/chroma.py:25
Methodadd_documents
Add documents to the vector store
backend/app/services/vector_store/base.py:15
Functionadd_processing_tasks_to_queue
Helper function to add document processing tasks to the queue without blocking the main response.
backend/app/api/api_v1/knowledge_base.py:424
Methodas_retriever
Return a retriever interface
backend/app/services/vector_store/chroma.py:33
Methodas_retriever
Return a retriever interface for the vector store
backend/app/services/vector_store/base.py:25
FunctioncheckProcessingStatus
()
frontend/src/app/dashboard/knowledge/[id]/upload/page.tsx:181
Functioncleanup_temp_files
Clean up expired temporary files.
backend/app/api/api_v1/knowledge_base.py:439
Methodconstructor
(public status: number, message: string)
frontend/src/lib/api.ts:7
Methodcreate
Factory method to create an embeddings instance based on .env config.
backend/app/services/embedding/embedding_factory.py:10
Methodcreate
Create a vector store instance Args: store_type: Type of vector store ('chroma', 'qdrant', etc.) collection_n
backend/app/services/vector_store/factory.py:17
FunctioncreateAPIKey
()
frontend/src/app/dashboard/api-keys/page.tsx:83
Functioncreate_access_token
(data: dict, expires_delta: Optional[timedelta] = None)
backend/app/core/security.py:22
Functioncreate_api_key
Create new API key.
backend/app/api/api_v1/api_keys.py:30
Functioncreate_chat
( *, db: Session = Depends(get_db), chat_in: ChatCreate, current_user: User = Depends(get_curr
backend/app/api/api_v1/chat.py:22
Functioncreate_knowledge_base
Create new knowledge base.
backend/app/api/api_v1/knowledge_base.py:42
Functioncreate_message
( *, db: Session = Depends(get_db), chat_id: int, messages: dict, current_user: User = Dep
backend/app/api/api_v1/chat.py:90
Methoddelete
Delete documents from Chroma
backend/app/services/vector_store/chroma.py:29
Methoddelete
Delete documents from the vector store
backend/app/services/vector_store/base.py:20
Functiondelete_api_key
Delete API key.
backend/app/api/api_v1/api_keys.py:67
Functiondelete_chat
( *, db: Session = Depends(get_db), chat_id: int, current_user: User = Depends(get_current_use
backend/app/api/api_v1/chat.py:136
Methoddelete_collection
Delete the entire collection
backend/app/services/vector_store/chroma.py:45
Methoddelete_collection
Delete the entire collection
backend/app/services/vector_store/base.py:40
Functiondelete_knowledge_base
Delete knowledge base and all associated resources.
backend/app/api/api_v1/knowledge_base.py:140
Functiondowngrade
()
backend/alembic/versions/5be054bd6587_add_document_upload_id_to_processing_.py:31
Functiondowngrade
()
backend/alembic/versions/e214adf7fb66_add_api_keys_table.py:43
Functiondowngrade
()
backend/alembic/versions/initial_schema.py:134
Functiondowngrade
()
backend/alembic/versions/3580c0dcd005_increase_api_key_length.py:30
Functiondowngrade
()
backend/alembic/versions/59cfa0f1361d_rename_metadata_to_chunk_metadata.py:70
Functiondowngrade
()
backend/alembic/versions/fd73eebc87c1_add_document_uploads_table.py:41
Functionget_api_key_user
( db: Session = Depends(get_db), api_key: str = Security(api_key_header), )
backend/app/core/security.py:60
Functionget_chat
( *, db: Session = Depends(get_db), chat_id: int, current_user: User = Depends(get_current_use
backend/app/api/api_v1/chat.py:71
Functionget_chats
( db: Session = Depends(get_db), current_user: User = Depends(get_current_user), skip: int = 0,
backend/app/api/api_v1/chat.py:55
Functionget_current_user
( db: Session = Depends(get_db), token: str = Depends(oauth2_scheme) )
backend/app/core/security.py:32
Methodget_database_url
(self)
backend/app/core/config.py:21
Functionget_db
()
backend/app/db/session.py:8
Functionget_document
Get document details by ID.
backend/app/api/api_v1/knowledge_base.py:511
Functionget_knowledge_base
Get knowledge base by ID.
backend/app/api/api_v1/knowledge_base.py:82
Functionget_knowledge_bases
Retrieve knowledge bases.
backend/app/api/api_v1/knowledge_base.py:63
Functionget_password_hash
(password: str)
backend/app/core/security.py:19
Functionget_processing_tasks
Get status of multiple processing tasks.
backend/app/api/api_v1/knowledge_base.py:468
FunctionhandleFileUpload
()
frontend/src/components/knowledge-base/document-upload-steps.tsx:137
FunctionhandleLogout
()
frontend/src/components/layout/dashboard-layout.tsx:25
FunctionhandlePreview
()
frontend/src/components/knowledge-base/document-upload-steps.tsx:200
FunctionhandleProcessClick
(e: React.MouseEvent)
frontend/src/components/knowledge-base/document-upload-steps.tsx:347
FunctionhandleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/app/register/page.tsx:63
FunctionhandleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/app/login/page.tsx:18
FunctionhandleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/app/dashboard/chat/new/page.tsx:48
FunctionhandleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/app/dashboard/knowledge/new/page.tsx:23
Functionhealth_check
()
backend/app/main.py:41
Functionlogin_access_token
OAuth2 compatible token login, get an access token for future requests.
backend/app/api/api_v1/auth.py:57
Functionpreview_kb_documents
Preview multiple documents' chunks.
backend/app/api/api_v1/knowledge_base.py:298
FunctionprocessMessageContent
(message: Message)
frontend/src/app/dashboard/chat/[id]/page.tsx:155
Functionprocess_document
Process document and store in vector database with incremental updates
backend/app/services/document_processor.py:50
Functionprocess_kb_documents
Process multiple documents asynchronously.
backend/app/api/api_v1/knowledge_base.py:339
Functionquery_knowledge_base
Query a specific knowledge base using API key authentication
backend/app/api/openapi/knowledge.py:16
Functionread_api_keys
Retrieve API keys.
backend/app/api/api_v1/api_keys.py:15
Functionregister
Register a new user.
backend/app/api/api_v1/auth.py:19
Methodregister_store
Register a new vector store implementation Args: name: Name of the vector store type store_class: Vector stor
backend/app/services/vector_store/factory.py:52
Functionroot
()
backend/app/main.py:36
Methodsimilarity_search
Search for similar documents in Chroma
backend/app/services/vector_store/chroma.py:37
Methodsimilarity_search
Search for similar documents in Qdrant
backend/app/services/vector_store/qdrant.py:33
Methodsimilarity_search
Search for similar documents
backend/app/services/vector_store/base.py:30
Methodsimilarity_search_with_score
Search for similar documents in Chroma with score
backend/app/services/vector_store/chroma.py:41
Methodsimilarity_search_with_score
Search for similar documents with score
backend/app/services/vector_store/base.py:35
FunctionstartProcessing
()
frontend/src/app/dashboard/knowledge/[id]/upload/page.tsx:136
Functionstartup_event
()
backend/app/main.py:27
Methodtest_chat_provider_minimax
Verify CHAT_PROVIDER can be set to minimax.
backend/tests/test_minimax_unit.py:36
Methodtest_create_minimax_provider
LLMFactory.create() returns ChatOpenAI for minimax provider.
backend/tests/test_minimax_unit.py:48
Methodtest_deepseek_provider_unchanged
DeepSeek provider still works correctly.
backend/tests/test_minimax_unit.py:222
Methodtest_minimax_api_key_passed
MiniMax API key is correctly passed to ChatOpenAI.
backend/tests/test_minimax_unit.py:190
Methodtest_minimax_case_insensitive
Provider name matching is case-insensitive.
backend/tests/test_minimax_unit.py:157
Methodtest_minimax_custom_base_url
MiniMax provider works with custom API base URL.
backend/tests/test_minimax_unit.py:171
Methodtest_minimax_highspeed_model
MiniMax-M2.7-highspeed model works correctly.
backend/tests/test_minimax_integration.py:47
Methodtest_minimax_highspeed_model
MiniMax highspeed model variant works correctly.
backend/tests/test_minimax_unit.py:129
Methodtest_minimax_settings_defaults
Verify default values for MiniMax settings.
backend/tests/test_minimax_unit.py:11
Methodtest_minimax_settings_from_env
Verify MiniMax settings loaded from environment variables.
backend/tests/test_minimax_unit.py:22
Methodtest_minimax_simple_completion
MiniMax can generate a simple text completion.
backend/tests/test_minimax_integration.py:40
Methodtest_minimax_streaming_disabled
MiniMax provider can disable streaming.
backend/tests/test_minimax_unit.py:116
Methodtest_minimax_streaming_enabled
MiniMax provider supports streaming by default.
backend/tests/test_minimax_unit.py:103
Methodtest_minimax_streaming_response
MiniMax streaming mode produces chunks.
backend/tests/test_minimax_integration.py:54
Methodtest_minimax_temperature_clamping_high
Temperature > 1.0 is clamped to 1.0 for MiniMax API.
backend/tests/test_minimax_unit.py:77
Methodtest_minimax_temperature_clamping_zero
Temperature 0 is clamped to 0.01 for MiniMax API.
backend/tests/test_minimax_unit.py:64
Methodtest_minimax_temperature_valid
Valid temperature passes through unchanged.
backend/tests/test_minimax_unit.py:90
Methodtest_minimax_via_default_provider
MiniMax selected via CHAT_PROVIDER setting when no provider arg given.
backend/tests/test_minimax_unit.py:142
Methodtest_openai_provider_unchanged
OpenAI provider still works correctly.
backend/tests/test_minimax_unit.py:207
Functiontest_retrieval
Test retrieval quality for a given query against a knowledge base.
backend/app/api/api_v1/knowledge_base.py:538
Functiontest_token
Test access token by getting current user.
backend/app/api/api_v1/auth.py:84
Methodtest_unsupported_provider_raises
Unsupported provider raises ValueError.
backend/tests/test_minimax_unit.py:183
Functionupdate
(props: ToasterToast)
frontend/src/components/ui/use-toast.ts:148
Functionupdate_api_key
Update API key.
backend/app/api/api_v1/api_keys.py:46
Functionupdate_knowledge_base
Update knowledge base.
backend/app/api/api_v1/knowledge_base.py:112
Functionupgrade
()
backend/alembic/versions/5be054bd6587_add_document_upload_id_to_processing_.py:21
Functionupgrade
()
backend/alembic/versions/e214adf7fb66_add_api_keys_table.py:21
Functionupgrade
()
backend/alembic/versions/initial_schema.py:19
Functionupgrade
()
backend/alembic/versions/3580c0dcd005_increase_api_key_length.py:21
Functionupgrade
()
backend/alembic/versions/59cfa0f1361d_rename_metadata_to_chunk_metadata.py:21
Functionupgrade
()
backend/alembic/versions/fd73eebc87c1_add_document_uploads_table.py:19
Functionupload_document
Step 1: Upload document to MinIO
backend/app/services/document_processor.py:140
← previousnext →101–200 of 202, ranked by callers