chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from llama_index.core import Document, VectorStoreIndex
|
||||
|
||||
import mlflow
|
||||
|
||||
index = VectorStoreIndex.from_documents(documents=[Document.example()])
|
||||
retriever = index.as_retriever()
|
||||
|
||||
mlflow.models.set_model(retriever)
|
||||
Reference in New Issue
Block a user