ionosphere commited on
Commit
6999c1b
1 Parent(s): 97a6d8a

Update llama index lib

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,10 +1,10 @@
1
  import os
2
  import gradio as gr
3
  from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, SummaryIndex, ServiceContext
4
- from llama_index.readers import SimpleWebPageReader
5
- from llama_index.llms import MistralAI
6
- from llama_index.embeddings import MistralAIEmbedding
7
- from llama_index.query_engine import RetrieverQueryEngine
8
 
9
  title = "Gaia Mistral 8x7b Chat RAG URL Demo"
10
  description = "Example of an assistant with Gradio, RAG from url and Mistral AI via its API"
 
1
  import os
2
  import gradio as gr
3
  from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, SummaryIndex, ServiceContext
4
+ from llama_index.readers.web import SimpleWebPageReader
5
+ from llama_index.llms.mistralai import MistralAI
6
+ from llama_index.embeddings.mistralai import MistralAIEmbedding
7
+ from llama_index.core.query_engine import RetrieverQueryEngine
8
 
9
  title = "Gaia Mistral 8x7b Chat RAG URL Demo"
10
  description = "Example of an assistant with Gradio, RAG from url and Mistral AI via its API"