andreped commited on
Commit
a632443
1 Parent(s): 298864d

Renamed utils to data

Browse files
Files changed (1) hide show
  1. chatbot/{utils.py → data.py} +4 -2
chatbot/{utils.py → data.py} RENAMED
@@ -1,5 +1,7 @@
1
  import os
2
 
 
 
3
  import streamlit as st
4
  from gdown import download_folder
5
  from llama_index import ServiceContext
@@ -31,8 +33,8 @@ def load_data():
31
  api_version=st.secrets["OPENAI_API_VERSION"],
32
  system_prompt="You are an expert on André's research and your job is to answer"
33
  "technical questions. Assume that all questions are related to"
34
- "André's research. Keep your answers technical and based on facts"
35
- " do not hallucinate features.",
36
  )
37
  # You need to deploy your own embedding model as well as your own chat completion model
38
  embed_model = OpenAIEmbedding(
 
1
  import os
2
 
3
+ from chatbot import redirect as rd
4
+
5
  import streamlit as st
6
  from gdown import download_folder
7
  from llama_index import ServiceContext
 
33
  api_version=st.secrets["OPENAI_API_VERSION"],
34
  system_prompt="You are an expert on André's research and your job is to answer"
35
  "technical questions. Assume that all questions are related to"
36
+ "André's research. Keep your answers technical and based on facts;"
37
+ " do not hallucinate features.",
38
  )
39
  # You need to deploy your own embedding model as well as your own chat completion model
40
  embed_model = OpenAIEmbedding(