Closed mt7180 closed 1 year ago
the class for the custom chat engine as well as the class for the ai parsed (extracted metadata) documents are both located in script.py, which is imported by fastapi_app.py (backend).
Finally, I created the upload route to upload and process a text document.
The class LlamaTextDocument loads and converts a text file into LlamaIndex nodes and a marvin ai_model predicts the text category and gives a short summary of the text.