Find answers from the community

Home
Members
plouplou
p
plouplou
Offline, last seen 3 months ago
Joined September 25, 2024
hey, got this error but cant resolve it :/ --> 141 run_manager.on_chain_end(outputs)
142 return self.prep_outputs(inputs, outputs, return_only_outputs)
...
54 def validate(self):
55 if not self._config.api_key: # None or empty string invalid
---> 56 raise ApiKeyError("You haven't specified an Api-Key.")

ApiKeyError: "You haven't specified an Api-Key."
4 comments
V
p
plouplou
·

Refine

Hey is it possible to skip the refine template when retrieving vector ?
1 comment
L
Hey, I've built a chatbot using llama-index however I feel that they is a lot of latency to get an answer even if I only use a small vector index. Btw I'm using the free pinecone version. do you think it mainly do to this ?
12 comments
b
L
p
Hi guys, I'm using the llama_chat_agent. However, each time he agent try to access a tool (index) this following error occurs --> AttributeError: 'ChatOpenAI' object has no attribute 'total_tokens_used' Does someone has faced this too ?
3 comments
p
L
j
Hi, is it possible to modify the original prompt of the llama_chat_agent ?? keeping the same input and format just change some sentences in the prompt ?
4 comments
p
j
moreover when I used the code for the chatbot I noticed that it used text-davinci model even if I indicate the agent to use gpt3.5.
7 comments
j
p
Hi, is this function not working yet ? --> class StepDecomposeQueryTransform(BaseQueryTransform):
3 comments
p
L
Oh ok perfect, and do you know if, in the future, the ChatGPTLLPredictor will be fix ? 🙂
1 comment
L