chengxuan_46563
08/27/2025, 10:30 AMVaibhav (BAML 🐑)
08/27/2025, 10:31 AMchengxuan_46563
08/27/2025, 11:13 AM{% endif %}
Extract the following data:
{{ _.role('system') }}
{{ ctx.output_format }}
"#
}
# end of filechengxuan_46563
08/27/2025, 11:33 AMfunction Testsss(
messages: string[],
) -> FrontOfHouseConversation {
client OpenaiGPT41Search
prompt #"
Doing web search to figure out parking rate for the query:
{{ messages }}
Extract the following data:
{{ _.role('system') }}
{{ ctx.output_format }}
"#
}
test testsetsts {
functions [Testsss]
args {
messages [
#"user What is the parking rate for the Seattle airport?"#
]
}
}chengxuan_46563
08/27/2025, 11:33 AMclass FrontOfHouseConversation {
agent_response string @description(#"
The response to the traveler's most recent input, directive or question.
"#)
last_message_topic string @description(#"the topic that best matches the traveler's most recent input, directive or question."#)
}chengxuan_46563
08/27/2025, 11:34 AMclient<llm> OpenaiGPT41Search {
provider openai-responses
options {
api_key env.OPENAI_API_KEY
model "gpt-4.1"
allowed_roles ["system", "developer", "user", "assistant", "tool"]
tools [
{
type "web_search_preview"
}
]
}
}baml-sam
08/27/2025, 9:50 PMchengxuan_46563
08/28/2025, 12:18 AMVaibhav (BAML 🐑)
08/28/2025, 7:21 AMchengxuan_46563
08/29/2025, 2:46 AMchengxuan_46563
10/07/2025, 12:29 AMchengxuan_46563
10/07/2025, 12:29 AM