Find answers from the community

Home
Members
DeFinn | Ludmila
D
DeFinn | Ludmila
Offline, last seen 3 months ago
Joined September 25, 2024
Hey all! I have a lot of chat arquives and wanted to train an AI to behave like this specific person. Do you think it would be best to use indices or maybe fine tuning?
15 comments
D
L
Hey! I was checking the colab doc posted on Twitter, analyzing the Uber SEC 10-k. This is something really similar to what I need. Which OpenAI model is being used here? I saw examples of having to manually set model_name in order to use gpt-3, but here is probably using davinci. Why?

Is it possible to build a chat system across multiple docs + gpt trained data? All my tests seems to consult only my index.
4 comments
D
j
Plain Text
AttributeError                            Traceback (most recent call last)
<ipython-input-25-2b2489375d2b> in <module>
     11 "CeFi, People to Watch, Crypto Policy, Ethereum, L1, L2, DAOs and Web3.")
     12 
---> 13 list_index = GPTListIndex([index1, index2, index3])
     14 graph = ComposableGraph.build_from_index(list_index)
     15 

8 frames
/usr/local/lib/python3.9/dist-packages/llama_index/indices/list/base.py in __init__(self, documents, index_struct, text_qa_template, llm_predictor, text_splitter, **kwargs)
     55         """Initialize params."""
     56         self.text_qa_template = text_qa_template or DEFAULT_TEXT_QA_PROMPT
---> 57         super().__init__(
     58             documents=documents,
     59             index_struct=index_struct,

/usr/local/lib/python3.9/dist-packages/llama_index/indices/base.py in __init__(self, documents, index_struct, llm_predictor, embed_model, docstore, index_registry, prompt_helper, text_splitter, chunk_size_limit, include_extra_info, llama_logger)
    112             self._validate_documents(documents)
    113             # TODO: introduce document store outside __init__ function
--> 114             self._index_struct = self.build_index_from_documents(documents)
    115         # update index registry and docstore with index_struct
    116         self._update_index_registry_and_docstore()

/usr/local/lib/python3.9/dist-packages/llama_index/token_counter/token_counter.py in wrapped_llm_predict(_self, *args, **kwargs)
     84         def wrapped_llm_predict(_self: Any, *args: Any, **kwargs: Any) -> Any:
     85             with wrapper_logic(_self):
---> 86                 f_return_val = f(_self, *args, **kwargs)
     87 
     88             return f_return_val
9 comments
D
L