Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a386405
Merge remote-tracking branch 'origin/qat' into dev-14679-implement-se…
gregrholden Jul 8, 2026
d64e7a4
Merge remote-tracking branch 'origin/ftr/DEV-15167-implement-recipien…
gregrholden Jul 8, 2026
d80ee16
[DEV-14675] Implement initial filter-search endpoint
gregrholden Jul 9, 2026
aff9423
DEV-14675: Updating name of integration test to match filename
gregrholden Jul 9, 2026
266524f
Merge remote-tracking branch 'origin/ftr/DEV-15167-implement-recipien…
gregrholden Jul 10, 2026
c79439e
DEV-14675 Update filter_search_assistant to handle errors, log search…
gregrholden Jul 10, 2026
1832a8e
Merge branch 'dev-14679-implement-search-assistant' into ftr/DEV-1467…
gregrholden Jul 10, 2026
3346e53
DEV-14675 Ruff Linter fixes to contributed code
gregrholden Jul 10, 2026
c03cc37
DEV-14675 quick lint fix of trailing whitespace
gregrholden Jul 10, 2026
0d6ab2f
DEV-14675 - Added endpoint markdown. Updated search view to add syste…
gregrholden Jul 13, 2026
81cbd5f
Merge remote-tracking branch 'origin/ftr/DEV-15167-implement-recipien…
gregrholden Jul 14, 2026
4d7cafc
Merge remote-tracking branch 'origin/qat' into ftr/DEV-14675-llm-filt…
gregrholden Jul 14, 2026
9bc20a6
Merge branch 'dev-14679-implement-search-assistant' into ftr/DEV-1467…
gregrholden Jul 14, 2026
34d6218
DEV-14675 Updating filter search integration tests to account for DB …
gregrholden Jul 14, 2026
33edb12
DEV-14675 Fixed lint error
gregrholden Jul 14, 2026
a359e03
Merge branch 'qat' into ftr/DEV-14675-llm-filter-search-endpoint
gregrholden Jul 14, 2026
4ea6ce0
DEV-14675 Adding further error handling for test coverage
gregrholden Jul 14, 2026
6fcdf7b
DEV-14675 Fixing 'too many return statements' error from lint check b…
gregrholden Jul 14, 2026
1d65cfb
Removing excess whitespace on newline
gregrholden Jul 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions usaspending_api/api_docs/markdown/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ The currently available endpoints are listed in the following table.
|[/api/v2/idvs/count/federal_account/<AWARD_ID\>/](/api/v2/idvs/count/federal_account/CONT_IDV_NNK14MA74C_8000/)|GET| Returns the number of federal accounts associated with children and grandchild awards of an IDV. |
|[/api/v2/idvs/funding/](/api/v2/idvs/funding/)|POST| Returns File C funding records associated with an IDV |
|[/api/v2/idvs/funding_rollup/](/api/v2/idvs/funding_rollup/)|POST| Returns aggregated count of awarding agencies, federal accounts, and total transaction obligated amount for all contracts under an IDV |
|[/api/v2/llm/filter-search/](/api/v2/llm/filter-search/)|POST| Returns a streaming response for LLM-powered search operations with advanced filtering capabilities |
|[/api/v2/recipient/](/api/v2/recipient/)|POST| Returns a list of recipients in USAspending DB |
|[/api/v2/recipient/children/<DUNS_OR_UEI\>/](/api/v2/recipient/children/006928857/)|GET| Returns recipient details based on DUNS or UEI number |
|[/api/v2/recipient/count/](/api/v2/recipient/count/)|POST| Returns the count of recipents for the given filters |
Expand Down
2 changes: 1 addition & 1 deletion usaspending_api/llm/assistants/filter_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def handle_tool_use(self, tool_requests: list[dict], message: Message) -> Genera
tool = self.tools_by_name[tool_use["name"]]

yield {
"search_id": self.session.id,
"search_id": str(self.session.id),
"type": "tool_start",
"tool_use_id": t.id,
"message": tool.logging(tool_use["input"]) + "\n",
Expand Down
2 changes: 1 addition & 1 deletion usaspending_api/llm/fixtures/prompts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
- You may need to call other tools before calling the `execute_filter` tool in order to get valid input parameters to `execute_filter`.
- You may only call the `execute_filter` tool once. Calling `execute_filter` terminates the conversation. Therefore, include all the relevant parameters in the first and only call to `execute_filter`.
- Only include the relevant input paramaters to `execute_filter`.
- You must call `execute_filter`. Do not quit before calling this tool.
- You must call `execute_filter`. Do not quit before calling this tool.
Loading
Loading