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
save
Saves the state for a given app_id, sequence_id, and position. This method connects to the SQLite database, converts the state to a
burr/integrations/persisters/b_asyncpg.py:371
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:335
Method
save
Asynchronously saves the state for a given app_id, sequence_id, and position. This method connects to the SQLite database, converts
burr/integrations/persisters/b_aiosqlite.py:266
Method
save
( self, partition_key: Optional[str], app_id: str, sequence_id
tests/test_end_to_end.py:438
Method
save
( self, partition_key: Optional[str], app_id: str, sequence_id: int, p
tests/core/test_parallelism.py:1129
Method
save
( self, partition_key: Optional[str], app_id: str, sequence_id: int, p
tests/core/test_application.py:3289
Method
save
( self, partition_key: Optional[str], app_id: str, sequence_id: int, p
tests/core/test_application.py:3438
Method
save
( self, partition_key: Optional[str], app_id: str, sequence_id: int, p
tests/tracking/test_local_tracking_client.py:195
Method
schema
(self)
burr/core/action.py:354
Method
schema
(self)
burr/core/action.py:859
Method
schema
(self)
burr/core/action.py:1386
Function
search_exa
More details about the Exa API: - https://docs.exa.ai/reference/getting-started - https://github.com/exa-labs/exa-py
examples/adaptive-crag/application.py:399
Function
search_lancedb
(state: State)
examples/adaptive-crag/application.py:329
Function
select_tool
Selects the tool + assigns the parameters. Uses the tool-calling API.
examples/tool-calling/application.py:120
Function
sentences
(parsed_text: str)
examples/hamilton-integration/actions/ingest_blog.py:47
Method
sequence_id
gives the sequence ID of the current (next) action. This is incremented prior to every step. Any logging, etc... will use the current
burr/core/application.py:2087
Method
sequence_id
(self)
burr/tracking/common/models.py:195
Method
sequence_id
(self)
burr/tracking/common/models.py:208
Method
sequence_id
(self)
burr/tracking/common/models.py:228
Method
sequence_id
(self)
burr/tracking/common/models.py:244
Method
sequence_id
(self)
burr/tracking/common/models.py:259
Method
sequence_id
(self)
burr/tracking/common/models.py:275
Function
serialize_customclass
Serializes the custom class however we want :param value: the value to serialize. :param kwargs: :return: dictionary of serde.KEY and val
examples/custom-serde/application.py:41
Function
serialize_dict
(value: dict, **kwargs)
burr/core/serde.py:113
Function
serialize_lc_docs
Serializes langchain documents.
burr/integrations/serde/langchain.py:27
Function
serialize_lc_messages
Serializes langchain messages.
burr/integrations/serde/langchain.py:75
Function
serialize_list
(value: list, **kwargs)
burr/core/serde.py:118
Function
serialize_pandas_df
Custom serde for pandas dataframes. Saves the dataframe to a parquet file and returns the path to the file. Requires a `path` key in the `pan
burr/integrations/serde/pandas.py:28
Function
serialize_pickle
Serializes the value using pickle. :param value: the value to serialize. :param pickle_kwargs: not required. Optional. :param
burr/integrations/serde/pickle.py:48
Function
serialize_primitive
(value, **kwargs)
burr/core/serde.py:108
Function
serialize_pydantic
Uses pydantic to dump the model to a dictionary and then adds the __pydantic_class to the dictionary.
burr/integrations/serde/pydantic.py:27
Function
setFullScreen
(full: boolean)
telemetry/ui/src/components/routes/app/AppView.tsx:241
Function
setTraceExpanded
(b: boolean)
telemetry/ui/src/components/routes/app/StepList.tsx:1464
Function
set_environment_variables
()
examples/rag-lancedb-ingestion/utils.py:24
Method
set_serde_kwargs
Sets the serde_kwargs for the persister.
burr/core/persistence.py:401
Method
set_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_pymongo.py:106
Method
set_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_asyncpg.py:236
Method
set_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_redis.py:104
Method
set_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_redis.py:285
Method
set_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_psycopg2.py:106
Method
set_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_aiosqlite.py:135
Function
set_user_input
(state: State, user_input: str)
examples/integrations/bedrock/application.py:55
Method
settings_model
(cls)
burr/tracking/server/backend.py:554
Method
settings_model
(cls)
burr/tracking/server/s3/backend.py:307
Function
setup
Initializes the state of the application with the course outline and the number of topics to be generated.
examples/instructor-gemini-flash/application.py:126
Function
shouldDisplayInput
(input: string)
telemetry/ui/src/components/routes/app/GraphView.tsx:257
Function
simple_single_fn_subgraph
( state: State, additional_number: int = 1, identifying_number: int = 1000 )
tests/core/test_parallelism.py:61
Function
simple_single_fn_subgraph_async
( state: State, additional_number: int = 1, identifying_number: int = 1000 )
tests/core/test_parallelism.py:74
Method
single_step
(self)
burr/core/action.py:346
Method
single_step
(self)
burr/core/action.py:732
Method
snapshot
Snapshots the data
burr/tracking/server/backend.py:155
Method
snapshot_interval_milliseconds
Returns the snapshot interval in milliseconds
burr/tracking/server/backend.py:160
Function
social_media_post
Creates a completion for the chat message
examples/youtube-to-social-media-post/server.py:54
Function
social_media_post
Basic, synchronous single-step API. This just returns the social media post, no streaming response. :param youtube_url: youtube URL for the
examples/typed-state/server.py:62
Function
social_media_post_streaming
Creates a completion for the chat message
examples/typed-state/server.py:79
Function
social_media_post_streaming_async
Creates a completion for the chat message
examples/typed-state/server.py:105
Function
some_action
An example action -- create more of these to handle different modes
examples/templates/multi_modal_agent.py:61
Function
some_agent_1
An agent specializing in some task. :param state: state of the application :return:
examples/templates/agent_supervisor.py:54
Function
some_agent_1
An agent specializing in some task. :param state: state of the application :return:
examples/templates/multi_agent_collaboration.py:36
Function
some_agent_2
An agent specializing in some other task. :param state: state of the application :return:
examples/templates/agent_supervisor.py:69
Function
some_agent_2
An agent specializing in some other task. :param state: state of the application :return:
examples/templates/multi_agent_collaboration.py:51
Method
spawning_parent_pointer
Gives the parent pointer of an application (from where it was spawned). This is None if it was not spawned. Spawning is the process o
burr/core/application.py:2066
Function
start
(state: State)
examples/llm-adventure-game/application.py:43
Method
start_event_consumer
Start the event consumer for event-driven tracking. This method should run indefinitely, processing event notifications from the conf
burr/tracking/server/backend.py:173
Method
state
Gives the state. Recall that state is purely immutable -- anything you do with this state will not be persisted unless you subsequentl
burr/core/application.py:2045
Method
state
(self, state: State, inputs: Dict[str, Any])
tests/core/test_parallelism.py:484
Function
state_1
(state: State)
tests/tracking/test_local_tracking_client.py:458
Function
state_2
(state: State)
tests/tracking/test_local_tracking_client.py:462
Method
state_generator
()
burr/core/parallelism.py:280
Method
state_input_type
()
burr/core/typing.py:118
Method
state_input_type
(self)
burr/core/action.py:297
Method
state_input_type
(self)
burr/integrations/pydantic.py:182
Method
state_output_type
()
burr/core/typing.py:122
Method
state_output_type
(self)
burr/core/action.py:300
Method
state_output_type
(self)
burr/integrations/pydantic.py:185
Method
state_post_action_run_type
Gives the type that represents the state after an action has completed. Note that this could be smart -- E.g. it should have all possible upst
burr/core/typing.py:56
Method
state_post_action_run_type
(self, action: Action, graph: Graph)
burr/core/typing.py:140
Method
state_post_action_run_type
(self, action: Action, graph: Graph)
burr/integrations/pydantic.py:412
Method
state_post_action_run_type
(self, action: Action, graph: Graph)
tests/core/test_application.py:3834
Method
state_post_action_run_type
(self, action: Action, graph: Graph)
tests/core/test_state.py:215
Method
state_pre_action_run_type
Gives the type that represents the state after an action has completed. Note that this could be smart -- E.g. it should have all possible upst
burr/core/typing.py:46
Method
state_pre_action_run_type
(self, action: Action, graph: Graph)
burr/core/typing.py:137
Method
state_pre_action_run_type
(self, action: Action, graph: Graph)
burr/integrations/pydantic.py:405
Method
state_pre_action_run_type
(self, action: Action, graph: Graph)
tests/core/test_application.py:3831
Method
state_pre_action_run_type
(self, action: Action, graph: Graph)
tests/core/test_state.py:212
Method
state_type
Gives the type that represents the state of the application at any given time. Note that this must have adequate support for Optionals
burr/core/typing.py:37
Method
state_type
(self)
burr/core/typing.py:134
Method
state_type
(self)
burr/integrations/pydantic.py:402
Method
state_type
(self)
tests/core/test_application.py:3828
Method
state_type
(self)
tests/core/test_state.py:209
Method
states
Just converts the state into a generator of 1, so we can use the superclass. This is internal.
burr/core/parallelism.py:673
Method
states
Generates all states to map over, given the state and inputs. Each state will be an update to the input state. For instance, you may
burr/core/parallelism.py:749
Method
states
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
burr/core/parallelism.py:846
Method
states
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/test_end_to_end.py:162
Method
states
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:538
Method
states
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:603
Method
states
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:1186
Method
states
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/integrations/test_burr_ray.py:98
Method
states
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
examples/ray/application.py:121
Method
states
Generate the states to run the action on. You could easily have a list_hypotheses upstream action that writes to "hypothesis" in state
examples/pytest/some_actions.py:75
← previous
next →
1,901–2,000 of 2,698, ranked by callers