workflow
be converted to a tool
?max_colwidth
parameter, but it didn't make any difference. Here is how I am setting it - groq_query_engine = PandasQueryEngine( df=df, output_kwargs={"max_colwidth" : None}, llm=groq_llm, verbose=True, synthesize_response=True, stream=True, )
query_engine.get_prompts()
but not the formatted ones which are sent to LLM.TextNode
object has embeddings=None
.structured_predict
, but if my Pydantic model has a field with type as datetime.date
, llama-index is not able to parse the string and throws an error saying "Invalid Date Format". How can this be rectifiedload_index_from_storage
vs VectorStoreIndex.from_vector_store()
-> does both of these do the same thing?index.docstore.docs
from the index returned by load_index_from_storage
, I can see the documents, but same is not the case when I do it for the index returned from VectorStoreIndex.from_vector_store()
RecursiveRetriever
after loading it from a persistent storage? Currently I am finding it difficult to populate the node_dict
parameter while creating the instance of RecursiveRetriever
TextNodes
, ImageNodes
and IndexNode
and then using RecursiveRetriever
to retrieve the nodes along with the images. TextNodes
with the relevant text (more then similarity_top_k
) then the ImageNode
wont be retrieved. RecursiveRetriever
retrieves TextNodes
and ImageNodes
separately along with the scores, so that as a user I can decide weather to pass just the TextNodes
or TextNode
+ ImageNode
to the LLM in its context.