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
Method
_atasks
()
burr/core/parallelism.py:524
Method
_create
()
burr/integrations/persisters/b_asyncpg.py:153
Method
_create
()
burr/integrations/persisters/b_aiosqlite.py:107
Function
_create_default_executor
()
burr/core/application.py:827
Method
_create_task
(key: str, action: Action, substate: State)
burr/core/parallelism.py:489
Method
_deserialize
chooses the correct serde function for the given key and calls it
burr/core/state.py:347
Function
_fallback
Tells the user that the assistant can't do that -- this should be a fallback
examples/tool-calling/application.py:75
Function
_filter_inputs
(d: dict)
burr/tracking/common/models.py:157
Function
_fn_correct_diff_itype_otype
(state: OriginalModel, input_1: int)
tests/integrations/test_burr_pydantic.py:205
Function
_fn_correct_same_itype_otype
(state: OriginalModel, input_1: int)
tests/integrations/test_burr_pydantic.py:201
Function
_fn_with_incorrect_return_type
(state: OriginalModel)
tests/integrations/test_burr_pydantic.py:189
Function
_fn_with_incorrect_state_arg
(state: int)
tests/integrations/test_burr_pydantic.py:185
Function
_fn_with_no_return_type
(state: OriginalModel)
tests/integrations/test_burr_pydantic.py:193
Function
_fn_with_untyped_state_arg
(state)
tests/integrations/test_burr_pydantic.py:197
Function
_fn_without_state_arg
(foo: OriginalModel)
tests/integrations/test_burr_pydantic.py:181
Function
_get_current_weather
Get the current weather in a given location Dummy function to simulate a weather API call. :param location: the location to get the weather
examples/multi-agent-collaboration/hamilton/func_agent.py:270
Function
_order_coffee_tool
Orders a coffee with the given size, preparation, and any modifications.
examples/tool-calling/application.py:60
Method
_query_log_file
(log_file: DataFile)
burr/tracking/server/s3/backend.py:417
Method
_query_metadata_file
(metadata_file: DataFile)
burr/tracking/server/s3/backend.py:389
Method
_repr_mimebundle_
Attribute read by notebook renderers This returns the attribute of the `graphviz.Digraph` returned by `self.display_all_functions()`
burr/core/application.py:2146
Method
_repr_mimebundle_
Attribute read by notebook renderers This returns the attribute of the `graphviz.Digraph` returned by `self.display_all_functions()`
burr/core/graph.py:267
Method
_run_and_update
()
burr/core/parallelism.py:264
Method
_serialize
chooses the correct serde function for the given key and calls it
burr/core/state.py:329
Method
_tasks
()
burr/core/parallelism.py:518
Function
_text_wife_tool
Texts your wife with a message.
examples/tool-calling/application.py:53
Function
_weather_tool
Queries the weather for a given latitude and longitude.
examples/tool-calling/application.py:41
Function
act
(state: StateModel, tld: str)
tests/integrations/test_burr_pydantic.py:281
Method
action
(self, state: State, inputs: Dict[str, Any])
tests/test_end_to_end.py:168
Method
action
( self, state: State, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:544
Method
action
( self, state: State, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:609
Method
action
(self, state: State, inputs: Dict[str, Any])
tests/integrations/test_burr_ray.py:104
Method
action
(self, state: State, inputs: Dict[str, Any])
examples/ray/application.py:127
Method
action
which action to run for each state.
examples/pytest/some_actions.py:71
Function
action_function
(state: State, **kwargs)
burr/integrations/pydantic.py:227
Function
action_generator
( state: State, **kwargs )
burr/integrations/pydantic.py:342
Method
actions
Gives all actions to map over, given the state/inputs. :param state: State at the time of running the action :param inputs: Runtime I
burr/core/parallelism.py:650
Method
actions
Maps the action over each state generated by the `states` method. Internally used, do not implement.
burr/core/parallelism.py:784
Method
actions
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
burr/core/parallelism.py:825
Method
actions
( self, state: State, inputs: Dict[str, Any], context: ApplicationContext )
tests/core/test_parallelism.py:392
Method
actions
( self, state: State, inputs: Dict[str, Any], context: ApplicationContext )
tests/core/test_parallelism.py:471
Method
actions
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:660
Method
actions
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:732
Method
actions
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:1178
Method
adapters
Gives the adapters in this group :return: A list of adapters
burr/lifecycle/internal.py:209
Function
add_additional_number_to_add_async
( state: State, additional_number: int = 1, identifying_number: int = 3000 )
tests/core/test_parallelism.py:155
Function
add_number_to_add_async
(state: State)
tests/core/test_parallelism.py:149
Function
ai_converse
AI conversing step. Uses Hamilton to execute the conversational pipeline.
examples/conversational-rag/simple_example/application.py:64
Function
ai_response
Queries OpenAI with the chat. You could easily use langchain, etc... to handle this, but we wanted to keep it simple to demonstrate
examples/simple-chatbot-intro/application.py:40
Function
answer_questions
Endpoint to answer questions the LLM provides :param project_id: ID of the project (used by telemetry tracking/storage) :param app_id: ID of
examples/email-assistant/server.py:165
Function
answered_question
(chat_history: list[dict], text_model: str, client: openai.Client)
examples/other-examples/hamilton-multi-modal/dag.py:117
Function
appSetter
(appID: string)
telemetry/ui/src/examples/Common.tsx:96
Function
appSetter
(appID: string)
telemetry/ui/src/examples/EmailAssistant.tsx:432
Method
app_log_exists
Function to check if state exists for a given project and app_id. :param project: the name of the project :param app_id: the applicat
burr/tracking/client.py:291
Function
application
function to return a burr application
examples/deployment/aws/lambda/app/counter_app.py:51
Function
application
function to return a burr application
examples/deployment/vercel/app/counter_app.py:51
Function
application
(hooks: List[LifecycleAdapter], app_id: str, storage_dir: str, project_id: str)
examples/other-examples/hamilton-multi-modal/application.py:28
Function
application_multithreaded
()
examples/ray/application.py:169
Function
application_traceloop_as_otel_provider
( app_id: Optional[str] = None, storage_dir: Optional[str] = "~/.burr", )
examples/opentelemetry/application.py:199
Function
apply_input_query
(state: State, user_query: str)
examples/templates/multi_modal_agent.py:34
Method
apply_mutate
Applies the state delta to the inputs
burr/core/state.py:118
Method
apply_mutate
(self, inputs: dict)
burr/core/state.py:159
Method
apply_mutate
(self, inputs: dict)
burr/core/state.py:195
Method
apply_mutate
(self, inputs: dict)
burr/core/state.py:240
Method
apply_mutate
(self, inputs: dict)
burr/core/state.py:264
Function
ask_assistant
Combine the `chat_history`, `query`, `lancedb_results`, and `exa_search_results` to ask the assistant for an answer. `chat_history`, `lancedb
examples/adaptive-crag/application.py:424
Function
ask_question
Reply to the user's query using the blog's content.
examples/hamilton-integration/application.py:31
Function
async_action_function
(state: State, **kwargs)
burr/integrations/pydantic.py:235
Function
async_action_generator
( state: State, **kwargs )
burr/integrations/pydantic.py:353
Function
async_gen_wrapper
(*args: Any, **kwargs: Any)
burr/core/action.py:151
Function
async_persistence
(request)
tests/core/test_persistence.py:177
Function
async_persistence
(request)
tests/integrations/persisters/test_b_aiosqlite.py:36
Function
async_redis_persister
()
tests/integrations/persisters/test_b_redis.py:116
Function
async_redis_persister_with_ns
()
tests/integrations/persisters/test_b_redis.py:123
Function
async_wrapper
(*args: Any, **kwargs: Any)
burr/core/action.py:143
Function
asyncpostgresql_persister
()
tests/integrations/persisters/test_postgresql.py:110
Method
awrapped_fn
(*args, **kwargs)
burr/visibility/tracing.py:469
Function
bad_action
(state: State)
tests/core/test_action.py:998
Function
base_counter_action
()
tests/core/test_graphviz_display.py:28
Method
base_deserialize
Converts a JSON object to a state delta
burr/core/state.py:103
Method
base_hook
Hooks get called at distinct stages of Hamilton's execution. These can be layered together, and potentially coupled to other hooks. :
burr/lifecycle/internal.py:81
Method
base_serialize
Converts the state delta to a JSON object
burr/core/state.py:88
Function
base_system_prompt
Creates the base system prompt for the pipeline.
examples/multi-agent-collaboration/hamilton/func_agent.py:123
Function
basic_action
(state: State, user_input: str)
tests/integration_tests/test_app.py:27
Function
basic_action
(state: State, user_input: str)
examples/custom-serde/application.py:84
Function
bind
Binds an action to the given parameters. This is functionally equivalent to functools.partial, but is more explicit and is meant to be used in the
burr/core/action.py:1420
Function
bot_turn
Collect relevant chunks and produce a response to the user query
examples/rag-lancedb-ingestion/application.py:44
Function
build_and_publish
(prod: bool, no_wipe_dist: bool)
burr/cli/__main__.py:239
Function
build_model
This would fit the model on data before the simulation start date.
examples/simulation/application.py:43
Method
builder
Returns the application builder that was used to build this application. Note that this asusmes the application was built using the builder. O
burr/core/application.py:2138
Method
burr_ui
Launch the Burr UI from a notebook cell
burr/integrations/notebook.py:152
Function
call_tool
Action to call the tool. This will be bound to the tool function.
examples/tool-calling/application.py:155
Function
callback
(r: dict, s: State, e: Exception)
tests/core/test_action.py:852
Method
callback
( result: Optional[dict], state: State[ApplicationStateType],
burr/core/application.py:1544
Function
caption_embeddings
Action to analyze the caption and create embeddings for analysis. This delegates to the Hamilton DAG for getting embeddings for the caption.
examples/image-telephone/application.py:98
Function
chart_generator
The chart generator action. :param state: state of the application :param __tracer: burr tracer that gets injected. :return:
examples/multi-agent-collaboration/hamilton/application.py:123
Function
chart_generator
Generates a chart based on the provided query and updates the state. :param state: The current state of the application. :return: A tupl
examples/multi-agent-collaboration/hamilton/alternative_implementation.py:53
Function
chart_node
(state: State, __tracer: TracerFactory)
examples/multi-agent-collaboration/lcel/application.py:166
Method
chatResponseApiV0StreamingChatbotResponseProjectIdAppIdPost
* Chat Response * Chat response endpoint. User passes in a prompt and the system returns the * full chat history, so its easier to render. *
telemetry/ui/src/api/services/DefaultService.ts:560
Function
chat_history
Endpoint to get chat history. Gets the application and returns the chat history from state. :param project_id: Project ID :param app_id: App
examples/streaming-fastapi/server.py:121
Function
chat_history
Endpoint to get chat history. Gets the application and returns the chat history from state. :param project_id: Project ID :param app_id: App
examples/multi-modal-chatbot/server.py:100
← previous
next →
1,101–1,200 of 2,698, ranked by callers