Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rag-web-ui/rag-web-ui
/ functions
Functions
202 in github.com/rag-web-ui/rag-web-ui
⨍
Functions
202
◇
Types & classes
117
↳
Endpoints
40
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
Method
add_documents
Add documents to Chroma
backend/app/services/vector_store/chroma.py:25
Method
add_documents
Add documents to the vector store
backend/app/services/vector_store/base.py:15
Function
add_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
Method
as_retriever
Return a retriever interface
backend/app/services/vector_store/chroma.py:33
Method
as_retriever
Return a retriever interface for the vector store
backend/app/services/vector_store/base.py:25
Function
checkProcessingStatus
()
frontend/src/app/dashboard/knowledge/[id]/upload/page.tsx:181
Function
cleanup_temp_files
Clean up expired temporary files.
backend/app/api/api_v1/knowledge_base.py:439
Method
constructor
(public status: number, message: string)
frontend/src/lib/api.ts:7
Method
create
Factory method to create an embeddings instance based on .env config.
backend/app/services/embedding/embedding_factory.py:10
Method
create
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
Function
createAPIKey
()
frontend/src/app/dashboard/api-keys/page.tsx:83
Function
create_access_token
(data: dict, expires_delta: Optional[timedelta] = None)
backend/app/core/security.py:22
Function
create_api_key
Create new API key.
backend/app/api/api_v1/api_keys.py:30
Function
create_chat
( *, db: Session = Depends(get_db), chat_in: ChatCreate, current_user: User = Depends(get_curr
backend/app/api/api_v1/chat.py:22
Function
create_knowledge_base
Create new knowledge base.
backend/app/api/api_v1/knowledge_base.py:42
Function
create_message
( *, db: Session = Depends(get_db), chat_id: int, messages: dict, current_user: User = Dep
backend/app/api/api_v1/chat.py:90
Method
delete
Delete documents from Chroma
backend/app/services/vector_store/chroma.py:29
Method
delete
Delete documents from the vector store
backend/app/services/vector_store/base.py:20
Function
delete_api_key
Delete API key.
backend/app/api/api_v1/api_keys.py:67
Function
delete_chat
( *, db: Session = Depends(get_db), chat_id: int, current_user: User = Depends(get_current_use
backend/app/api/api_v1/chat.py:136
Method
delete_collection
Delete the entire collection
backend/app/services/vector_store/chroma.py:45
Method
delete_collection
Delete the entire collection
backend/app/services/vector_store/base.py:40
Function
delete_knowledge_base
Delete knowledge base and all associated resources.
backend/app/api/api_v1/knowledge_base.py:140
Function
downgrade
()
backend/alembic/versions/5be054bd6587_add_document_upload_id_to_processing_.py:31
Function
downgrade
()
backend/alembic/versions/e214adf7fb66_add_api_keys_table.py:43
Function
downgrade
()
backend/alembic/versions/initial_schema.py:134
Function
downgrade
()
backend/alembic/versions/3580c0dcd005_increase_api_key_length.py:30
Function
downgrade
()
backend/alembic/versions/59cfa0f1361d_rename_metadata_to_chunk_metadata.py:70
Function
downgrade
()
backend/alembic/versions/fd73eebc87c1_add_document_uploads_table.py:41
Function
get_api_key_user
( db: Session = Depends(get_db), api_key: str = Security(api_key_header), )
backend/app/core/security.py:60
Function
get_chat
( *, db: Session = Depends(get_db), chat_id: int, current_user: User = Depends(get_current_use
backend/app/api/api_v1/chat.py:71
Function
get_chats
( db: Session = Depends(get_db), current_user: User = Depends(get_current_user), skip: int = 0,
backend/app/api/api_v1/chat.py:55
Function
get_current_user
( db: Session = Depends(get_db), token: str = Depends(oauth2_scheme) )
backend/app/core/security.py:32
Method
get_database_url
(self)
backend/app/core/config.py:21
Function
get_db
()
backend/app/db/session.py:8
Function
get_document
Get document details by ID.
backend/app/api/api_v1/knowledge_base.py:511
Function
get_knowledge_base
Get knowledge base by ID.
backend/app/api/api_v1/knowledge_base.py:82
Function
get_knowledge_bases
Retrieve knowledge bases.
backend/app/api/api_v1/knowledge_base.py:63
Function
get_password_hash
(password: str)
backend/app/core/security.py:19
Function
get_processing_tasks
Get status of multiple processing tasks.
backend/app/api/api_v1/knowledge_base.py:468
Function
handleFileUpload
()
frontend/src/components/knowledge-base/document-upload-steps.tsx:137
Function
handleLogout
()
frontend/src/components/layout/dashboard-layout.tsx:25
Function
handlePreview
()
frontend/src/components/knowledge-base/document-upload-steps.tsx:200
Function
handleProcessClick
(e: React.MouseEvent)
frontend/src/components/knowledge-base/document-upload-steps.tsx:347
Function
handleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/app/register/page.tsx:63
Function
handleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/app/login/page.tsx:18
Function
handleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/app/dashboard/chat/new/page.tsx:48
Function
handleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/app/dashboard/knowledge/new/page.tsx:23
Function
health_check
()
backend/app/main.py:41
Function
login_access_token
OAuth2 compatible token login, get an access token for future requests.
backend/app/api/api_v1/auth.py:57
Function
preview_kb_documents
Preview multiple documents' chunks.
backend/app/api/api_v1/knowledge_base.py:298
Function
processMessageContent
(message: Message)
frontend/src/app/dashboard/chat/[id]/page.tsx:155
Function
process_document
Process document and store in vector database with incremental updates
backend/app/services/document_processor.py:50
Function
process_kb_documents
Process multiple documents asynchronously.
backend/app/api/api_v1/knowledge_base.py:339
Function
query_knowledge_base
Query a specific knowledge base using API key authentication
backend/app/api/openapi/knowledge.py:16
Function
read_api_keys
Retrieve API keys.
backend/app/api/api_v1/api_keys.py:15
Function
register
Register a new user.
backend/app/api/api_v1/auth.py:19
Method
register_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
Function
root
()
backend/app/main.py:36
Method
similarity_search
Search for similar documents in Chroma
backend/app/services/vector_store/chroma.py:37
Method
similarity_search
Search for similar documents in Qdrant
backend/app/services/vector_store/qdrant.py:33
Method
similarity_search
Search for similar documents
backend/app/services/vector_store/base.py:30
Method
similarity_search_with_score
Search for similar documents in Chroma with score
backend/app/services/vector_store/chroma.py:41
Method
similarity_search_with_score
Search for similar documents with score
backend/app/services/vector_store/base.py:35
Function
startProcessing
()
frontend/src/app/dashboard/knowledge/[id]/upload/page.tsx:136
Function
startup_event
()
backend/app/main.py:27
Method
test_chat_provider_minimax
Verify CHAT_PROVIDER can be set to minimax.
backend/tests/test_minimax_unit.py:36
Method
test_create_minimax_provider
LLMFactory.create() returns ChatOpenAI for minimax provider.
backend/tests/test_minimax_unit.py:48
Method
test_deepseek_provider_unchanged
DeepSeek provider still works correctly.
backend/tests/test_minimax_unit.py:222
Method
test_minimax_api_key_passed
MiniMax API key is correctly passed to ChatOpenAI.
backend/tests/test_minimax_unit.py:190
Method
test_minimax_case_insensitive
Provider name matching is case-insensitive.
backend/tests/test_minimax_unit.py:157
Method
test_minimax_custom_base_url
MiniMax provider works with custom API base URL.
backend/tests/test_minimax_unit.py:171
Method
test_minimax_highspeed_model
MiniMax-M2.7-highspeed model works correctly.
backend/tests/test_minimax_integration.py:47
Method
test_minimax_highspeed_model
MiniMax highspeed model variant works correctly.
backend/tests/test_minimax_unit.py:129
Method
test_minimax_settings_defaults
Verify default values for MiniMax settings.
backend/tests/test_minimax_unit.py:11
Method
test_minimax_settings_from_env
Verify MiniMax settings loaded from environment variables.
backend/tests/test_minimax_unit.py:22
Method
test_minimax_simple_completion
MiniMax can generate a simple text completion.
backend/tests/test_minimax_integration.py:40
Method
test_minimax_streaming_disabled
MiniMax provider can disable streaming.
backend/tests/test_minimax_unit.py:116
Method
test_minimax_streaming_enabled
MiniMax provider supports streaming by default.
backend/tests/test_minimax_unit.py:103
Method
test_minimax_streaming_response
MiniMax streaming mode produces chunks.
backend/tests/test_minimax_integration.py:54
Method
test_minimax_temperature_clamping_high
Temperature > 1.0 is clamped to 1.0 for MiniMax API.
backend/tests/test_minimax_unit.py:77
Method
test_minimax_temperature_clamping_zero
Temperature 0 is clamped to 0.01 for MiniMax API.
backend/tests/test_minimax_unit.py:64
Method
test_minimax_temperature_valid
Valid temperature passes through unchanged.
backend/tests/test_minimax_unit.py:90
Method
test_minimax_via_default_provider
MiniMax selected via CHAT_PROVIDER setting when no provider arg given.
backend/tests/test_minimax_unit.py:142
Method
test_openai_provider_unchanged
OpenAI provider still works correctly.
backend/tests/test_minimax_unit.py:207
Function
test_retrieval
Test retrieval quality for a given query against a knowledge base.
backend/app/api/api_v1/knowledge_base.py:538
Function
test_token
Test access token by getting current user.
backend/app/api/api_v1/auth.py:84
Method
test_unsupported_provider_raises
Unsupported provider raises ValueError.
backend/tests/test_minimax_unit.py:183
Function
update
(props: ToasterToast)
frontend/src/components/ui/use-toast.ts:148
Function
update_api_key
Update API key.
backend/app/api/api_v1/api_keys.py:46
Function
update_knowledge_base
Update knowledge base.
backend/app/api/api_v1/knowledge_base.py:112
Function
upgrade
()
backend/alembic/versions/5be054bd6587_add_document_upload_id_to_processing_.py:21
Function
upgrade
()
backend/alembic/versions/e214adf7fb66_add_api_keys_table.py:21
Function
upgrade
()
backend/alembic/versions/initial_schema.py:19
Function
upgrade
()
backend/alembic/versions/3580c0dcd005_increase_api_key_length.py:21
Function
upgrade
()
backend/alembic/versions/59cfa0f1361d_rename_metadata_to_chunk_metadata.py:21
Function
upgrade
()
backend/alembic/versions/fd73eebc87c1_add_document_uploads_table.py:19
Function
upload_document
Step 1: Upload document to MinIO
backend/app/services/document_processor.py:140
← previous
next →
101–200 of 202, ranked by callers