Hi Tim - love the logic behind this LLama Chatgpt linkage.
Ive created the project and code but when I run I get the following error
response = index.query(prompt)
AttributeError: 'function' object has no attribute 'query'
Its pointing to this part in the code
while True:
prompt = input("Type prompt...")
response = index.query(prompt)
print(response)
Im guessing either Ive missed an install in the environment on my side or Im calling the llama function wrong (but the code is just copied over with credentials and googdoc ID changed).
Any ideas who to get past it?
S
Hi Tim - love the logic behind this LLama Chatgpt linkage.
Ive created the project and code but when I run I get the following error
response = index.query(prompt)
AttributeError: 'function' object has no attribute 'query'
Its pointing to this part in the code
while True:
prompt = input("Type prompt...")
response = index.query(prompt)
print(response)
Im guessing either Ive missed an install in the environment on my side or Im calling the llama function wrong (but the code is just copied over with credentials and googdoc ID changed).
Any ideas who to get past it?
S