vectara-agentic 0.3.2__tar.gz → 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of vectara-agentic might be problematic. Click here for more details.
- {vectara_agentic-0.3.2/vectara_agentic.egg-info → vectara_agentic-0.3.3}/PKG-INFO +1 -1
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/_version.py +1 -1
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/tools.py +10 -3
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3/vectara_agentic.egg-info}/PKG-INFO +1 -1
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/LICENSE +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/MANIFEST.in +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/README.md +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/requirements.txt +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/setup.cfg +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/setup.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/__init__.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/endpoint.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_agent.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_agent_planning.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_agent_type.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_api_endpoint.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_bedrock.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_fallback.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_gemini.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_groq.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_hhem.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_private_llm.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_return_direct.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_serialization.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_tools.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_vectara_llms.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/tests/test_workflow.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/__init__.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/_callback.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/_observability.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/_prompts.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/agent.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/agent_config.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/agent_endpoint.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/db_tools.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/hhem.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/llm_utils.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/sub_query_workflow.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/tool_utils.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/tools_catalog.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/types.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic/utils.py +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic.egg-info/SOURCES.txt +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic.egg-info/dependency_links.txt +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic.egg-info/requires.txt +0 -0
- {vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic.egg-info/top_level.txt +0 -0
|
@@ -367,7 +367,9 @@ class VectaraToolFactory:
|
|
|
367
367
|
frequency_penalty: Optional[float] = None,
|
|
368
368
|
presence_penalty: Optional[float] = None,
|
|
369
369
|
include_citations: bool = True,
|
|
370
|
-
citation_pattern: str =
|
|
370
|
+
citation_pattern: str = None,
|
|
371
|
+
citation_url_pattern: str = "{doc.url}",
|
|
372
|
+
citation_text_pattern: str = "{doc.title}",
|
|
371
373
|
save_history: bool = False,
|
|
372
374
|
fcs_threshold: float = 0.0,
|
|
373
375
|
return_direct: bool = False,
|
|
@@ -421,9 +423,13 @@ class VectaraToolFactory:
|
|
|
421
423
|
higher values increasing the diversity of topics.
|
|
422
424
|
include_citations (bool, optional): Whether to include citations in the response.
|
|
423
425
|
If True, uses markdown vectara citations that requires the Vectara scale plan.
|
|
424
|
-
|
|
426
|
+
citation_url_pattern (str, optional): The pattern for the citations in the response.
|
|
425
427
|
Default is "{doc.url}" which uses the document URL.
|
|
426
428
|
If include_citations is False, this parameter is ignored.
|
|
429
|
+
citation_pattern (str, optional): old name for citation_url_pattern. Will be deprecated in future.
|
|
430
|
+
citation_text_pattern (str, optional): The text pattern for citations in the response.
|
|
431
|
+
Default is "{doc.title}" which uses the title of the document.
|
|
432
|
+
If include_citations is False, this parameter is ignored.
|
|
427
433
|
save_history (bool, optional): Whether to save the query in history.
|
|
428
434
|
fcs_threshold (float, optional): A threshold for factual consistency.
|
|
429
435
|
If set above 0, the tool notifies the calling agent that it "cannot respond" if FCS is too low.
|
|
@@ -501,7 +507,8 @@ class VectaraToolFactory:
|
|
|
501
507
|
frequency_penalty=frequency_penalty,
|
|
502
508
|
presence_penalty=presence_penalty,
|
|
503
509
|
citations_style="markdown" if include_citations else None,
|
|
504
|
-
citations_url_pattern=citation_pattern if include_citations else None,
|
|
510
|
+
citations_url_pattern=(citation_pattern if citation_pattern is not None else citation_url_pattern) if include_citations else None,
|
|
511
|
+
citations_text_pattern=citation_text_pattern if include_citations else None,
|
|
505
512
|
save_history=save_history,
|
|
506
513
|
x_source_str="vectara-agentic",
|
|
507
514
|
verbose=verbose,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vectara_agentic-0.3.2 → vectara_agentic-0.3.3}/vectara_agentic.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|