Below is the error i get when i run the code mentioned in the quickStart page of weaviate website, im a beginner when it comes to these thing please help me figure out the issue
$ python ingest.py # running the python file
importing question: 1
importing question: 2
importing question: 3
importing question: 4
importing question: 5
importing question: 6
importing question: 7
importing question: 8
importing question: 9
importing question: 10
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
{'error': [{'message': 'update vector: unmarshal response body: json: invalid number literal, trying to unmarshal "\\"insufficient_quota\\"" into Number'}]}
this is my code which im following from quickstart page of weaviate website, i have modified the API keys also the json link mentioned in quickstart, that link does not work so i have updated it, please let me know if im missing something
‘https://raw.githubusercontent.com/weaviate-tutorials/quickstart/main/data/jeopardy_tiny.json’ this link doesnt work it gives a connection timed out error, i have replaced it with “https://githubraw.com/weaviate/weaviate-examples/main/jeopardy_small_dataset/jeopardy_tiny.json”
import weaviate
import json
import requests
import json
client = weaviate.Client(
url = "https://some-endpoint.weaviate.network",
auth_client_secret=weaviate.AuthApiKey(api_key=""), instance API key
additional_headers = {
"X-OpenAI-Api-Key": ""
}
)
# ===== define collection =====
class_obj = {
"class": "Question",
"vectorizer": "text2vec-openai",
"moduleConfig": {
"text2vec-openai": {},
"generative-openai": {}
}
}
client.schema.create_class(class_obj)
# ===== import data =====
resp = requests.get()
data = json.loads(resp.text)
client.batch.configure(batch_size=100)
with client.batch as batch:
for i, d in enumerate(data):
print(f"importing question: {i+1}")
properties = {
"answer": d["Answer"],
"question": d["Question"],
"category": d["Category"],
}
batch.add_data_object(
data_object=properties,
class_name="Question"
)