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.4.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.4.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for langchain_search_django-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2fe4c01d4656bed12e41fae0cb548e80e39fd1b29148668bb22bcb0279f4520b
MD5 6d73b2dbcd1a4a5bfee885add8aa58b8
BLAKE2b-256 6a4ff94e1ab073e896587c6d2755f9eefab396972903c5b5f8627fdc8c1b5d60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_search_django-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d31fb286007519a13b96f48c9eb5c97103ae791f38f85f1bc7998a5a187edb
MD5 28899a1817c4693364e02dc0cab94449
BLAKE2b-256 f43c56f8ad3d76d189d239a8c349bb8b861f384ab3e7b106258d687dfe858549

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