ofermend commited on
Commit
6f5672c
1 Parent(s): 9ce34f7

update 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
@@ -7,9 +7,9 @@ from dotenv import load_dotenv
7
  load_dotenv(override=True)
8
 
9
  from pydantic import Field, BaseModel
10
- from vectara_agent.agent import Agent
11
- from vectara_agent.tools import ToolsFactory, VectaraToolFactory
12
- from vectara_agent.tools_catalog import rephrase_text
13
 
14
  teaching_styles = ['Inquiry-based', 'Socratic', 'traditional']
15
  languages = {'English': 'en', 'Spanish': 'es', 'French': 'fr', 'German': 'de', 'Arabic': 'ar', 'Chinese': 'zh-cn',
 
7
  load_dotenv(override=True)
8
 
9
  from pydantic import Field, BaseModel
10
+ from vectara_agentic.agent import Agent
11
+ from vectara_agentic.tools import ToolsFactory, VectaraToolFactory
12
+ from vectara_agentic.tools_catalog import rephrase_text
13
 
14
  teaching_styles = ['Inquiry-based', 'Socratic', 'traditional']
15
  languages = {'English': 'en', 'Spanish': 'es', 'French': 'fr', 'German': 'de', 'Arabic': 'ar', 'Chinese': 'zh-cn',
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 vectara_agent.agent import AgentStatusType
10
 
11
  from agent import initialize_agent, get_agent_config, teaching_styles, languages
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, teaching_styles, languages
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-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