MCPcopy Create free account

hub / github.com/apache/burr / functions

Functions2,698 in github.com/apache/burr

Methodsave
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
Methodsave
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
Methodsave
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
Methodsave
( self, partition_key: Optional[str], app_id: str, sequence_id
tests/test_end_to_end.py:438
Methodsave
( self, partition_key: Optional[str], app_id: str, sequence_id: int, p
tests/core/test_parallelism.py:1129
Methodsave
( self, partition_key: Optional[str], app_id: str, sequence_id: int, p
tests/core/test_application.py:3289
Methodsave
( self, partition_key: Optional[str], app_id: str, sequence_id: int, p
tests/core/test_application.py:3438
Methodsave
( self, partition_key: Optional[str], app_id: str, sequence_id: int, p
tests/tracking/test_local_tracking_client.py:195
Methodschema
(self)
burr/core/action.py:354
Methodschema
(self)
burr/core/action.py:859
Methodschema
(self)
burr/core/action.py:1386
Functionsearch_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
Functionsearch_lancedb
(state: State)
examples/adaptive-crag/application.py:329
Functionselect_tool
Selects the tool + assigns the parameters. Uses the tool-calling API.
examples/tool-calling/application.py:120
Functionsentences
(parsed_text: str)
examples/hamilton-integration/actions/ingest_blog.py:47
Methodsequence_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
Methodsequence_id
(self)
burr/tracking/common/models.py:195
Methodsequence_id
(self)
burr/tracking/common/models.py:208
Methodsequence_id
(self)
burr/tracking/common/models.py:228
Methodsequence_id
(self)
burr/tracking/common/models.py:244
Methodsequence_id
(self)
burr/tracking/common/models.py:259
Methodsequence_id
(self)
burr/tracking/common/models.py:275
Functionserialize_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
Functionserialize_dict
(value: dict, **kwargs)
burr/core/serde.py:113
Functionserialize_lc_docs
Serializes langchain documents.
burr/integrations/serde/langchain.py:27
Functionserialize_lc_messages
Serializes langchain messages.
burr/integrations/serde/langchain.py:75
Functionserialize_list
(value: list, **kwargs)
burr/core/serde.py:118
Functionserialize_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
Functionserialize_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
Functionserialize_primitive
(value, **kwargs)
burr/core/serde.py:108
Functionserialize_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
FunctionsetFullScreen
(full: boolean)
telemetry/ui/src/components/routes/app/AppView.tsx:241
FunctionsetTraceExpanded
(b: boolean)
telemetry/ui/src/components/routes/app/StepList.tsx:1464
Functionset_environment_variables
()
examples/rag-lancedb-ingestion/utils.py:24
Methodset_serde_kwargs
Sets the serde_kwargs for the persister.
burr/core/persistence.py:401
Methodset_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_pymongo.py:106
Methodset_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_asyncpg.py:236
Methodset_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_redis.py:104
Methodset_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_redis.py:285
Methodset_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_psycopg2.py:106
Methodset_serde_kwargs
Sets the serde_kwargs for the persister.
burr/integrations/persisters/b_aiosqlite.py:135
Functionset_user_input
(state: State, user_input: str)
examples/integrations/bedrock/application.py:55
Methodsettings_model
(cls)
burr/tracking/server/backend.py:554
Methodsettings_model
(cls)
burr/tracking/server/s3/backend.py:307
Functionsetup
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
FunctionshouldDisplayInput
(input: string)
telemetry/ui/src/components/routes/app/GraphView.tsx:257
Functionsimple_single_fn_subgraph
( state: State, additional_number: int = 1, identifying_number: int = 1000 )
tests/core/test_parallelism.py:61
Functionsimple_single_fn_subgraph_async
( state: State, additional_number: int = 1, identifying_number: int = 1000 )
tests/core/test_parallelism.py:74
Methodsingle_step
(self)
burr/core/action.py:346
Methodsingle_step
(self)
burr/core/action.py:732
Methodsnapshot
Snapshots the data
burr/tracking/server/backend.py:155
Methodsnapshot_interval_milliseconds
Returns the snapshot interval in milliseconds
burr/tracking/server/backend.py:160
Functionsocial_media_post
Creates a completion for the chat message
examples/youtube-to-social-media-post/server.py:54
Functionsocial_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
Functionsocial_media_post_streaming
Creates a completion for the chat message
examples/typed-state/server.py:79
Functionsocial_media_post_streaming_async
Creates a completion for the chat message
examples/typed-state/server.py:105
Functionsome_action
An example action -- create more of these to handle different modes
examples/templates/multi_modal_agent.py:61
Functionsome_agent_1
An agent specializing in some task. :param state: state of the application :return:
examples/templates/agent_supervisor.py:54
Functionsome_agent_1
An agent specializing in some task. :param state: state of the application :return:
examples/templates/multi_agent_collaboration.py:36
Functionsome_agent_2
An agent specializing in some other task. :param state: state of the application :return:
examples/templates/agent_supervisor.py:69
Functionsome_agent_2
An agent specializing in some other task. :param state: state of the application :return:
examples/templates/multi_agent_collaboration.py:51
Methodspawning_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
Functionstart
(state: State)
examples/llm-adventure-game/application.py:43
Methodstart_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
Methodstate
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
Methodstate
(self, state: State, inputs: Dict[str, Any])
tests/core/test_parallelism.py:484
Functionstate_1
(state: State)
tests/tracking/test_local_tracking_client.py:458
Functionstate_2
(state: State)
tests/tracking/test_local_tracking_client.py:462
Methodstate_generator
()
burr/core/parallelism.py:280
Methodstate_input_type
()
burr/core/typing.py:118
Methodstate_input_type
(self)
burr/core/action.py:297
Methodstate_input_type
(self)
burr/integrations/pydantic.py:182
Methodstate_output_type
()
burr/core/typing.py:122
Methodstate_output_type
(self)
burr/core/action.py:300
Methodstate_output_type
(self)
burr/integrations/pydantic.py:185
Methodstate_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
Methodstate_post_action_run_type
(self, action: Action, graph: Graph)
burr/core/typing.py:140
Methodstate_post_action_run_type
(self, action: Action, graph: Graph)
burr/integrations/pydantic.py:412
Methodstate_post_action_run_type
(self, action: Action, graph: Graph)
tests/core/test_application.py:3834
Methodstate_post_action_run_type
(self, action: Action, graph: Graph)
tests/core/test_state.py:215
Methodstate_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
Methodstate_pre_action_run_type
(self, action: Action, graph: Graph)
burr/core/typing.py:137
Methodstate_pre_action_run_type
(self, action: Action, graph: Graph)
burr/integrations/pydantic.py:405
Methodstate_pre_action_run_type
(self, action: Action, graph: Graph)
tests/core/test_application.py:3831
Methodstate_pre_action_run_type
(self, action: Action, graph: Graph)
tests/core/test_state.py:212
Methodstate_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
Methodstate_type
(self)
burr/core/typing.py:134
Methodstate_type
(self)
burr/integrations/pydantic.py:402
Methodstate_type
(self)
tests/core/test_application.py:3828
Methodstate_type
(self)
tests/core/test_state.py:209
Methodstates
Just converts the state into a generator of 1, so we can use the superclass. This is internal.
burr/core/parallelism.py:673
Methodstates
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
Methodstates
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
burr/core/parallelism.py:846
Methodstates
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/test_end_to_end.py:162
Methodstates
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:538
Methodstates
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:603
Methodstates
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:1186
Methodstates
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/integrations/test_burr_ray.py:98
Methodstates
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
examples/ray/application.py:121
Methodstates
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
← previousnext →1,901–2,000 of 2,698, ranked by callers