Find answers from the community

Updated last year

Hello! I am super twisted and confused

At a glance
Hello! I am super twisted and confused and could REALLY use a hand. I am using create_llama. created my db and index (i think) in supabase. Embedded 150k rows of data. trying to figure out how to know what text its using.

Plain Text
 # query chat engine
    response = chat_engine.stream_chat(lastMessage.content, messages)

    logging.info(f"response {response}")

    logging.info(f"response.sources {response.sources}")

    
    for source in response.sources:
        logging.info(f"source {source}")


    ## log all response attributes
    logging.info(response.source_nodes)
    logging.info(response.response_gen)
    logging.info(response)


but getting blank sources:
Plain Text
INFO:root:response
INFO:root:response.sources []
INFO:root:[]
INFO:root:<generator object StreamingAgentChatResponse.response_gen at 0x00000176F37926C0>INFO:root:


Any hands given would be HUGELY appreciated. trying to impress my boss lol. thank you!
L
M
6 comments
Seems like its connecting just fine to supabase, but I don't think it inserted any data?
Thats my guess anyways
I forget where in create-llama it ingests data πŸ˜… but maybe your data directory was empty? or you missed the ingest step?
okay interesting. i ran the generate script and got them all uploaded
but maybe im pointing at it wrong...
possible that because my table is of type vecs... interesting will look into it.
Add a reply
Sign up and join the conversation on Discord