vectara-agentic 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl
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.1.3.dist-info → vectara_agentic-0.1.4.dist-info}/METADATA +5 -7
- {vectara_agentic-0.1.3.dist-info → vectara_agentic-0.1.4.dist-info}/RECORD +5 -5
- {vectara_agentic-0.1.3.dist-info → vectara_agentic-0.1.4.dist-info}/LICENSE +0 -0
- {vectara_agentic-0.1.3.dist-info → vectara_agentic-0.1.4.dist-info}/WHEEL +0 -0
- {vectara_agentic-0.1.3.dist-info → vectara_agentic-0.1.4.dist-info}/top_level.txt +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vectara_agentic
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: A Python package for creating AI Assistants and AI Agents with Vectara
|
|
5
5
|
Home-page: https://github.com/vectara/py-vectara-agentic
|
|
6
6
|
Author: Ofer Mendelevitch
|
|
7
7
|
Author-email: ofer@vectara.com
|
|
8
|
-
License: Apache-2.0
|
|
9
8
|
Project-URL: Documentation, https://vectara.github.io/vectara-agentic-docs/
|
|
10
9
|
Keywords: LLM,NLP,RAG,Agentic-RAG
|
|
11
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -48,7 +47,7 @@ Requires-Dist: python-dotenv ==1.0.1
|
|
|
48
47
|
[](https://discord.com/invite/GFb8gMz6UH)
|
|
49
48
|
|
|
50
49
|
|
|
51
|
-
The idea of LLM-based agents
|
|
50
|
+
The idea of LLM-based agents is to use the LLM for building sophisticated AI assistants:
|
|
52
51
|
- The LLM is used for reasoning and coming up with a game-plan for how to respond to the user query.
|
|
53
52
|
- There are 1 or more "tools" provided to the agent. These tools can be used by the LLM to execute its plan.
|
|
54
53
|
|
|
@@ -67,7 +66,7 @@ The idea of LLM-based agents it to use the LLM for building sophisticated AI ass
|
|
|
67
66
|
|
|
68
67
|
### Install vectara-agentic
|
|
69
68
|
|
|
70
|
-
- `
|
|
69
|
+
- `pip install vectara-agentic`
|
|
71
70
|
|
|
72
71
|
### Create your AI assistant
|
|
73
72
|
|
|
@@ -82,7 +81,7 @@ vec_factory = VectaraToolFactory(vectara_api_key=os.environ['VECTARA_API_KEY'],
|
|
|
82
81
|
vectara_customer_id=os.environ['VECTARA_CUSTOMER_ID'],
|
|
83
82
|
vectara_corpus_id=os.environ['VECTARA_CORPUS_ID'])
|
|
84
83
|
```
|
|
85
|
-
The
|
|
84
|
+
The Vectara tool factory has a useful helper function called `create_rag_tool` which automates the creation of a
|
|
86
85
|
tool to query Vectara RAG.
|
|
87
86
|
|
|
88
87
|
For example if my Vectara corpus includes financial information from company
|
|
@@ -112,8 +111,7 @@ this tool in the most effective way.
|
|
|
112
111
|
The `tool_filter_template` provides the template filtering expression the tool should use when calling Vectara.
|
|
113
112
|
|
|
114
113
|
You can of course create more than one Vectara tool; tools may point at different corpora or may have different parameters for search
|
|
115
|
-
or generation.
|
|
116
|
-
in the service of the agent, so should be differentiated.
|
|
114
|
+
or generation.
|
|
117
115
|
|
|
118
116
|
#### Step 2: Create Other Tools, as needed
|
|
119
117
|
|
|
@@ -6,8 +6,8 @@ vectara_agentic/tools.py,sha256=79dZX2BBJeML9KglFlXiGxzfyUaoyX63DLwuexAQ8NE,1625
|
|
|
6
6
|
vectara_agentic/tools_catalog.py,sha256=Wc-j7p6LG4420KmM8SUKFtgI2b1IwryXqbALGDEvmAI,4266
|
|
7
7
|
vectara_agentic/types.py,sha256=CFjjxaYhflsFDsE2ZNrZgWqman_r2HJQ-nOvuUiX3IY,804
|
|
8
8
|
vectara_agentic/utils.py,sha256=8YqxRqgm6qbjoH-LotpeHRjKWRejn9VJoqM5BbsD0NU,2408
|
|
9
|
-
vectara_agentic-0.1.
|
|
10
|
-
vectara_agentic-0.1.
|
|
11
|
-
vectara_agentic-0.1.
|
|
12
|
-
vectara_agentic-0.1.
|
|
13
|
-
vectara_agentic-0.1.
|
|
9
|
+
vectara_agentic-0.1.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
10
|
+
vectara_agentic-0.1.4.dist-info/METADATA,sha256=No8ef-KKrHbAQc8ZdImNqkRqS41jIx2fObV9N_tI4Gc,10306
|
|
11
|
+
vectara_agentic-0.1.4.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
12
|
+
vectara_agentic-0.1.4.dist-info/top_level.txt,sha256=qT7JB9Xz7byehzlPd_rY4WWEAvPMhs63WMWgPsFthxU,16
|
|
13
|
+
vectara_agentic-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|