Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a-agmon/rs-graph-llm
/ functions
Functions
194 in github.com/a-agmon/rs-graph-llm
⨍
Functions
194
◇
Types & classes
80
Method
chat_history_len
Get the number of messages in the chat history.
graph-flow/src/context.rs:759
Method
clear_chat_history
Clear the chat history. # Examples ```rust use graph_flow::Context; # #[tokio::main] # async fn main() { let context = Context::new(); context.add_
graph-flow/src/context.rs:754
Function
correlation_id_middleware
Middleware to add correlation ID to all requests
insurance-claims-service/src/main.rs:83
Method
default
()
graph-flow/src/context.rs:895
Method
default
()
graph-flow/src/storage.rs:57
Method
delete
(&self, id: &str)
graph-flow/src/storage_postgres.rs:120
Method
delete
(&self, id: &str)
graph-flow/src/storage.rs:81
Method
deserialize
(deserializer: D)
graph-flow/src/context.rs:921
Function
execute_graph
( State(state): State<AppState>, Json(request): Json<ExecuteRequest>, )
insurance-claims-service/src/main.rs:179
Function
fanout_all_success_aggregates
()
graph-flow/src/fanout.rs:226
Function
fanout_failure_bubbles_up
()
graph-flow/src/fanout.rs:247
Method
from
Convert a [`SerializableMessage`] into a `rig::completion::Message`, moving the content instead of cloning it. Only available when the "rig" feature
graph-flow/src/context.rs:885
Method
get
(&self, id: &str)
graph-flow/src/storage_postgres.rs:92
Method
get
(&self, id: &str)
graph-flow/src/storage.rs:77
Function
get_session
( State(state): State<AppState>, Path(session_id): Path<String>, )
insurance-claims-service/src/main.rs:278
Function
get_session_status
( State(state): State<AppState>, Path(session_id): Path<String>, )
medical-document-service/src/service.rs:186
Method
get_task
Get a task by ID
graph-flow/src/graph.rs:348
Function
health_check
()
medical-document-service/src/service.rs:107
Function
health_check
()
recommendation-service/src/main.rs:48
Function
health_check
()
insurance-claims-service/src/main.rs:175
Method
id
(&self)
recommendation-service/src/tasks/answer_generation.rs:15
Method
id
(&self)
recommendation-service/src/tasks/validation.rs:15
Method
id
(&self)
recommendation-service/src/tasks/vector_search.rs:30
Method
id
Unique identifier for this task. By default, this returns the type name of the implementing struct. Override this method if you need a custom identif
graph-flow/src/task.rs:445
Method
id
(&self)
graph-flow/src/task.rs:524
Method
is_chat_history_empty
Check if the chat history is empty.
graph-flow/src/context.rs:764
Function
main
()
medical-document-service/src/main.rs:7
Function
main
()
medical-document-service/src/bin/test_research_search.rs:9
Function
main
()
medical-document-service/src/bin/test_pdf_ocr.rs:9
Function
main
()
recommendation-service/src/main.rs:178
Function
main
()
insurance-claims-service/src/main.rs:104
Function
main
()
examples/terminal_client.rs:24
Function
main
()
examples/complex_example.rs:131
Function
main
()
examples/fanout_basic.rs:53
Function
main
()
examples/recommendation_flow.rs:389
Function
main
()
examples/simple_example.rs:42
Method
migrate
(pool: &Pool<Postgres>)
graph-flow/src/storage_postgres.rs:40
Method
move_to_next
Create a TaskResult that moves to the next task (step-by-step execution). This is a convenience method equivalent to: ```rust # use graph_flow::{Task
graph-flow/src/task.rs:176
Method
move_to_next_direct
Create a TaskResult that moves to the next task and executes it immediately. This is a convenience method equivalent to: ```rust # use graph_flow::{T
graph-flow/src/task.rs:192
Method
new
()
recommendation-service/src/tasks/vector_search.rs:15
Method
new
()
examples/recommendation_flow.rs:106
Method
new
(id: impl Into<String>)
graph-flow/src/graph.rs:41
Method
new
Create a new `FanOutTask` with an explicit id and a list of child tasks.
graph-flow/src/fanout.rs:82
Method
new
Create a new TaskResult with the given response and next action. The task_id will be set automatically by the graph execution engine. # Examples ``
graph-flow/src/task.rs:130
Method
new
Create a new message with the specified role and content. The timestamp is automatically set to the current UTC time.
graph-flow/src/context.rs:158
Method
new
Create a new `FlowRunner` from an `Arc<Graph>` and any `SessionStorage` implementation. # Parameters `graph` - The workflow graph to execute `storag
graph-flow/src/runner.rs:257
Method
new
()
graph-flow/src/storage.rs:63
Method
new_from_task
Create a new session positioned at the given task. Note: `graph_id` is set to `"default"`; assign it explicitly if you store multiple graphs.
graph-flow/src/storage.rs:24
Method
new_with_status
Create a new TaskResult with response, next action, and status message. The status message is used to describe the current state of the task. It's on
graph-flow/src/task.rs:156
Function
provide_feedback
( State(state): State<AppState>, Path(session_id): Path<String>, Json(request): Json<HumanFeedback
medical-document-service/src/service.rs:276
Function
recommend
( Query(params): Query<RecommendationRequest>, State(state): State<AppState>, )
recommendation-service/src/main.rs:62
Function
root
()
medical-document-service/src/service.rs:93
Method
run
(&self, context: Context)
medical-document-service/src/tasks/research_search.rs:15
Method
run
(&self, context: Context)
medical-document-service/src/tasks/summary_integration.rs:12
Method
run
(&self, context: Context)
medical-document-service/src/tasks/human_review.rs:10
Method
run
(&self, context: Context)
recommendation-service/src/tasks/answer_generation.rs:19
Method
run
(&self, context: Context)
recommendation-service/src/tasks/validation.rs:19
Method
run
(&self, context: Context)
recommendation-service/src/tasks/vector_search.rs:34
Method
run
(&self, context: Context)
recommendation-service/src/tasks/query_refinement.rs:15
Method
run
(&self, context: Context)
insurance-claims-service/src/tasks/apartment_insurance_details.rs:62
Method
run
(&self, context: Context)
insurance-claims-service/src/tasks/smart_claim_validator.rs:15
Method
run
(&self, context: Context)
insurance-claims-service/src/tasks/insurance_type_classifier.rs:52
Method
run
(&self, context: Context)
insurance-claims-service/src/tasks/car_insurance_details.rs:61
Method
run
(&self, context: Context)
insurance-claims-service/src/tasks/initial_claim_query.rs:26
Method
run
(&self, context: Context)
graph-flow/src/lib.rs:206
Method
run
(&self, _context: Context)
graph-flow/src/task.rs:515
Method
save
(&self, session: Session)
graph-flow/src/storage_postgres.rs:63
Method
serialize
(&self, serializer: S)
graph-flow/src/context.rs:902
Method
set_start_task
Set the starting task. Logs a warning and leaves the current start task unchanged if the given task id has not been added to the graph.
graph-flow/src/graph.rs:82
Function
start_analysis
( State(state): State<AppState>, Json(request): Json<AnalyzeDocumentRequest>, )
medical-document-service/src/service.rs:114
Method
start_task_id
Get the start task ID
graph-flow/src/graph.rs:343
Method
system
Create a new system message. # Examples ```rust use graph_flow::SerializableMessage; let msg = SerializableMessage::system("User logged in".to_stri
graph-flow/src/context.rs:201
Function
test_basic_context_operations
()
graph-flow/src/context.rs:943
Function
test_chat_history_max_messages
()
graph-flow/src/context.rs:973
Function
test_chat_history_operations
()
graph-flow/src/context.rs:952
Function
test_chat_history_serialization
()
graph-flow/src/context.rs:1039
Function
test_context_serialization
()
graph-flow/src/context.rs:1008
Function
test_custom_id_override
()
graph-flow/src/task.rs:540
Function
test_default_id_implementation
()
graph-flow/src/task.rs:534
Function
test_last_messages
()
graph-flow/src/context.rs:989
Function
test_llm_vision_ocr
()
medical-document-service/src/tasks/pdf_extract.rs:256
Function
test_pdf_llm_ocr_workflow
()
medical-document-service/src/tasks/pdf_extract.rs:286
Function
test_rig_integration
()
graph-flow/src/context.rs:1054
Function
test_serializable_message
()
graph-flow/src/context.rs:1026
Function
test_simple_graph_execution
exercises the deprecated Graph::execute until it is removed
graph-flow/src/lib.rs:219
Function
test_storage
()
graph-flow/src/lib.rs:239
Method
try_set
Fallible version of [`Context::set`]. Returns `Err(GraphError::ContextError)` instead of panicking when the value cannot be serialized to JSON.
graph-flow/src/context.rs:499
Method
user
Create a new user message. # Examples ```rust use graph_flow::SerializableMessage; let msg = SerializableMessage::user("Hello, world!".to_string())
graph-flow/src/context.rs:175
Method
with_max_chat_messages
Create a new context with a maximum chat history size. When the chat history exceeds this size, older messages are automatically removed. # Examples
graph-flow/src/context.rs:428
Method
with_max_execution_steps
Limit the number of chained `ContinueAndExecute` steps within a single `execute_session` call, guarding against infinite loops in cyclic graphs (defau
graph-flow/src/graph.rs:403
Method
with_max_messages
Create a new chat history with a maximum message limit. When the limit is exceeded, older messages are automatically removed. # Examples ```rust us
graph-flow/src/context.rs:257
Method
with_next_action
Override the `NextAction` returned by the `FanOutTask` (default: `Continue`).
graph-flow/src/fanout.rs:100
Method
with_pool
Build the storage from a pre-configured pool (custom connection limits, timeouts, etc.) and run the schema migration.
graph-flow/src/storage_postgres.rs:35
Method
with_task_timeout
Set the timeout applied to each task execution (default: 5 minutes).
graph-flow/src/graph.rs:395
← previous
101–194 of 194, ranked by callers