Spaces:
Running
Running
vectara-agentic
Browse files- agent.py +2 -2
- app.py +1 -1
- requirements.txt +1 -2
- test_agent.py +1 -1
agent.py
CHANGED
@@ -5,8 +5,8 @@ from pydantic import Field, BaseModel
|
|
5 |
|
6 |
from omegaconf import OmegaConf
|
7 |
|
8 |
-
from
|
9 |
-
from
|
10 |
|
11 |
from dotenv import load_dotenv
|
12 |
load_dotenv(override=True)
|
|
|
5 |
|
6 |
from omegaconf import OmegaConf
|
7 |
|
8 |
+
from vectara_agentic.agent import Agent
|
9 |
+
from vectara_agentic.tools import ToolsFactory, VectaraToolFactory
|
10 |
|
11 |
from dotenv import load_dotenv
|
12 |
load_dotenv(override=True)
|
app.py
CHANGED
@@ -6,7 +6,7 @@ import streamlit as st
|
|
6 |
from streamlit_pills import pills
|
7 |
from streamlit_feedback import streamlit_feedback
|
8 |
|
9 |
-
from
|
10 |
|
11 |
from agent import initialize_agent, get_agent_config
|
12 |
from utils import thumbs_feedback, escape_dollars_outside_latex, send_amplitude_data
|
|
|
6 |
from streamlit_pills import pills
|
7 |
from streamlit_feedback import streamlit_feedback
|
8 |
|
9 |
+
from vectara_agentic.agent import AgentStatusType
|
10 |
|
11 |
from agent import initialize_agent, get_agent_config
|
12 |
from utils import thumbs_feedback, escape_dollars_outside_latex, send_amplitude_data
|
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 |
uuid==1.30
|
8 |
langdetect==1.0.9
|
9 |
langcodes==3.4.0
|
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 |
uuid==1.30
|
7 |
langdetect==1.0.9
|
8 |
langcodes==3.4.0
|
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 |
|