Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/burr
/ functions
Functions
2,698 in github.com/apache/burr
⨍
Functions
2,698
◇
Types & classes
381
↳
Endpoints
75
↓ 2 callers
Method
_log_parameters
(self, __action_span_tracer: ActionSpanTracer, bound_aprams)
burr/visibility/tracing.py:439
↓ 2 callers
Function
_model_result_for_writes
Build the result dict and ensure each ``writes`` key maps to the right value.
burr/integrations/bedrock.py:84
↓ 2 callers
Function
_modify
(app_id: str)
burr/cli/demo_data.py:85
↓ 2 callers
Method
_parse_action_list
Utility function to parse a list of actions/tags into a list of actions and a list of tags.
burr/core/application.py:1152
↓ 2 callers
Function
_query_llm
Simple wrapper around the OpenAI API.
examples/ray/application.py:32
↓ 2 callers
Function
_query_llm
Simple wrapper around the OpenAI API.
examples/recursive/application.py:29
↓ 2 callers
Function
_query_openai
(prompt: str, model: str = "gpt-4", chat_history: Optional[list] = None)
examples/opentelemetry/application.py:59
↓ 2 callers
Function
_remove_private_keys
(state: dict)
burr/cli/__main__.py:284
↓ 2 callers
Method
_return_value_iterate
Utility function to decide what to return for iterate/arun. Note that run() will delegate to the return value of iterate, whereas arun cannot
burr/core/application.py:1221
↓ 2 callers
Function
_run_conversation
(app_id, prompts)
burr/cli/demo_data.py:88
↓ 2 callers
Function
_run_server
( port: int, dev_mode: bool, no_open: bool, no_copy_demo_data: bool, initial_page="",
burr/cli/__main__.py:159
↓ 2 callers
Function
_setCurrentSequenceLocation
(location: SequenceLocation | undefined)
telemetry/ui/src/components/routes/app/AppView.tsx:200
↓ 2 callers
Method
_sync_hooks_enter
(self, context: ActionSpan)
burr/visibility/tracing.py:153
↓ 2 callers
Method
_sync_hooks_exit
(self, context: ActionSpan)
burr/visibility/tracing.py:207
↓ 2 callers
Function
_tool_function_spec
Converts a python function into a specification for function calling. This is a little hacky. But it works. It takes a function, introspects
examples/multi-agent-collaboration/hamilton/func_agent.py:47
↓ 2 callers
Method
_update_all_applications
Updates all application with associate metadata and graph files :param all_applications: All applications that are relevant :param pa
burr/tracking/server/s3/backend.py:514
↓ 2 callers
Function
_upload_to_svn
Upload artifacts to Apache SVN distribution repository.
scripts/apache_release.py:691
↓ 2 callers
Function
_validate_app_id
(app_id: Optional[str])
burr/core/application.py:2180
↓ 2 callers
Function
_validate_declared_reads
(fn: Callable, declared_reads: list[str])
burr/core/action.py:55
↓ 2 callers
Function
_verify_wheel
Verify wheel contents are correct.
scripts/apache_release.py:612
↓ 2 callers
Function
_verify_wheel_with_twine
Verify wheel metadata and package validity using twine.
scripts/apache_release.py:646
↓ 2 callers
Method
acall_pre
(self, app)
burr/core/application.py:714
↓ 2 callers
Method
actions
Yields actions to run in parallel. These will be merged with the states as a cartesian product. :param state: Input state at the time of runn
burr/core/parallelism.py:454
↓ 2 callers
Function
append_state
At the update state of a Hamilton Action, call state.append to the key field of state. Used with outputs= parameter of Hamilton(...) :param k
burr/integrations/hamilton.py:93
↓ 2 callers
Function
backgroundColorsForIndex
(index: number, status: Status)
telemetry/ui/src/components/routes/app/AppView.tsx:56
↓ 2 callers
Function
backgroundColorsForStatus
(status: Status)
telemetry/ui/src/components/routes/app/AppView.tsx:40
↓ 2 callers
Function
bar
(a: int, b: int)
tests/visibility/test_tracing.py:603
↓ 2 callers
Function
build_application
Builds the application
examples/custom-serde/application.py:122
↓ 2 callers
Method
build_converse_request
Build the kwargs dict for ``converse`` / ``converse_stream`` from current state.
burr/integrations/bedrock.py:162
↓ 2 callers
Function
build_streaming_application
Builds the streaming application -- this uses the generate_post_streaming action
examples/typed-state/application.py:206
↓ 2 callers
Function
build_streaming_application_async
Builds the async streaming application -- uses the generate_post_streaming_async action
examples/typed-state/application.py:228
↓ 2 callers
Function
cache_span
(span: Span, context: FullSpanContext)
burr/integrations/opentelemetry.py:74
↓ 2 callers
Method
call_pre
(self, app)
burr/core/application.py:687
↓ 2 callers
Function
collapseTimestampsToEllapsedTime
( steps: Step[], globalStartTimeMillis?: number, globalEndTimeMillis?: number )
telemetry/ui/src/components/routes/app/StepList.tsx:1237
↓ 2 callers
Method
copy
(self)
tests/core/test_parallelism.py:1001
↓ 2 callers
Function
copy_func
Copies a function. This is used internally to bind parameters to a function so we don't accidentally overwrite them. :param f: Function to co
burr/core/action.py:1408
↓ 2 callers
Function
create_agent
Helper function to create an agent with a system message and tools.
examples/multi-agent-collaboration/lcel/application.py:101
↓ 2 callers
Function
create_burr_ui_app
Create a fully-configured Burr UI FastAPI application. This factory creates a new FastAPI instance with all Burr UI routes, demo routers, and
burr/tracking/server/run.py:192
↓ 2 callers
Method
create_key
Create a key for the Redis database.
burr/integrations/persisters/b_redis.py:148
↓ 2 callers
Method
create_key
Create a key for the Redis database.
burr/integrations/persisters/b_redis.py:329
↓ 2 callers
Function
decorator
(fn: PydanticActionFunction)
burr/integrations/pydantic.py:201
↓ 2 callers
Function
default_state_and_entry_point
Returns the default state and entry point for the application.
examples/multi-agent-collaboration/hamilton/application.py:231
↓ 2 callers
Function
default_state_and_entry_point
Returns the default state and entry point for the application.
examples/templates/hierarchical_agent_teams.py:100
↓ 2 callers
Function
default_state_and_entry_point
Returns the default state and entry point for the application.
examples/templates/agent_supervisor.py:103
↓ 2 callers
Function
default_state_and_entry_point
Returns the default state and entry point for the application.
examples/templates/multi_agent_collaboration.py:85
↓ 2 callers
Method
display
(self)
examples/youtube-to-social-media-post/application.py:36
↓ 2 callers
Method
flock
(*args, **kwargs)
burr/tracking/client.py:39
↓ 2 callers
Function
foo
(a: int, b: int, filtered_out: str = "not_present")
tests/visibility/test_tracing.py:518
↓ 2 callers
Method
from_action
Creates an ActionModel from an action. :param action: Action to create the model from :return:
burr/tracking/common/models.py:52
↓ 2 callers
Method
from_app
(app: Application)
examples/email-assistant/server.py:66
↓ 2 callers
Method
from_application_graph
( application_graph: ApplicationGraph, )
burr/tracking/common/models.py:131
↓ 2 callers
Method
from_logs
(log_lines: List[bytes])
burr/tracking/server/schema.py:105
↓ 2 callers
Method
from_path
(cls, path: str, created_date: datetime.datetime)
burr/tracking/server/s3/backend.py:121
↓ 2 callers
Method
from_settings
Creates a backend from settings, of the type of settings_model above This defaults to assuming the constructor takes in settings parameters
burr/tracking/server/backend.py:248
↓ 2 callers
Method
from_values
Builds a new instance of the PostgreSQLPersister from the provided values. :param db_name: the name of the PostgreSQL database. :para
burr/integrations/persisters/b_psycopg2.py:65
↓ 2 callers
Function
gatherCostAttributes
(allAttributes: AttributeModel[])
telemetry/ui/src/components/routes/app/InsightsView.tsx:145
↓ 2 callers
Function
generate_all
( data_dir: Optional[str] = None, s3_bucket: Optional[str] = None, unique_app_names: bool = False )
burr/cli/demo_data.py:211
↓ 2 callers
Function
generate_chatbot_data
( data_dir: Optional[str] = None, s3_bucket: Optional[str] = None, use_traces: bool = False, u
burr/cli/demo_data.py:43
↓ 2 callers
Function
getFilter
(v: Variants[string])
website/src/components/ui/blur-fade.tsx:37
↓ 2 callers
Function
getPossibleDataTargets
(step: Step)
telemetry/ui/src/components/routes/app/AnnotationsView.tsx:90
↓ 2 callers
Method
getStateApiV0EmailAssistantStateProjectIdAppIdGet
* Get State * Get the current state of the application * * :param project_id: ID of the project (used by telemetry tracking/storage) * :pa
telemetry/ui/src/api/services/DefaultService.ts:515
↓ 2 callers
Function
get_cached_span
(span_id: int)
burr/integrations/opentelemetry.py:84
↓ 2 callers
Method
get_client
Return the Bedrock runtime client, creating it lazily if not injected.
burr/integrations/bedrock.py:154
↓ 2 callers
Method
get_next_node
Gives the next node to execute given state + prior step.
burr/core/graph.py:152
↓ 2 callers
Function
initialize_agent_dag
Initialize the agent DAG with the tracer. Right now there is no difference between the agents, but this is here for future use.
examples/multi-agent-collaboration/hamilton/application.py:106
↓ 2 callers
Function
initialize_tracer
Initializes the tracer for OpenTel. Note this sets it globally. TODO -- ensure that it is initialized properly/do this in a cleaner manner. Op
burr/integrations/opentelemetry.py:541
↓ 2 callers
Function
isFormData
(value: any)
telemetry/ui/src/api/core/request.ts:58
↓ 2 callers
Function
isLinksExpanded
(index: number)
telemetry/ui/src/components/routes/app/StepList.tsx:420
↓ 2 callers
Function
isNullPartitionKey
(partitionKey: string | null)
telemetry/ui/src/components/routes/AppList.tsx:53
↓ 2 callers
Method
is_initialized
Check if the persister has been initialized appropriately.
burr/core/persistence.py:121
↓ 2 callers
Method
is_initialized
This checks to see if the table has been created in the database or not. It defaults to using the initialized field, else queries the database
burr/integrations/persisters/b_psycopg2.py:138
↓ 2 callers
Function
launch_ui
(notebook_env: NotebookEnvironment)
burr/integrations/notebook.py:115
↓ 2 callers
Method
lifespan
Quick tool to allow plugin to the app's lifecycle. This is fine given that it's an internal API, but if we open it up more we should m
burr/tracking/server/backend.py:191
↓ 2 callers
Method
list_app_ids
List the app ids for a given partition key.
burr/integrations/persisters/b_redis.py:108
↓ 2 callers
Method
load_snapshot
(self)
burr/tracking/server/s3/backend.py:280
↓ 2 callers
Method
merge
Merges two states together, overwriting the values in self with those in other.
burr/core/state.py:435
↓ 2 callers
Method
on_end
(self, span: "Span")
burr/integrations/opentelemetry.py:512
↓ 2 callers
Method
on_start
( self, span: "Span", parent_context: Optional[context_api.Context] = None, )
burr/integrations/opentelemetry.py:483
↓ 2 callers
Function
prompt_for_more
(state: State)
examples/test-case-creation/application.py:67
↓ 2 callers
Method
query_applications_by_key
( self, application_keys: Sequence[tuple[str, Optional[str]]] )
burr/tracking/server/s3/backend.py:368
↓ 2 callers
Method
reduce
Reduces the states from the tasks into a single state. :param states: State outputs from the subtasks :return: Reduced state
burr/core/parallelism.py:342
↓ 2 callers
Method
reduce
Reduces the task's results :param results: :return:
burr/core/parallelism.py:792
↓ 2 callers
Function
register_custom_serde_for_lc_document
Register a custom serde for a field
tests/integration_tests/test_app.py:86
↓ 2 callers
Function
render_chat_message
(chat_item: dict)
examples/streaming-fastapi/streamlit_app.py:32
↓ 2 callers
Function
render_chat_message
(chat_item: dict)
examples/multi-modal-chatbot/simple_streamlit_app.py:26
↓ 2 callers
Method
resolver
(self)
burr/core/action.py:645
↓ 2 callers
Function
rss_entries
Substack blog entries retrieved from a RSS feed
examples/rag-lancedb-ingestion/ingestion.py:46
↓ 2 callers
Method
run
(self, state: State, **run_kwargs)
burr/core/action.py:485
↓ 2 callers
Method
run_and_update
Performs a run/update at the same time. :param state: State to run the action on :param run_kwargs: Additional arguments to the funct
burr/core/action.py:736
↓ 2 callers
Function
safe_json_load
(line: bytes)
burr/tracking/server/backend.py:277
↓ 2 callers
Method
save
Save the state data to the Redis database. :param partition_key: :param app_id: :param sequence_id: :param position:
burr/integrations/persisters/b_redis.py:154
↓ 2 callers
Function
scroll
()
telemetry/ui/src/examples/Chatbot.tsx:117
↓ 2 callers
Function
sendPrompt
()
telemetry/ui/src/examples/Chatbot.tsx:171
↓ 2 callers
Function
sendTopic
()
telemetry/ui/src/examples/DeepResearcher.tsx:65
↓ 2 callers
Method
set_driver
Default method if all the hamilton nodes are using the same driver. Will set globally, so be careful. Note that the driver must have
burr/integrations/hamilton.py:108
↓ 2 callers
Method
state_initializer
State initializer for the action -- what initializer does the sub-application use? This can either be: - "cascade": inherit from pare
burr/core/parallelism.py:560
↓ 2 callers
Method
state_persister
Persister for the action -- what persister does the sub-application use? This can either be: - "cascade": inherit from parent
burr/core/parallelism.py:545
↓ 2 callers
Method
states
Yields states to run in parallel. These will be merged with the actions as a cartesian product. :param state: Input state at the time of runn
burr/core/parallelism.py:466
↓ 2 callers
Method
stream_run_and_update
( self, state: State, **run_kwargs )
tests/core/test_application.py:615
↓ 2 callers
Function
submitPrompt
()
telemetry/ui/src/examples/StreamingChatbot.tsx:179
← previous
next →
301–400 of 2,698, ranked by callers