I have Vectore Store with a total size of 2GB, but why hasn’t the usage for this month increased? Here are screenshots of my Vectore Store:
I’ve also connected this Vectore Store with my assistant.
And I have a script as an example snippet from my real project like this.
import time
from openai import OpenAI
client = OpenAI(api_key='my-key')
assistant_id = "asst_P1NFgs-myassistantid"
thread = client.beta.threads.create()
thread_id = thread.id
def send_message_and_get_response(assistant_id, thread_id, text):
client.beta.threads.messages.create(
thread_id=thread_id, role="user", content=text
)
client.beta.threads.runs.create_and_poll(
thread_id=thread_id,
assistant_id=assistant_id,
tool_choice="auto"
)
list_messages = client.beta.threads.messages.list(
thread_id=thread_id,
limit=2,
order="desc"
)
list_messages = list_messages.dict()
return list_messages["data"][0]["content"][0]["text"]["value"]
while True:
text = input("User: ")
if text.lower() == 'exit':
break
response_message = send_message_and_get_response(assistant_id, thread_id, text)
print("Bot:", response_message)
time.sleep(1)
Every time this script runs, the ‘Last active’ in the Vectore Store screenshot above always updates and assistant response to my chat, indicating there are no errors in my script?
So why hasn’t the usage for Vectore Store increased this month?
This issue has been ongoing since last week, but up to now, the usage this month remains at 0KB.
Also, I can’t find how much I’ve been charged for the usage related to Vectore Store on the page https://platform.openai.com/usage."