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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for langchain_search_django-0.2.0.tar.gz
Algorithm Hash digest
SHA256 01754369dd0579eaf544bb2b7af09f92b0edcba8659529e4380775b5fbb7b321
MD5 527cca7011c04d22b24253e94e241787
BLAKE2b-256 6e09204f37886736ce085b2c1e395809646f8b7305fe055aa2353c86dcb0c542

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_search_django-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 368f2e91f9852ee0c5740532be9eea698493cc2f25b78bfc7a6a9192a1c07666
MD5 bcacf4470b281811c5aff3070ab1c1f2
BLAKE2b-256 defc4ea09b467b7228be7d0bbb35846f85488fcfea51c36632e8156566e08dec

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