jayash391 commited on
Commit
967929f
1 Parent(s): 682a749

Update nexus.py

Browse files
Files changed (1) hide show
  1. nexus.py +4 -3
nexus.py CHANGED
@@ -1,11 +1,12 @@
1
- from llama_index import VectaraIndex
2
  from dotenv import load_dotenv
3
  import os
4
  from docx import Document
5
- from llama_index.llms import TogetherLLM
6
- from llama_index.llms.base import ChatMessage, MessageRole
7
  from Bio import Entrez
8
  import ssl
 
9
  import streamlit as st
10
  from googleapiclient.discovery import build
11
  from typing import List, Optional
 
1
+ from llama_index.indices.managed.vectara import VectaraIndex
2
  from dotenv import load_dotenv
3
  import os
4
  from docx import Document
5
+ from llama_index.llms.together import TogetherLLM
6
+ from llama_index.core.llms import ChatMessage, MessageRole
7
  from Bio import Entrez
8
  import ssl
9
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
10
  import streamlit as st
11
  from googleapiclient.discovery import build
12
  from typing import List, Optional