MCPcopy Create free account

hub / github.com/apache/burr / functions

Functions2,698 in github.com/apache/burr

Functionchat_response
Streaming action, as we don't have the result immediately. This makes it more interactive
examples/streaming-fastapi/application.py:97
Functionchat_response
Chat response endpoint. User passes in a prompt and the system returns the full chat history, so its easier to render. :param project_id: Pro
examples/streaming-fastapi/server.py:92
Functionchat_response
( state: State, prepend_prompt: str, model: str = "gpt-4o", )
examples/opentelemetry/application.py:104
Functionchat_response
Streaming action, as we don't have the result immediately. This makes it more interactive
examples/streaming-overview/application.py:91
Functionchat_response
Streaming action, as we don't have the result immediately. This makes it more interactive
examples/streaming-overview/async_application.py:92
Functionchat_response
( state: State, prepend_prompt: str, __tracer: TracerFactory, model: str = "gpt-4o-mini", )
examples/tracing-and-spans/application.py:106
Functionchat_response
( state: State, prepend_prompt: str, display_type: str = "text", model: str = "gpt-4o-mini" )
examples/multi-modal-chatbot/application.py:102
Functionchat_response
Chat response endpoint. User passes in a prompt and the system returns the full chat history, so its easier to render. :param project_id: Pro
examples/multi-modal-chatbot/server.py:85
Functioncheck_openai_key
(state: State)
examples/multi-modal-chatbot/application.py:48
Functioncheck_openai_key
(state: State)
examples/email-assistant/application.py:43
Functioncheck_safety
(state: State)
examples/streaming-fastapi/application.py:45
Functioncheck_safety
(state: State, __tracer: TracerFactory)
examples/opentelemetry/application.py:48
Functioncheck_safety
(state: State)
examples/streaming-overview/application.py:42
Functioncheck_safety
(state: State)
examples/streaming-overview/async_application.py:43
Functioncheck_safety
(state: State, __tracer: TracerFactory)
examples/tracing-and-spans/application.py:46
Functioncheck_safety
(state: State)
examples/multi-modal-chatbot/application.py:54
Functionchoose_mode
Code to choose a mode
examples/templates/multi_modal_agent.py:42
Functionchoose_mode
(state: State)
examples/test-case-creation/application.py:41
Functionchoose_mode
(state: State)
examples/streaming-fastapi/application.py:55
Functionchoose_mode
(state: State)
examples/streaming-overview/application.py:52
Functionchoose_mode
(state: State)
examples/streaming-overview/async_application.py:53
Functionchoose_mode
(state: State, __tracer: TracerFactory)
examples/tracing-and-spans/application.py:57
Functionchoose_mode
(state: State)
examples/multi-modal-chatbot/application.py:64
Functionchunks
Chunk text
examples/rag-lancedb-ingestion/ingestion.py:76
Functionclarify_instructions
Clarifies the response instructions if needed.
examples/email-assistant/application.py:84
Methodcleanup
Closes the connection to the database.
burr/integrations/persisters/b_pymongo.py:191
Methodcleanup
Closes the connection to the database.
burr/integrations/persisters/b_redis.py:194
Methodcleanup
Closes the connection to the database.
burr/integrations/persisters/b_redis.py:375
Methodcleanup
Closes the connection to the database.
burr/integrations/persisters/b_psycopg2.py:262
Methodcleanup
Closes the connection to the database.
burr/integrations/persisters/b_aiosqlite.py:316
Functionclient
()
examples/other-examples/hamilton-multi-modal/dag.py:32
Methodcoerce_tracking_mode
Coerce legacy 'SQS' string to EVENT_DRIVEN for backward compatibility.
burr/tracking/server/s3/backend.py:187
Methodcollect
()
tests/core/test_action.py:1153
Functioncollect_writes
(write_to_graph: Collect[str])
examples/conversational-rag/graph_db_example/ingest_fights.py:133
Functioncolumns_of_interest
Returns the columns that we're interested in processing
examples/conversational-rag/graph_db_example/ingest_fights.py:45
Methodcomponent
Haystack `Component` used by this action.
burr/integrations/haystack.py:183
Methodcondition_func
(state: State)
burr/core/action.py:445
Methodconstruct_data
(self, state: State[dict])
burr/core/typing.py:143
Methodconstruct_data
(self, state: State)
burr/integrations/pydantic.py:419
Methodconstruct_data
(self, state: State[Any])
tests/core/test_application.py:3837
Methodconstruct_data
(self, state: State[Any])
tests/core/test_state.py:218
Methodconstruct_state
(self, data: dict)
burr/core/typing.py:146
Methodconstruct_state
(self, data: StateModel)
burr/integrations/pydantic.py:422
Methodconstruct_state
(self, data: Any)
tests/core/test_application.py:3840
Methodconstruct_state
(self, data: State[Any])
tests/core/test_state.py:221
Methodconstructor
(request: ApiRequestOptions, response: ApiResult, message: string)
telemetry/ui/src/api/core/ApiError.ts:34
Methodconstructor
(message: string)
telemetry/ui/src/api/core/CancelablePromise.ts:25
Methodconstructor
( executor: ( resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void,
telemetry/ui/src/api/core/CancelablePromise.ts:52
Methodcontext
Gives the application context. This has information you need for the tracker, sequence ID, application, etc... :return: Application c
burr/core/application.py:2097
Functioncontext_counter
(state: State, __context: ApplicationContext)
tests/core/test_application.py:3639
Functioncontexts
Assemble consecutive chunks into larger context windows
examples/rag-lancedb-ingestion/ingestion.py:91
Methodcopy
(self)
burr/integrations/opentelemetry.py:470
Methodcopy
Creates a copy of this persister. If using a pool, returns a new persister that will acquire its own connection from the pool. If usi
burr/integrations/persisters/b_asyncpg.py:195
Methodcopy
Clones the tracking client. This is useful for forking applications. Note we have to copy the tracking client as it is stateful for tracking.
burr/tracking/client.py:144
Methodcopy
(self)
burr/tracking/s3client.py:433
Methodcopy
Quick way to copy from the current state. This assumes linearity (which is true in this case, as parallelism is delegated)
tests/core/test_parallelism.py:243
Methodcopy
(self)
tests/core/test_parallelism.py:1126
Functioncount
Increment the counter by one step and return the new state. :param project_id: Project ID to run :param app_id: Application ID to run :re
examples/hello-world-counter/server.py:77
Functioncounter
(state: State, __tracer: TracerFactory)
burr/integrations/opentelemetry.py:718
Functioncounter
(state: State)
tests/core/test_application.py:3586
Functioncounter
(state: CounterExampleAppState, increment_by: int)
tests/integrations/test_burr_pydantic.py:602
Functioncounter
(state: State, __tracer: TracerFactory)
tests/tracking/test_local_tracking_client.py:45
Functioncounter
(state: State)
examples/hello-world-counter/application.py:31
Functioncounter
(state: State)
examples/deployment/aws/lambda/app/counter_app.py:33
Functioncounter
(state: State)
examples/deployment/vercel/app/counter_app.py:33
Functioncow_said
(state: State, say_what: list[str])
examples/other-examples/cowsay/application.py:46
Functioncow_should_speak
(state: State)
examples/other-examples/cowsay/application.py:53
MethodcreateNewApplicationApiV0ChatbotCreateProjectIdAppIdPost
* Create New Application * Endpoint to create a new application -- used by the FE when * the user types in a new App ID * * :param project
telemetry/ui/src/api/services/DefaultService.ts:365
MethodcreateNewApplicationApiV0CounterCreateProjectIdAppIdPost
* Create New Application * Endpoint to create a new counter application * * :param project_id: Project ID * :param app_id: App ID * :re
telemetry/ui/src/api/services/DefaultService.ts:769
MethodcreateNewApplicationApiV0DeepResearcherCreateProjectIdAppIdPost
* Create New Application * @param projectId * @param appId * @returns string Successful Response * @throws ApiError
telemetry/ui/src/api/services/DefaultService.ts:671
MethodcreateNewApplicationApiV0StreamingChatbotCreateProjectIdAppIdPost
* Create New Application * Endpoint to create a new application -- used by the FE when * the user types in a new App ID * * :param project
telemetry/ui/src/api/services/DefaultService.ts:620
Functioncreate_annotation
( request: Request, project_id: str, app_id: str, partition_key: str,
burr/tracking/server/run.py:274
Methodcreate_annotation
Createse an annotation -- annotation has annotation data, the other pointers are given in the parameters. :param annotation: Annotation objec
burr/tracking/server/backend.py:89
Functioncreate_chat_completion
Creates a completion for the chat message
examples/openai-compatible-agent/server.py:57
Functioncreate_new_application
Endpoint to create a new application -- used by the FE when the user types in a new App ID :param project_id: Project ID :param app_id: A
examples/hello-world-counter/server.py:108
Functioncreate_new_application
(project_id: str, app_id: str)
examples/deep-researcher/server.py:97
Functioncreate_new_application
Endpoint to create a new application -- used by the FE when the user types in a new App ID :param project_id: Project ID :param app_id: A
examples/streaming-fastapi/server.py:134
Functioncreate_new_application
Endpoint to create a new application -- used by the FE when the user types in a new App ID :param project_id: Project ID :param app_id: A
examples/multi-modal-chatbot/server.py:113
Functioncreate_new_application
(project_id: str, app_id: str)
examples/email-assistant/server.py:136
Functioncreate_span_id
Creates a unique :return:
burr/visibility/tracing.py:90
Functioncreate_test_case
Create a test case from a persisted state. Does two things: 1. Pulls data specified and saves it/prints to console. 2. Prints a pytest t
burr/cli/__main__.py:376
Functioncreator
Generates a topic based on the outline and topics generated so far using the create function from the Instructor library. https://python.usei
examples/instructor-gemini-flash/application.py:152
Methodcurrent_action
(self)
burr/integrations/streamlit.py:55
FunctioncycleExpanded
(expanded: EXPANDED_TOGGLE)
telemetry/ui/src/components/routes/app/DataView.tsx:105
FunctioncycleExpandedDual
(expanded: DUAL_TOGGLE)
telemetry/ui/src/components/routes/app/DataView.tsx:116
Functiondate_to_timestamp
(date_str)
examples/conversational-rag/graph_db_example/utils.py:46
Functiondecide_mode
(state: State, __tracer: TracerFactory)
examples/opentelemetry/application.py:74
Methoddecorator
(clazz)
burr/lifecycle/internal.py:88
Methoddecorator
(func)
burr/core/serde.py:54
Functiondeduplicate_and_format_sources
Takes either a single search response or list of responses from search APIs and formats them. Limits the raw_content to approximately max_tok
examples/deep-researcher/utils.py:18
Functiondemo_server
(port: int)
burr/cli/__main__.py:232
Functiondeserialize_customclass
Deserializes the value using whatever meands we want :param value: the value to deserialize from. :param kwargs: :return: CustomClass
examples/custom-serde/application.py:56
Functiondeserialize_lc_document
Deserializes langchain documents.
burr/integrations/serde/langchain.py:49
Functiondeserialize_lc_document_hack
Deserializes langchain documents that we didn't know about into a document.
burr/integrations/serde/langchain.py:69
Functiondeserialize_lc_document_with_state
Deserializes langchain documents with state.
burr/integrations/serde/langchain.py:56
Functiondeserialize_lc_message
Deserializes langchain messages.
burr/integrations/serde/langchain.py:86
Functiondeserialize_lc_message_hack
Deserializes langchain messages that we didn't know how to serialize.
burr/integrations/serde/langchain.py:93
Functiondeserialize_pandas_df
Custom deserializer for pandas dataframes. :param value: the dictionary to pull the path from to load the parquet file. :param pandas_kwargs:
burr/integrations/serde/pandas.py:56
Functiondeserialize_pickle
Deserializes the value using pickle. :param value: the value to deserialize from. :param pickle_kwargs: note required. Optional.
burr/integrations/serde/pickle.py:64
Functiondeserialize_pydantic
Deserializes a pydantic object from a dictionary. This will pop the __pydantic_class and then import the class.
burr/integrations/serde/pydantic.py:37
← previousnext →1,201–1,300 of 2,698, ranked by callers