Spaces:
Running
Running
changed to vectara-agentic
Browse files- agent.py +3 -3
- app.py +1 -1
- requirements.txt +1 -2
- test_agent.py +1 -1
agent.py
CHANGED
@@ -9,9 +9,9 @@ from dotenv import load_dotenv
|
|
9 |
load_dotenv(override=True)
|
10 |
|
11 |
from pydantic import Field, BaseModel
|
12 |
-
from
|
13 |
-
from
|
14 |
-
from
|
15 |
|
16 |
initial_prompt = "How can I help you today?"
|
17 |
|
|
|
9 |
load_dotenv(override=True)
|
10 |
|
11 |
from pydantic import Field, BaseModel
|
12 |
+
from vectara_agentic.agent import Agent
|
13 |
+
from vectara_agentic.tools import ToolsFactory, VectaraToolFactory
|
14 |
+
from vectara_agentic.tools_catalog import summarize_text
|
15 |
|
16 |
initial_prompt = "How can I help you today?"
|
17 |
|
app.py
CHANGED
@@ -9,7 +9,7 @@ import streamlit as st
|
|
9 |
from streamlit_pills import pills
|
10 |
from streamlit_feedback import streamlit_feedback
|
11 |
|
12 |
-
from
|
13 |
|
14 |
from utils import thumbs_feedback, escape_dollars_outside_latex, send_amplitude_data
|
15 |
|
|
|
9 |
from streamlit_pills import pills
|
10 |
from streamlit_feedback import streamlit_feedback
|
11 |
|
12 |
+
from vectara_agentic.agent import AgentStatusType
|
13 |
|
14 |
from utils import thumbs_feedback, escape_dollars_outside_latex, send_amplitude_data
|
15 |
|
requirements.txt
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
omegaconf==2.3.0
|
2 |
-
pydantic==1.10.15
|
3 |
python-dotenv==1.0.1
|
4 |
streamlit==1.32.2
|
5 |
streamlit_pills==0.3.0
|
@@ -7,4 +6,4 @@ streamlit_feedback==0.1.3
|
|
7 |
langdetect==1.0.9
|
8 |
langcodes==3.4.0
|
9 |
uuid==1.30
|
10 |
-
git+https://{GITHUB_TOKEN}@github.com/vectara/vectara-
|
|
|
1 |
omegaconf==2.3.0
|
|
|
2 |
python-dotenv==1.0.1
|
3 |
streamlit==1.32.2
|
4 |
streamlit_pills==0.3.0
|
|
|
6 |
langdetect==1.0.9
|
7 |
langcodes==3.4.0
|
8 |
uuid==1.30
|
9 |
+
git+https://{GITHUB_TOKEN}@github.com/vectara/py-vectara-agentic.git
|
test_agent.py
CHANGED
@@ -2,7 +2,7 @@ import unittest
|
|
2 |
import os
|
3 |
|
4 |
from omegaconf import OmegaConf
|
5 |
-
from
|
6 |
|
7 |
from agent import initialize_agent
|
8 |
|
|
|
2 |
import os
|
3 |
|
4 |
from omegaconf import OmegaConf
|
5 |
+
from vectara_agentic.agent import Agent
|
6 |
|
7 |
from agent import initialize_agent
|
8 |
|