mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Enhance Azure AI Search Citations with Complete URL Information (#2066)
* add get_url to raw rep for absolute path url * fixes * add real url to citation annotation * small fix * project client + openapi fix * openapi sample revert * tool call list fix
This commit is contained in:
committed by
GitHub
Unverified
parent
6d890e46ed
commit
21dceca482
+3
-3
@@ -103,11 +103,11 @@ async def main() -> None:
|
||||
|
||||
print()
|
||||
|
||||
# Display collected citations
|
||||
# Display collected citation
|
||||
if citations:
|
||||
print("\n\nCitations:")
|
||||
print("\n\nCitation:")
|
||||
for i, citation in enumerate(citations, 1):
|
||||
print(f"[{i}] Reference: {citation.url}")
|
||||
print(f"[{i}] {citation.url}")
|
||||
|
||||
print("\n" + "=" * 50 + "\n")
|
||||
print("Hotel search conversation completed!")
|
||||
|
||||
Reference in New Issue
Block a user