Hey:
I noticed that there is flask_app.py there. I believe that is hosting
“TRANSFORMERS_INFERENCE_API”:“http://127.0.0.1:5000/”
“RERANKER_INFERENCE_API”:“http://127.0.0.1:5000/”
TRANSFORMERS_INFERENCE_API is using /vectors endpoint
@app.route(‘/vectors’, methods=[‘POST’])
def vectorize():
RERANKER_INFERENCE_API using /rerank endpoint
@app.route(‘/rerank’, methods=[‘POST’])
def rerank():
Is that correct?
- How was the flask_app.py got created in the first place ? Do we need to create it ourselves? or will Weaviate create for us if we try to
weaviate.connect_to_embedded? Can you elaborate it?
Thanks.