ofermend commited on
Commit
6556082
1 Parent(s): 7d8f60d

vectara-agentic

Browse files
Files changed (4) hide show
  1. agent.py +3 -3
  2. app.py +1 -1
  3. requirements.txt +1 -2
  4. test_agent.py +1 -1
agent.py CHANGED
@@ -9,9 +9,9 @@ from omegaconf import OmegaConf
9
  from typing import Optional
10
  from pydantic import Field, BaseModel
11
 
12
- from vectara_agent.agent import Agent
13
- from vectara_agent.tools import ToolsFactory, VectaraToolFactory
14
- from vectara_agent.tools_catalog import summarize_text
15
 
16
  from dotenv import load_dotenv
17
  load_dotenv(override=True)
 
9
  from typing import Optional
10
  from pydantic import Field, BaseModel
11
 
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
  from dotenv import load_dotenv
17
  load_dotenv(override=True)
app.py CHANGED
@@ -7,7 +7,7 @@ import streamlit as st
7
  from streamlit_pills import pills
8
  from streamlit_feedback import streamlit_feedback
9
 
10
- from vectara_agent.agent import AgentStatusType
11
 
12
  from agent import initialize_agent, get_agent_config
13
  from utils import thumbs_feedback, escape_dollars_outside_latex, send_amplitude_data
 
7
  from streamlit_pills import pills
8
  from streamlit_feedback import streamlit_feedback
9
 
10
+ from vectara_agentic.agent import AgentStatusType
11
 
12
  from agent import initialize_agent, get_agent_config
13
  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-agent.git
 
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 vectara_agent.agent import Agent
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