Ask Question
The llama-index tag has no usage guidance.
162 questions- Bountied 0
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
Information Retrival LLama-Index
I am building a Name Entity Recognition system using llama-index and chatgpt api , i have build a template with chatgpt but i need to convert to llama-index template , What is procedure and how to ...- 19
How to add system instructions when using chainlit x LlamaIndex with StorageContext?
try: # rebuild storage context storage_context = StorageContext.from_defaults(persist_dir="./storage") # load index index = load_index_from_storage(storage_context) except: ...- 118
How to perform llama-index query when metadata are included to the documents
When adding metadata via every method listed here, the query does not return the correct node. Without metadata everything works fine. adding document.metadata = {'filename': '<doc_file_name>', '...- 148
use llama-index with open source LLM hosted locally
I'm using the llama-index code below to create an index object from a saved text corpus. I'm then loading the saved index object and querying it to produce a response. I'm using an openai apikey so ...- 4,073
Llamaindex OpenAIEmbedding AttributeError: OpenAIEmbedding has no attribute 'embed_documents'
print('loading dependencies') from pathlib import Path from llama_index import download_loader from llama_index import VectorStoreIndex, ServiceContext, SimpleDirectoryReader from llama_index import ...- 65
Is there other way to set the scheme in the table_schema_objs for the Index in Llama-Index
Using LLAMAINDEX I want to query my SQL Server 2014 database but I'm having this problem: SQLALCHEMY is taking the dbo scheme... raise exc.NoSuchTableError(f"{owner}.{tablename}") sqlalchemy....- 11
get finish_reason in llama_index
how can i get the finish_reason of the OpenAI response with llama_index? this is an example of my code: query_engine = index.as_query_engine() response = query_engine.query("what is this ...- 121
ValidationError when instantiating SimpleNodeParser class from llama index
Taking straight from the docs ... from llama_index.node_parser import SimpleNodeParser from llama_index import SimpleDirectoryReader # load the blogs in using the reader docs = SimpleDirectoryReader('...- 195
import SimpleDirectoryReader from llama-index
I have a conda virtual python 3.10.12 environment named LLM. I've created it on my ubuntu 18.04 LTS server. I've pip installed llama-index 0.6.9 into the virtual environment because llama-index wasn'...- 4,073
How to add fulltext search to llamaindex
I am making chatbot that is capable of discussing movies with langchain and llamaindex. I am following this guide. I wish llamaindex performs not only search with vector knn, but also adds some ...- 181
How to add source doc title to each chunk of document in llamaindex
If I understand correctly how llamaindex works, it splits each long document to several smaller chunks, and then passes them as context part in LLM prompt. I am following this guide I am trying to ...- 181
llama-index: How to Extract `context_str` Used in LlamaIndex for a Given Response?
I'm working with LlamaIndex, and I need to extract the context_str that was used in a query before it was sent to the LLM (Language Model). Here's the relevant code: index = VectorStoreIndex....- 632
Differences between Langchain & LlamaIndex
I'm currently working on developing a chatbot powered by a Large Language Model (LLM), and I want it to provide responses based on my own documents. I understand that using a fine-tuned model on my ...- 632
ChatGPT API Custom-trained AI Chatbot answering "None" to Python Query
I'm connecting to my first chatbot. Based on the process outlined here: I created the code he suggested to get ChatGPT to ...- 765
how to read nested mongoDB atrributes in llama-index
am trying to access and read document from mongoDB, query_dict = { "details.description": {"$exists": True} } field_names = ["details.description"] reader = ...- 2,352
15 30 50 per pagePrev 12345…11 Next