Update nexus.py
Browse files
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
|
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
|