LangChain FreelanceFlow Integration
LangChain-compatible LLM that routes prompts through FreelanceFlow's intelligent router.
Features
- 🚀 Smart Routing - Auto-selects best model for cost, speed, or quality
- 💰 Cost Tracking - Every call tracked automatically
- 🛡️ Budget Protection - Kill switch prevents cost overruns
- 🔧 5 LangChain Tools - Compare models, generate images, review code, RAG search, translate
- 📊 21+ Models - Groq, Google, and more
Installation
ash pip install langchain-freelanceflow
Quick Start
python from langchain_freelanceflow import FreelanceFlowRouter
llm = FreelanceFlowRouter(api_key="your_key", preference="speed") response = llm.invoke("What is machine learning?") print(f"Model: {llm.last_model} | Cost: ")
LangChain Tools
python from langchain_freelanceflow import compare_models, generate_image, review_code
Compare models
result = compare_models.invoke({"prompt": "Explain AI", "api_key": "your_key"})
Generate image
result = generate_image.invoke({"prompt": "A sunset over mountains", "api_key": "your_key"})
Review code
result = review_code.invoke({"code": "def add(): pass", "language": "python", "api_key": "your_key"})
Documentation
Full docs: https://ai-api.usefreelanceflow.com/docs
Metadata
Release files for langchain-freelanceflow 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_freelanceflow-0.1.1.tar.gz | 4.2 kB | Without provenance | Details for langchain_freelanceflow-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_freelanceflow-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for langchain_freelanceflow-0.1.1-py3-none-any.whl |
Total release size: 8.9 kB
Release files / langchain_freelanceflow-0.1.1.tar.gz
| Download URL | langchain_freelanceflow-0.1.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95bf2ad065d89be21f714bced119323178642d762ad676b3f726fa987a193968
|
|
BLAKE2b-256 checksum How to use checksums |
6eba84f2261a4ad748a133ddb99e7b90e6f2a627b8e138f7b357c8edd4989591
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / langchain_freelanceflow-0.1.1-py3-none-any.whl
| Download URL | langchain_freelanceflow-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae49a198059c517d00abbf8c5457f38fad595b404de251d8493859897af36c66
|
|
BLAKE2b-256 checksum How to use checksums |
4668c88f61cade77a34bd2b4478d2d30e4194362aaa28b5ef8eead42f94a3b32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for langchain-freelanceflow 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.