Find answers from the community

Updated 6 months ago

having trouble importing this

At a glance

A community member is having trouble importing DFFullProgram, DataFrame, and DataFrameRowsOnly from llama_index.core.program. Another community member suggests installing llama-index-program-evaporate and importing the required classes from llama_index.program.evaporate.df. However, this leads to an error as the llama-index-programs-evaporate package is not found. The issue is eventually resolved, with a community member acknowledging a typo in the initial suggestion.

The discussion then shifts to a question about whether the dataset generator can produce JSON format, to which a community member responds that they would just write their own code, as it's essentially a simple for-loop calling a language model.

having trouble importing this
'''
from llama_index.core.program import (
DFFullProgram,
DataFrame,
DataFrameRowsOnly,
)
;;;
L
d
8 comments
Plain Text
pip install llama-index-program-evaporate


Plain Text
from llama_index.program.evaporate.df import DFFullProgram, DataFrame, DataFrameRowsOnly
ERROR: Could not find a version that satisfies the requirement llama-index-programs-evaporate (from versions: none)
ERROR: No matching distribution found for llama-index-programs-evaporate
yea sorry, had a typo initially lol
can we get the dataset generator to produce json fromat or naw
Don't think so -- tbh I would just write my own lol
Its basically just a for loop calling an LLM πŸ˜…
chaha i figured
Add a reply
Sign up and join the conversation on Discord