Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [llama-index]

LlamaIndex is a data framework for developing LLM applications. Previously knows as GPT Index

llama-index
0 votes
0 answers
22 views

Error : PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`

Here is the code after loading data and creating index I am trying to setup the chat engine: index = load_and_index_data() chat_engine = index.as_chat_engine(chat_mode="condense_question", ...
sri vidya's user avatar
0 votes
0 answers
13 views

how to import SimpleDirectoryReader, VectorStoreIndex in vscode

from llama_index.core import SimpleDirectoryReader, VectorStoreIndex tried running the above command in vscode Jupyter notebook how to solve it, i have installed all the packages and libraries,still ...
Shreya Satyakam's user avatar
0 votes
0 answers
42 views

SimpleDirectoryReader() function seems not to support the Folder or Directory option

I am building a chatbot using FastAPI and Llamaindex tools. When I tried to generate the embeddings of the documents in the ./data directory, the system processed for a long time and raised an error ...
Hòa Đỗ's user avatar
0 votes
0 answers
37 views

ConnectError: All connection attempts failed when connecting indexing to neo4j database using PropertyGraphIndex from llama3

I am working on knowledge graph and all connection to neo4j browser is a success(using neo4j desktop windows not docker deployed). however with llama3 i am running the same notebooks as in property ...
Kcndze's user avatar
  • 21
0 votes
0 answers
7 views

Llamindex + postgresql + openai Why Llamaindex send only 2 data of my database to openai?

i have postgresql database with over 100 000 verbatims (with tonality link to each verbatim) in it. I want to do a resume of all negative verbatim on this database. Right now my main problem is it ...
valentin garreau's user avatar
0 votes
0 answers
20 views

Defining Agent in LLamaIndex and Mistral 7B is throwing Attribute error

I am using llamaIndex and locally downloaded Mistral model (mistral-7b-instruct-v0.2.Q4_K_M.gguf). I have created the python binding for this model using "llama-cpp". On defining the agent ...
ritwikv's user avatar
0 votes
0 answers
20 views

Chroma DB Creatation Kernal Dead Midway

I would like to create a ChromaDB with csv in a folder. In each of the csv, each line is a document (text). I am using Gemini embedding model. My code do run. But the kernel will die after around 100 ...
Teck's user avatar
  • 75
-1 votes
0 answers
18 views

Got `disk_offload` error while trying to get the LLma3 model from Hugging face

import torch from transformers import AutoModelForCausalLM,AutoTokenizer from llama_index.llms.huggingface import HuggingFaceLLM from accelerate import disk_offload tokenizer = AutoTokenizer....
Vins Shaji's user avatar
0 votes
0 answers
44 views

How to merge multiple (at least two) existing LlamaIndex VectorStoreIndex instances?

I'm working with LlamaIndex and have created two separate VectorStoreIndex instances, each from different documents. Now, I want to merge these two indexes into a single index. Here's my current setup:...
林抿均's user avatar
0 votes
0 answers
29 views

How to Implement Multishot Prompting in LlamaIndex?

I'm working with LlamaIndex and I'm interested in implementing a Multishot Prompting mechanism. My goal is to use multiple prompts to refine and diversify the output for a given query. Eg.: You are ...
electricz's user avatar
0 votes
0 answers
19 views

Using Manticore search with llamaindex

I working on a ChatBot project using llamaindex. In there, I need to combine MySQL database which is indexed using Manticore search and PDF documents as embeddings. I'm following example of https://...
Indika Rajapaksha's user avatar
0 votes
0 answers
51 views

LlamaIndex Pandas Query Engine not returning all rows

I am using LlamaIndex Pandas Query Engine to produce a pandas query that is applied on a dataframe. The query produced is correct however the dataframe returned is not. Specifically, a dataframe with ...
prax1telis's user avatar
0 votes
0 answers
24 views

An error in llamaindex retriever about missing node or node id does't match

I want to create index seperately for each cities but I got an error about node_id this is my code an error occure at the retrieve line nodes_list = [] for i in range(len(documents)): nodes_list....
SelMon's user avatar
  • 1
0 votes
0 answers
40 views

ModuleNotFoundError when importing HuggingFaceLLM from llama_index.core.llms.huggingface

I’m trying to import HuggingFaceLLM using the following line of code: from llama_index.core.llms.huggingface import HuggingFaceLLM I know that llamaindex keeps updating, and previously this import ...
Nick's user avatar
  • 343
0 votes
1 answer
73 views

Using Llamaindex with postgresql database?

I'm using AzureOpenAI + Postgresql + Llamaindex + Python. I'm trying to use LLamaindex with my postgresql database. I already have vector in my database. On my database i have table name "cars&...
valentin garreau's user avatar

15 30 50 per page
1
2 3 4 5
25