A Django app for integrating LangChain with search capabilities
Project description
Installation
This project runs with uv.
pip install uv
uv sync --frozen
To add to your django project
Add this to apps: 'langchain_search'
Usage example
from .models import Job
from rest_framework import generics
from .serializers import JobSerializer
from langchain_search import LangChainSearchMixin
# Add mixin here
class JobListAPI(LangChainSearchMixin, generics.ListAPIView):
queryset = Job.objects.all()
serializer_class = JobSerializer
def get(self, request, *args, **kwargs):
return super().get(request, *args, **kwargs)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_search_django-0.2.0.tar.gz.
File metadata
- Download URL: langchain_search_django-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01754369dd0579eaf544bb2b7af09f92b0edcba8659529e4380775b5fbb7b321
|
|
| MD5 |
527cca7011c04d22b24253e94e241787
|
|
| BLAKE2b-256 |
6e09204f37886736ce085b2c1e395809646f8b7305fe055aa2353c86dcb0c542
|
File details
Details for the file langchain_search_django-0.2.0-py3-none-any.whl.
File metadata
- Download URL: langchain_search_django-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
368f2e91f9852ee0c5740532be9eea698493cc2f25b78bfc7a6a9192a1c07666
|
|
| MD5 |
bcacf4470b281811c5aff3070ab1c1f2
|
|
| BLAKE2b-256 |
defc4ea09b467b7228be7d0bbb35846f85488fcfea51c36632e8156566e08dec
|