Find answers from the community

Home
Members
CryptoCat
C
CryptoCat
Offline, last seen 3 months ago
Joined September 25, 2024
Hi, i've built a ListIndex over all of my product's documentation pages (177 html to text files). If i use the query engine now, each request costs about $1. Is there a way to reduce these costs? my code is a simple as:
Plain Text
storage_context = StorageContext.from_defaults(persist_dir="./storage")
# load index
index = load_index_from_storage(storage_context)

query_engine = index.as_query_engine()
response = query_engine.query("what do you know about ...?")
4 comments
C
L