Skip to main content

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

langchain_search_django-0.5.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_search_django-0.5.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file langchain_search_django-0.5.0.tar.gz.

File metadata

File hashes

Hashes for langchain_search_django-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9d2ba03891d364487427a6230e667cf23d3e9a4b41277af4d34327d03cf5dddb
MD5 949ec204f07682b941eba17deee36634
BLAKE2b-256 b5e13a5b9739e56a2b13739e4dad097b67987049aa05a5c57978e928adb5ac35

See more details on using hashes here.

File details

Details for the file langchain_search_django-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_search_django-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac926be043e70163801773ef9821ad44f031d0ff2ca74de2932db8c7b15d9cb5
MD5 b593414dc01ce9fd091c42ac23b2923b
BLAKE2b-256 95ab2d5449533652bf3c581d6343782e1d3bec2b54669ec7d4f9d99fca89b0cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page