Has anyone connected milvus to Django #26240
Replies: 3 comments
-
|
Django is python web framework, I think it is easy to connect milvus by milvus python sdk. |
Beta Was this translation helpful? Give feedback.
-
|
Using Django as a front end to interact with machine learning (ML) or artificial intelligence (AI) models, along with a system like Milvus for similarity search, can be a powerful way to build applications that leverage these technologies. Here's a general outline of how you might approach this: Setting Up Django Project: Start by creating a new Django project or using an existing one. Define Django views that will handle the requests from your frontend. Integrate your ML or AI models within your Django application. This can be done in various ways, such as using Django views or creating API endpoints. If you want to use Milvus for similarity search, you'll need to set up Milvus server and client within your Django application. Create API endpoints in your Django application that serve as the interface to your ML/AI models and the Milvus similarity search functionality. Build the frontend using HTML, CSS, and JavaScript, or use frontend frameworks like React, Vue.js, or Angular. Implement proper security measures to protect your application and API endpoints. This may include user authentication, token-based authentication, and input validation. Deploy your Django application along with Milvus to a server or cloud platform of your choice. Consider using services like Docker or Kubernetes for containerization and orchestration. Test your application thoroughly to ensure that it works as expected and handles various use cases. Monitor the performance and health of your application in production. |
Beta Was this translation helpful? Give feedback.
-
|
Use this one https://pypi.org/project/django-milvus , really easy to integrate and use with ORM |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use Django as a front end to ML/AI and want to use milvus.
Beta Was this translation helpful? Give feedback.
All reactions