Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bionic-gpt/bionic-gpt
/ functions
Functions
924 in github.com/bionic-gpt/bionic-gpt
⨍
Functions
924
◇
Types & classes
318
↓ 114 callers
Function
get_permisisons
( transaction: &Transaction<'_>, authentication: &Authentication, team_public_id: &str, )
crates/db/authz.rs:83
↓ 73 callers
Function
redirect_and_snackbar
( url: &str, message: impl Into<String>, )
crates/web-server/layout.rs:7
↓ 70 callers
Method
as_str
(&self)
crates/web-server/locale.rs:12
↓ 64 callers
Function
click_when_visible
(driver: &WebDriver, by: By)
crates/integration-testing/tests/common.rs:22
↓ 57 callers
Function
page
( rbac: Rbac, team_id: String, teams: Vec<TeamOwner>, invites: Vec<InviteSummary>, current
crates/web-pages/teams/page.rs:12
↓ 56 callers
Method
into_response
(self)
crates/web-server/errors.rs:53
↓ 45 callers
Function
render
(params: &SidebarParams, labels: &SidebarLabels)
crates/web-pages/app_layout/sidebar.rs:6
↓ 40 callers
Method
addEventListener
( type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, opt
crates/web-assets/typescript/console/speach-to-text.ts:158
↓ 38 callers
Function
json_response
(response: JsonRpcResponse)
crates/web-server/handlers/mcp/mod.rs:815
↓ 36 callers
Function
global
()
crates/db/i18n.rs:170
↓ 36 callers
Function
set_input
(driver: &WebDriver, by: By, value: &str)
crates/integration-testing/tests/common.rs:27
↓ 34 callers
Method
ensure_locale
(&self, locale: &str)
crates/db/i18n.rs:100
↓ 32 callers
Method
merge
Merges the input delta completion into `self`.
crates/openai-api/lib.rs:70
↓ 29 callers
Function
routes
()
crates/web-server/handlers/models.rs:30
↓ 24 callers
Function
parameter_type_error
(name: &str, ty: &Type)
crates/postgres-mcp/src/sql_utils.rs:449
↓ 21 callers
Method
text
(&self, locale: &str, key: I18nKey)
crates/db/i18n.rs:119
↓ 20 callers
Method
as_str
(self)
crates/db/i18n.rs:192
↓ 20 callers
Method
send
( &self, _method: reqwest::Method, _url: reqwest::Url, _header
crates/web-server/handlers/mcp/tests.rs:664
↓ 20 callers
Function
wait_visible
(driver: &WebDriver, by: By)
crates/integration-testing/tests/common.rs:11
↓ 14 callers
Method
execute
(&self, arguments: &str)
crates/integrations/tools/web.rs:104
↓ 13 callers
Function
delete
( Delete { team_id }: Delete, current_user: Jwt, Extension(pool): Extension<Pool>, )
crates/web-server/handlers/teams/delete.rs:8
↓ 13 callers
Function
get
(config: &StorageConfig, id: i32)
crates/object-storage/src/lib.rs:159
↓ 13 callers
Function
integrations
(locale: &str)
crates/web-pages/i18n.rs:8
↓ 13 callers
Method
name
Returns the name of the tool
crates/integrations/tool.rs:19
↓ 13 callers
Function
prompts
(locale: &str)
crates/web-pages/i18n.rs:16
↓ 13 callers
Function
set_row_level_security_user_id
( transaction: &Transaction<'_>, user_id: String, )
crates/db/authz.rs:128
↓ 12 callers
Function
create_test_pool
()
crates/web-server/handlers/mcp/tests.rs:72
↓ 12 callers
Function
test_router
(pool: Pool)
crates/web-server/handlers/mcp/tests.rs:76
↓ 11 callers
Function
datasets
(locale: &str)
crates/web-pages/i18n.rs:20
↓ 10 callers
Function
connect
(connection_str: &str)
crates/postgres-mcp/src/db.rs:12
↓ 10 callers
Function
visibility_to_string
(visibility: Visibility)
crates/web-pages/lib.rs:46
↓ 9 callers
Method
has_api_key_security
Check if the OpenAPI spec defines API key security schemes
crates/integrations/bionic_openapi.rs:325
↓ 9 callers
Function
redirect
(url: &str)
crates/web-server/layout.rs:20
↓ 9 callers
Function
sample_spec
(base_url: &str, slug: &str)
crates/web-server/handlers/mcp/tests.rs:80
↓ 8 callers
Function
assert_message_properties
( message: &ChatCompletionMessage, expected_role: ChatCompletionMessageRole, expected_content: Opt
crates/llm-proxy/tests.rs:99
↓ 8 callers
Method
create_tool_definitions
Create tool definitions from the OpenAPI specification
crates/integrations/bionic_openapi.rs:90
↓ 8 callers
Function
encode
(team_id: i32)
crates/db/team_public_id.rs:12
↓ 8 callers
Function
integration
(locale: &str)
crates/web-pages/i18n.rs:12
↓ 8 callers
Function
json_error
Create a JSON error object with a message and details
crates/integrations/lib.rs:17
↓ 8 callers
Function
register_user
(driver: &WebDriver, config: &Config)
crates/integration-testing/tests/common.rs:172
↓ 7 callers
Method
can_setup_models
(&self)
crates/db/authz.rs:253
↓ 7 callers
Method
get_oauth2_config
Retrieve OAuth2 configuration from the OpenAPI spec
crates/integrations/bionic_openapi.rs:375
↓ 7 callers
Function
run_with_driver
(config: &Config, test: F)
crates/integration-testing/tests/common.rs:381
↓ 7 callers
Function
string_to_visibility
(visibility: &str)
crates/web-pages/lib.rs:54
↓ 6 callers
Method
can_manage_projects
(&self)
crates/db/authz.rs:285
↓ 6 callers
Method
can_use_api_keys
(&self)
crates/db/authz.rs:208
↓ 6 callers
Function
convert_chat_to_messages
Converts a vector of database Chat records to OpenAI API ChatCompletionMessage format
crates/llm-proxy/chat_converter.rs:16
↓ 6 callers
Method
save
( &self, snapshot: &str, tool_calls: Option<Vec<ToolCall>>, chat_id: i32,
crates/llm-proxy/ui_chat_stream.rs:104
↓ 6 callers
Function
token_count
(messages: Vec<ChatCompletionMessage>)
crates/openai-api/src/token_count.rs:4
↓ 6 callers
Function
trim_to_context_length
Trims the input text to fit within the specified context length. If context_length is zero or negative, a default value will be used. Trims the input
crates/embeddings-api/src/lib.rs:46
↓ 5 callers
Function
assistant
(locale: &str)
crates/web-pages/i18n.rs:28
↓ 5 callers
Function
assistants
(locale: &str)
crates/web-pages/i18n.rs:24
↓ 5 callers
Method
can_manage_mcp_keys
(&self)
crates/db/authz.rs:281
↓ 5 callers
Function
create_pool
(database_url: &str)
crates/db/lib.rs:51
↓ 5 callers
Function
dataset
(locale: &str)
crates/web-pages/i18n.rs:32
↓ 5 callers
Function
ensure_built
(container: &Container, label: &str)
crates/dagger-pipeline/src/pipeline/ci.rs:359
↓ 5 callers
Function
get_chat_tools_user_selected
Returns a list of available OpenAI tool definitions This is for backward compatibility If enabled_tools is provided, only returns tools with names in
crates/integrations/tool_registry.rs:114
↓ 5 callers
Method
has_oauth2_security
Check if the OpenAPI spec has OAuth2 security schemes
crates/integrations/bionic_openapi.rs:357
↓ 5 callers
Function
maybe_publish
( client: &Query, container: &Container, image_repo: &str, credentials: Option<&PublishCredent
crates/dagger-pipeline/src/pipeline/ci.rs:369
↓ 5 callers
Method
refresh
(&self)
crates/integrations/token_providers.rs:83
↓ 5 callers
Function
renderNow
()
crates/web-assets/typescript/console/streaming-chat.ts:65
↓ 5 callers
Function
token_count_from_string
(message: &str)
crates/openai-api/src/token_count.rs:26
↓ 4 callers
Function
build_event_stream
( receiver_stream: S, result_sink: Arc<dyn ResultSink>, chat_id: i32, sub: Arc<String>, )
crates/llm-proxy/ui_chat_stream.rs:135
↓ 4 callers
Method
cached_value
(&self, locale: &str, key: &str)
crates/db/i18n.rs:25
↓ 4 callers
Function
create_test_openapi_spec
()
crates/integrations/tools/open_api_tool.rs:434
↓ 4 callers
Function
document_to_chunks
* Additional Parameters: * * multipage_sections If True, sections can span multiple pages. Defaults to True. * * combine_under_n_chars Combines el
crates/rag-engine/src/unstructured.rs:35
↓ 4 callers
Function
finalizeUiState
()
crates/web-assets/typescript/console/streaming-chat.ts:35
↓ 4 callers
Function
get_customer_key
export CUSTOMER_KEY='190a5bf4b3cbb6c0991967ab1c48ab30790af876720f1835cbbf3820f4f5d949'
crates/db/customer_keys.rs:4
↓ 4 callers
Function
get_integrations
(scope: Option<ToolScope>)
crates/integrations/tool_registry.rs:23
↓ 4 callers
Function
get_time_date_tool
Returns a Tool definition for the time and date tool
crates/integrations/tools/time_date.rs:24
↓ 4 callers
Function
get_tools_with_system_openapi
( pool: &Pool, scope: ToolScope, )
crates/integrations/tool_registry.rs:89
↓ 4 callers
Function
isPreloadable
Type guard: narrows to HTMLAnchorElement when preloadable
crates/web-assets/typescript/instant-page.ts:154
↓ 4 callers
Function
new_chat
( NewChat { team_id, prompt_id }: NewChat, current_user: Jwt, Extension(pool): Extension<Pool>, )
crates/web-server/handlers/assistants/new_chat.rs:8
↓ 4 callers
Function
parse_openapi_spec
Parses an OpenAPI specification from JSON string. This function will: 1. Parse the provided JSON string using the oas3 crate 2. Return the parsed spe
crates/web-server/handlers/integrations/helpers.rs:8
↓ 4 callers
Function
preload
(url: string, priority: 'auto' | 'high' = 'auto')
crates/web-assets/typescript/instant-page.ts:176
↓ 4 callers
Function
release_binary_path
(exe: &str)
crates/dagger-pipeline/src/pipeline/ci.rs:67
↓ 4 callers
Function
required_models_missing
(transaction: &db::Transaction<'_>)
crates/web-server/handlers/models.rs:288
↓ 4 callers
Method
send
( &self, method: Method, url: Url, headers: Vec<(String, String)>, bod
crates/integrations/tools/open_api_tool.rs:55
↓ 4 callers
Function
set_rls_and_encryption_keys
( transaction: &Transaction<'_>, user_id: i32, )
crates/db/authz.rs:108
↓ 4 callers
Function
string_to_chunk
During a chat setion its good to let the assitant show the error, otherwise they get buried in the logs.
crates/llm-proxy/sse_chat_error.rs:53
↓ 4 callers
Function
to_detail_map
(value: serde_json::Value)
crates/postgres-mcp/src/handlers/analysis.rs:318
↓ 3 callers
Function
api_keys
(driver: &WebDriver, config: &common::Config)
crates/integration-testing/tests/api_keys_test.rs:18
↓ 3 callers
Function
apply_customer_key
(transaction: &db::Transaction<'_>)
crates/web-server/handlers/mcp/datasets_mcp.rs:849
↓ 3 callers
Method
as_refs
(&self)
crates/postgres-mcp/src/sql_utils.rs:35
↓ 3 callers
Function
bucket_history
(histories: Vec<History>)
crates/web-pages/history/mod.rs:15
↓ 3 callers
Function
build_parameter_values
( statement: &Statement, ordered_names: &[String], provided: &SqlParameters, )
crates/postgres-mcp/src/sql_utils.rs:236
↓ 3 callers
Method
can_manage_limits
(&self)
crates/db/authz.rs:269
↓ 3 callers
Method
can_view_audit_trail
(&self)
crates/db/authz.rs:249
↓ 3 callers
Method
can_view_chat_history
(&self)
crates/db/authz.rs:224
↓ 3 callers
Method
create_tools
Create tools from the OpenAPI specification
crates/integrations/bionic_openapi.rs:396
↓ 3 callers
Function
dataset_tool_name
(prefix: &str, base: &str)
crates/web-server/handlers/mcp/datasets_mcp.rs:94
↓ 3 callers
Function
execute_time_date_tool
Execute the time and date tool with the given arguments
crates/integrations/tools/time_date.rs:52
↓ 3 callers
Function
execute_tool_call_with_tools
Execute a tool call with a specific set of tools
crates/integrations/tool_executor.rs:189
↓ 3 callers
Method
find_operation_details
Find operation details by operation_id in the OpenAPI spec
crates/integrations/tools/open_api_tool.rs:172
↓ 3 callers
Method
from
(val: Jwt)
crates/llm-proxy/jwt.rs:28
↓ 3 callers
Function
generate_prompt
( model_context_size: usize, max_completion_tokens: usize, trim_ratio: f32, system_prompt: Opt
crates/llm-proxy/prompt.rs:77
↓ 3 callers
Function
get_embeddings
( input: &str, api_end_point: &str, model: &str, context_length: i32, api_key: &Option<Str
crates/embeddings-api/src/lib.rs:93
↓ 3 callers
Method
get_logo_url
Safely extracts the logo URL from integration extensions
crates/integrations/bionic_openapi.rs:66
↓ 3 callers
Function
get_tools
Returns a list of available tool instances This requires a pool for tools that need database access
crates/integrations/tool_executor.rs:80
↓ 3 callers
Function
histories
(locale: &str)
crates/web-pages/i18n.rs:36
next →
1–100 of 924, ranked by callers