MCPcopy Create free account

hub / github.com/apache/burr / functions

Functions2,698 in github.com/apache/burr

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
Functionact
(state: StateModel, tld: str)
tests/integrations/test_burr_pydantic.py:281
Methodaction
(self, state: State, inputs: Dict[str, Any])
tests/test_end_to_end.py:168
Methodaction
( self, state: State, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:544
Methodaction
( self, state: State, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:609
Methodaction
(self, state: State, inputs: Dict[str, Any])
tests/integrations/test_burr_ray.py:104
Methodaction
(self, state: State, inputs: Dict[str, Any])
examples/ray/application.py:127
Methodaction
which action to run for each state.
examples/pytest/some_actions.py:71
Functionaction_function
(state: State, **kwargs)
burr/integrations/pydantic.py:227
Functionaction_generator
( state: State, **kwargs )
burr/integrations/pydantic.py:342
Methodactions
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
Methodactions
Maps the action over each state generated by the `states` method. Internally used, do not implement.
burr/core/parallelism.py:784
Methodactions
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
burr/core/parallelism.py:825
Methodactions
( self, state: State, inputs: Dict[str, Any], context: ApplicationContext )
tests/core/test_parallelism.py:392
Methodactions
( self, state: State, inputs: Dict[str, Any], context: ApplicationContext )
tests/core/test_parallelism.py:471
Methodactions
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:660
Methodactions
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:732
Methodactions
( self, state: State, context: ApplicationContext, inputs: Dict[str, Any] )
tests/core/test_parallelism.py:1178
Methodadapters
Gives the adapters in this group :return: A list of adapters
burr/lifecycle/internal.py:209
Functionadd_additional_number_to_add_async
( state: State, additional_number: int = 1, identifying_number: int = 3000 )
tests/core/test_parallelism.py:155
Functionadd_number_to_add_async
(state: State)
tests/core/test_parallelism.py:149
Functionai_converse
AI conversing step. Uses Hamilton to execute the conversational pipeline.
examples/conversational-rag/simple_example/application.py:64
Functionai_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
Functionanswer_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
Functionanswered_question
(chat_history: list[dict], text_model: str, client: openai.Client)
examples/other-examples/hamilton-multi-modal/dag.py:117
FunctionappSetter
(appID: string)
telemetry/ui/src/examples/Common.tsx:96
FunctionappSetter
(appID: string)
telemetry/ui/src/examples/EmailAssistant.tsx:432
Methodapp_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
Functionapplication
function to return a burr application
examples/deployment/aws/lambda/app/counter_app.py:51
Functionapplication
function to return a burr application
examples/deployment/vercel/app/counter_app.py:51
Functionapplication
(hooks: List[LifecycleAdapter], app_id: str, storage_dir: str, project_id: str)
examples/other-examples/hamilton-multi-modal/application.py:28
Functionapplication_multithreaded
()
examples/ray/application.py:169
Functionapplication_traceloop_as_otel_provider
( app_id: Optional[str] = None, storage_dir: Optional[str] = "~/.burr", )
examples/opentelemetry/application.py:199
Functionapply_input_query
(state: State, user_query: str)
examples/templates/multi_modal_agent.py:34
Methodapply_mutate
Applies the state delta to the inputs
burr/core/state.py:118
Methodapply_mutate
(self, inputs: dict)
burr/core/state.py:159
Methodapply_mutate
(self, inputs: dict)
burr/core/state.py:195
Methodapply_mutate
(self, inputs: dict)
burr/core/state.py:240
Methodapply_mutate
(self, inputs: dict)
burr/core/state.py:264
Functionask_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
Functionask_question
Reply to the user's query using the blog's content.
examples/hamilton-integration/application.py:31
Functionasync_action_function
(state: State, **kwargs)
burr/integrations/pydantic.py:235
Functionasync_action_generator
( state: State, **kwargs )
burr/integrations/pydantic.py:353
Functionasync_gen_wrapper
(*args: Any, **kwargs: Any)
burr/core/action.py:151
Functionasync_persistence
(request)
tests/core/test_persistence.py:177
Functionasync_persistence
(request)
tests/integrations/persisters/test_b_aiosqlite.py:36
Functionasync_redis_persister
()
tests/integrations/persisters/test_b_redis.py:116
Functionasync_redis_persister_with_ns
()
tests/integrations/persisters/test_b_redis.py:123
Functionasync_wrapper
(*args: Any, **kwargs: Any)
burr/core/action.py:143
Functionasyncpostgresql_persister
()
tests/integrations/persisters/test_postgresql.py:110
Methodawrapped_fn
(*args, **kwargs)
burr/visibility/tracing.py:469
Functionbad_action
(state: State)
tests/core/test_action.py:998
Functionbase_counter_action
()
tests/core/test_graphviz_display.py:28
Methodbase_deserialize
Converts a JSON object to a state delta
burr/core/state.py:103
Methodbase_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
Methodbase_serialize
Converts the state delta to a JSON object
burr/core/state.py:88
Functionbase_system_prompt
Creates the base system prompt for the pipeline.
examples/multi-agent-collaboration/hamilton/func_agent.py:123
Functionbasic_action
(state: State, user_input: str)
tests/integration_tests/test_app.py:27
Functionbasic_action
(state: State, user_input: str)
examples/custom-serde/application.py:84
Functionbind
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
Functionbot_turn
Collect relevant chunks and produce a response to the user query
examples/rag-lancedb-ingestion/application.py:44
Functionbuild_and_publish
(prod: bool, no_wipe_dist: bool)
burr/cli/__main__.py:239
Functionbuild_model
This would fit the model on data before the simulation start date.
examples/simulation/application.py:43
Methodbuilder
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
Methodburr_ui
Launch the Burr UI from a notebook cell
burr/integrations/notebook.py:152
Functioncall_tool
Action to call the tool. This will be bound to the tool function.
examples/tool-calling/application.py:155
Functioncallback
(r: dict, s: State, e: Exception)
tests/core/test_action.py:852
Methodcallback
( result: Optional[dict], state: State[ApplicationStateType],
burr/core/application.py:1544
Functioncaption_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
Functionchart_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
Functionchart_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
Functionchart_node
(state: State, __tracer: TracerFactory)
examples/multi-agent-collaboration/lcel/application.py:166
MethodchatResponseApiV0StreamingChatbotResponseProjectIdAppIdPost
* 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
Functionchat_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
Functionchat_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
← previousnext →1,101–1,200 of 2,698, ranked by callers