ഹോം / ഗൈഡുകൾ / LlamaIndex-നുള്ള സൗജന്യ LLM

LlamaIndex-നുള്ള സൗജന്യ LLM

OpenAI-compatible API-കൾക്ക് LlamaIndex-ൽ രണ്ട് classes ഉണ്ട്: chat-ന് OpenAILike, embeddings-ന് OpenAILikeEmbedding. ഈ ഗൈഡ് രണ്ടിനെയും FreeLLMAPI-യിലേക്ക് ചൂണ്ടിക്കാണിക്കുന്നു. ഇത് ഒരു key-ക്ക് പിന്നിൽ 45 സൗജന്യ provider tier-കൾ ഒരുമിച്ച് ചേർക്കുന്നു. നിങ്ങൾ ഒരു retrieval-augmented generation (RAG) index ഉണ്ടാക്കുന്നു, അതിൽ query ചെയ്യുന്നു, ഒരു agent ചേർക്കുന്നു. Code rate limit-കൾ കൈകാര്യം ചെയ്യുന്നു.

കോഡ്, മോഡൽ പേരുകളും തത്സമയ കാറ്റലോഗ് ലേബലുകളും ഇംഗ്ലീഷിൽ കാണിക്കുന്നു.

പാക്കേജുകൾ ഇൻസ്റ്റാൾ ചെയ്യുക

FreeLLMAPI ഇൻസ്റ്റാൾ ചെയ്ത് ഡാഷ്ബോർഡിലെ Keys പേജിൽ രണ്ടോ അതിലധികമോ provider-കളിൽ നിന്നുള്ള സൗജന്യ key-കൾ ചേർക്കുക. Unified key പകർത്തുക. തുടർന്ന് LlamaIndex പാക്കേജുകൾ ഇൻസ്റ്റാൾ ചെയ്യുക.

ഇൻസ്റ്റാൾ ചെയ്യുക

curl -fsSL https://freellmapi.co/install.sh | bash

pip install -U llama-index-core \
  llama-index-llms-openai-like \
  llama-index-embeddings-openai-like

export FREELLMAPI_BASE_URL=http://localhost:3001/v1
export FREELLMAPI_API_KEY=<unified-key>

OpenAI അറിയാത്ത മോഡൽ പേരുകളോടെ OpenAI class, llama-index-llms-openai-ൽ നിന്നുള്ളത് ഉപയോഗിക്കരുത്. ആ class മോഡൽ പേരുകളും context വലുപ്പങ്ങളും OpenAI മോഡലുകളുടെ പട്ടികയുമായി പരിശോധിക്കുന്നു. OpenAILike അങ്ങനെ ചെയ്യുന്നില്ല, അതിനാൽ ഈ മൂല്യങ്ങൾ നിങ്ങൾ തന്നെ സജ്ജമാക്കുന്നു.

LLM-ഉം embedding മോഡലും സജ്ജമാക്കുക

settings.py

import os
from llama_index.core import Settings
from llama_index.llms.openai_like import OpenAILike
from llama_index.embeddings.openai_like import OpenAILikeEmbedding

BASE = os.environ["FREELLMAPI_BASE_URL"]
KEY = os.environ["FREELLMAPI_API_KEY"]

Settings.llm = OpenAILike(
    model="auto",
    api_base=BASE,
    api_key=KEY,
    is_chat_model=True,              # use /v1/chat/completions
    is_function_calling_model=True,  # needed for FunctionAgent
    context_window=32000,            # the smallest window in your chain
    max_retries=5,
    timeout=90,
)

Settings.embed_model = OpenAILikeEmbedding(
    model_name="bge-m3",  # one family, 1024 dimensions
    api_base=BASE,
    api_key=KEY,
    embed_batch_size=16,
    max_retries=10,
)
  • is_chat_model=True: ഇത് ഇല്ലെങ്കിൽ LlamaIndex request-കൾ പഴയ completions endpoint-ലേക്ക് അയയ്ക്കുന്നു.
  • context_window: Prompt-ൽ എത്ര retrieved chunks ഉൾക്കൊള്ളാമെന്ന് തീരുമാനിക്കാൻ LlamaIndex ഈ മൂല്യം ഉപയോഗിക്കുന്നു. auto ഉപയോഗിച്ചാൽ router വ്യത്യസ്ത മോഡലുകൾ തിരഞ്ഞെടുക്കാം. നിങ്ങളുടെ chain-ലെ ഏറ്റവും ചെറിയ context window ഉപയോഗിക്കുക.
  • is_function_calling_model=True: നിങ്ങളുടെ chain-ൽ tool-calling മോഡലുകൾ ഉള്ളപ്പോൾ മാത്രം ഇത് സജ്ജമാക്കുക.
  • embed_batch_size: ഓരോ batch ഒരു request ആണ്. വലിയ batch-കൾ മിനിറ്റിൽ കുറച്ച് request-കൾ ഉപയോഗിക്കുന്നു.

RAG prompt-ൽ നിരവധി retrieved chunks ഉണ്ടാകും, അതിനാൽ chat മോഡലിന് അവയ്ക്ക് ഇടം വേണം. RAG-ന് നീണ്ട context ഉള്ള മോഡലുകളോടെ ഒരു fallback chain profile ഉണ്ടാക്കുക. തുടർന്ന് model="auto:<profile>" സജ്ജമാക്കുക, context_window ആ profile-ലെ ഏറ്റവും ചെറിയ window-ലേക്ക് ഉയർത്തുക. ഇന്ന് ഏറ്റവും വലിയ context window ഉള്ള സൗജന്യ മോഡലുകൾ ഇവയാണ്:

ഏറ്റവും വലിയ context window ഉള്ള സൗജന്യ മോഡലുകൾ
മോഡൽസൗജന്യമായി ലഭ്യംകോൺടെക്സ്റ്റ്സൗജന്യ പരിധികൾ (ഏറ്റവും മികച്ച ഓഫർ)ടൂളുകൾദൃശ്യ ശേഷി
OpenAI: GPT-6 LunaElectronHub1.1M$0.25/week shared free creditsഇല്ലഇല്ല
Gemini 3.8 FlashAPINex, Google AI Studio1M5 അഭ്യർഥന/മിനിറ്റ്
10M weighted tokens/day shared across APINex free routes; 3x token multiplier; 5 requests/minute/account
അതെഅതെ
Gemini 3.7 FlashGoogle AI Studio1M10 അഭ്യർഥന/മിനിറ്റ്
20 അഭ്യർഥന/ദിവസം
250,000 ടോക്കൺ/മിനിറ്റ്
~3M
അതെഅതെ
DeepSeek V4 FlashAMD Radeon Cloud, BazaarLink, ElectronHub1M10 അഭ്യർഥന/മിനിറ്റ്
50 അഭ്യർഥന/ദിവസം
Shared rate limit
അതെഇല്ല
DeepSeek V4 Flash 0731ElectronHub, Router91M10,000 credits/month (~$1), shared; account-anniversary resetഇല്ലഇല്ല
Gemini 3.6 FlashGoogle AI Studio1M10 അഭ്യർഥന/മിനിറ്റ്
20 അഭ്യർഥന/ദിവസം
250,000 ടോക്കൺ/മിനിറ്റ്
~3M
അതെഅതെ
GLM-5.2ModelScope, Router91M100 അഭ്യർഥന/ദിവസം
Daily login: 200 credits + 50 for linked Alibaba Cloud; 24h expiry; shared; noncommercial experience
ഇല്ലഇല്ല
Gemini 3.5 FlashGoogle AI Studio1M10 അഭ്യർഥന/മിനിറ്റ്
20 അഭ്യർഥന/ദിവസം
250,000 ടോക്കൺ/മിനിറ്റ്
~3M
അതെഅതെ

പൊരുത്തപ്പെടുന്ന 115 സൗജന്യ മോഡലുകളിൽ 8 എണ്ണം കാണിക്കുന്നു. എല്ലാ മോഡലുകളും കാണുക.

FreeLLMAPI കാറ്റലോഗിൽ നിന്നുള്ള തത്സമയ ഡാറ്റ (പതിപ്പ് 2026.11.19, 2026-11-19 ൽ പരിശോധിച്ചത്). സൗജന്യ പരിധികൾ പലപ്പോഴും മാറുന്നു. കാറ്റലോഗ് എല്ലാ ദിവസവും പരിശോധിക്കുന്നു.

ഒരു ഉപയോക്താവിനെ ഒരേ മോഡലിൽ നിലനിർത്താൻ, X-Session-Id header അയയ്ക്കുക. OpenAILike default_headers സ്വീകരിക്കുന്നു, ഉദാഹരണത്തിന് default_headers={"X-Session-Id": "user-42"}. FreeLLMAPI ഒരു session-നെ 30 മിനിറ്റ് ഒരേ മോഡലിൽ നിലനിർത്തുന്നു. ഇത് ഒരു chat-ൽ ഉടനീളം ഒരേ ശൈലിയിലുള്ള മറുപടികൾ നൽകുന്നു.

RAG index ഉണ്ടാക്കി query ചെയ്യുക

Script ഒരു folder-ൽ നിന്ന് ഫയലുകൾ വായിക്കുന്നു, embeddings ഉണ്ടാക്കുന്നു, index സേവ് ചെയ്യുന്നു, ഒരു ചോദ്യത്തിന് ഉത്തരം നൽകുന്നു. Index ഉണ്ടാക്കാൻ ഒരു തവണ പ്രവർത്തിപ്പിക്കുക. പിന്നീടുള്ള പ്രവർത്തനങ്ങൾ സേവ് ചെയ്ത index ലോഡ് ചെയ്യുന്നു, ഫയലുകൾ വീണ്ടും embed ചെയ്യുന്നില്ല.

rag.py

import os
import settings  # noqa: F401  (sets Settings.llm and Settings.embed_model)
from llama_index.core import (
    SimpleDirectoryReader,
    StorageContext,
    VectorStoreIndex,
    load_index_from_storage,
)

PERSIST = "./storage"


def load_index() -> VectorStoreIndex:
    if os.path.isdir(PERSIST):
        return load_index_from_storage(StorageContext.from_defaults(persist_dir=PERSIST))
    docs = SimpleDirectoryReader("./docs").load_data()
    index = VectorStoreIndex.from_documents(docs, show_progress=True)
    index.storage_context.persist(persist_dir=PERSIST)
    return index


if __name__ == "__main__":
    query_engine = load_index().as_query_engine(similarity_top_k=4, streaming=True)
    response = query_engine.query("How do I rotate the API keys?")
    response.print_response_stream()
    for node in response.source_nodes:
        print("\nSource:", node.metadata.get("file_name"), round(node.score or 0, 3))
പ്രധാനം: മുഴുവൻ index-നും ഒരു embedding family നിലനിർത്തുക. FreeLLMAPI failover സമയത്ത് embedding മോഡൽ ഒരിക്കലും മാറ്റുന്നില്ല. ഒരേ family നൽകുന്ന provider-കൾക്കിടയിൽ മാത്രമേ അത് മാറുന്നുള്ളൂ. Family മാറ്റിയാൽ ./storage ഇല്ലാതാക്കി index വീണ്ടും ഉണ്ടാക്കുക.

ഇന്നത്തെ catalog-ൽ ഈ embedding മോഡലുകൾ സൗജന്യമാണ്. Dimensions കോളം ഓരോ family-യുടെയും vector വലുപ്പം കാണിക്കുന്നു.

മോഡൽദാതാവ്ഡൈമെൻഷനുകൾപരമാവധി ഇൻപുട്ട്സൗജന്യ പരിധി
Gemini Embedding
gemini-embedding-001
Google AI Studio30722048100 rpm · 1K req/day
Nemotron Embed VL 1B
nvidia/llama-nemotron-embed-vl-1b-v2
NVIDIA NIM20488192~40 rpm
Nemotron 3 Embed 1B (OR free)
nvidia/nemotron-3-embed-1b:free
OpenRouter20483276820 rpm · shared free daily cap
SEA-LION E5 Embedding 600M
aisingapore/SEA-LION-E5-Embedding-600M
SEA-LION10248192free · 10 rpm
SEA-LION ModernBERT Embedding 300M
aisingapore/SEA-LION-ModernBERT-Embedding-300M
SEA-LION10248192free · 10 rpm
SEA-LION ModernBERT Embedding 600M
aisingapore/SEA-LION-ModernBERT-Embedding-600M
SEA-LION10248192free · 10 rpm
BGE-M3
@cf/baai/bge-m3
Cloudflare Workers AI1024819210K neurons/day (shared)
EmbeddingGemma 300M
@cf/google/embeddinggemma-300m
Cloudflare Workers AI768204810K neurons/day (shared)
Qwen3 Embedding 0.6B
@cf/qwen/qwen3-embedding-0.6b
Cloudflare Workers AI1024819210K neurons/day (shared)
Cohere Embed v4
embed-v4.0
Cohere15361280001K calls/mo (shared w/ chat)
Gemini Embedding 2
gemini-embedding-2
Google AI Studio30728192free-tier rate limited
Nemotron 3 Embed 1B
nvidia/nemotron-3-embed-1b
NVIDIA NIM20484096~40 rpm
PLaMo Embedding 1B (CF)
@cf/pfnet/plamo-embedding-1b
Cloudflare Workers AI2048409610K neurons/day (shared)
BGE Small EN v1.5 (CF)
@cf/baai/bge-small-en-v1.5
Cloudflare Workers AI38451210K neurons/day (shared)
BGE Base EN v1.5 (CF)
@cf/baai/bge-base-en-v1.5
Cloudflare Workers AI76851210K neurons/day (shared)
BGE Large EN v1.5 (CF)
@cf/baai/bge-large-en-v1.5
Cloudflare Workers AI102451210K neurons/day (shared)
Mistral Embed
mistral-embed
Mistral10248192free mode · monthly cap (shared)
Codestral Embed
codestral-embed
Mistral15368192free mode · monthly cap (shared)
Llama Text Embed v2 (Pinecone)
llama-text-embed-v2
Pinecone102420485M tokens/mo per model
Multilingual E5 Large (Pinecone)
multilingual-e5-large
Pinecone10245075M tokens/mo per model
Nemotron 3 Embed 1B (Speka)
nvidia/nemotron-3-embed-1b
Speka20488192$1/month shared across Speka models
OpenAI: Text Embedding 3 Small (ElectronHub)
text-embedding-3-small
ElectronHub15368192$0.25/week shared free credits
OpenAI: Text Embedding 3 Large (ElectronHub)
text-embedding-3-large
ElectronHub30728192$0.25/week shared free credits
Nemotron 3 Embed 8B (Inferbase)
nvidia-nemotron-3-embed-8b
Inferbase409681925,000 requests/month; 100 requests and $0.50 usage/day shared
Qwen 3 Embedding 0.6B (Inferbase)
qwen3-embedding-0-6b
Inferbase102481925,000 requests/month; 100 requests and $0.50 usage/day shared
Qwen 3 Embedding 4B (Inferbase)
qwen3-embedding-4b
Inferbase256081925,000 requests/month; 100 requests and $0.50 usage/day shared
Qwen 3 Embedding 8B (Inferbase)
qwen3-embedding-8b
Inferbase409681925,000 requests/month; 100 requests and $0.50 usage/day shared
LFM2.5 Embedding 350M (LLMTR)
liquid/lfm-2.5-embedding-350m-free
LLMTR1024512Ongoing zero-price route; provider terms apply
BGE-M3 (SEA-LION)
BAAI/bge-m3
SEA-LION10248192free · 10 rpm
Cohere Embed English v3
embed-english-v3.0
Cohere10245121K calls/mo (shared w/ chat)
Qwen3 Embedding 8B (OVH)
Qwen3-Embedding-8B
OVH AI Endpoints409632768free · anonymous 2 req/min per IP
BGE-M3 (OVH)
bge-m3
OVH AI Endpoints10248192free · anonymous 2 req/min per IP
BGE Multilingual Gemma2 (OVH)
bge-multilingual-gemma2
OVH AI Endpoints35848192free · anonymous 2 req/min per IP
Mistral: Codestral Embed (ElectronHub)
codestral-embed
ElectronHub15368192$0.25/week shared free credits
Mistral: Mistral Embed (ElectronHub)
mistral-embed
ElectronHub10248192$0.25/week shared free credits
Google: Gemini Embedding 2 (ElectronHub)
gemini-embedding-2
ElectronHub30728192$0.25/week shared free credits
Google: Gemini Embedding 001 (ElectronHub)
gemini-embedding-001
ElectronHub30722048$0.25/week shared free credits
OpenAI: Text Embedding Ada 002 (ElectronHub)
text-embedding-ada-002
ElectronHub15368192$0.25/week shared free credits
Cohere Embed English Light v3
embed-english-light-v3.0
Cohere3845121K calls/mo (shared w/ chat)
Cohere Embed Multilingual v3
embed-multilingual-v3.0
Cohere10245121K calls/mo (shared w/ chat)
Cohere Embed Multilingual Light v3
embed-multilingual-light-v3.0
Cohere3845121K calls/mo (shared w/ chat)

FreeLLMAPI കാറ്റലോഗിൽ നിന്നുള്ള തത്സമയ ഡാറ്റ (പതിപ്പ് 2026.11.19, 2026-11-19 ൽ പരിശോധിച്ചത്). സൗജന്യ പരിധികൾ പലപ്പോഴും മാറുന്നു. കാറ്റലോഗ് എല്ലാ ദിവസവും പരിശോധിക്കുന്നു.

FunctionAgent ഉപയോഗിച്ച് ഒരു agent ചേർക്കുക

FunctionAgent tool calling ഉപയോഗിക്കുന്നു. Query engine ഒരു tool ആയി നൽകാം, നിങ്ങളുടെ Python functions ചേർക്കാം.

agent.py

import asyncio
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.core.tools import QueryEngineTool
from llama_index.core import Settings
from rag import load_index

docs_tool = QueryEngineTool.from_defaults(
    query_engine=load_index().as_query_engine(similarity_top_k=4),
    name="project_docs",
    description="Answers questions about the project documentation.",
)

def open_tickets(team: str) -> int:
    """Return the number of open tickets for a team."""
    return {"billing": 4, "platform": 11}.get(team, 0)

agent = FunctionAgent(
    tools=[docs_tool, open_tickets],
    llm=Settings.llm,
    system_prompt="Use the tools. Cite the document name in each answer.",
)

async def main():
    result = await agent.run("How many platform tickets are open, and how do we rotate keys?")
    print(result)

asyncio.run(main())

Agent ജോലിക്ക് tool calling ഉള്ള മോഡലുകൾ തിരഞ്ഞെടുക്കുക. ഈ മോഡലുകൾ മാത്രമുള്ള ഒരു fallback chain profile ഉണ്ടാക്കി, auto:<profile> മോഡൽ പേരായി ഉപയോഗിക്കുക.

Tool calling ഉം 128K+ context ഉം ഉള്ള സൗജന്യ മോഡലുകൾ
മോഡൽസൗജന്യമായി ലഭ്യംകോൺടെക്സ്റ്റ്സൗജന്യ പരിധികൾ (ഏറ്റവും മികച്ച ഓഫർ)ടൂളുകൾദൃശ്യ ശേഷി
GLM 5.3UnoRouter1M1 അഭ്യർഥന/മിനിറ്റ്
1 req/min per model
അതെഇല്ല
GLM 5.3 FlashNVIDIA NIM, UnoRouter1M40 അഭ്യർഥന/മിനിറ്റ്
40 RPM
അതെഅതെ
Gemini 3.8 FlashGoogle AI Studio1MRecurring provider quotaഅതെഅതെ
Qwen3.8 Flash NextAMD Radeon Cloud262KRecurring daily account allowanceഅതെഇല്ല
Qwen3.8 FlashElectronHub1M$0.25/week shared recurring creditഅതെഅതെ
Gemini 3.7 FlashGoogle AI Studio1M10 അഭ്യർഥന/മിനിറ്റ്
20 അഭ്യർഥന/ദിവസം
250,000 ടോക്കൺ/മിനിറ്റ്
~3M
അതെഅതെ
GPT-5.6 LunaElectronHub1M$0.25/week shared recurring creditഅതെഅതെ
Dots3 Note PreviewKilo Gateway, OpenRouter512K20 അഭ്യർഥന/മിനിറ്റ്
50 അഭ്യർഥന/ദിവസം
50 req/day account-wide (1,000 after a $10 purchase)
അതെഅതെ
DeepSeek V4 FlashAMD Radeon Cloud, BazaarLink, ElectronHub1M10 അഭ്യർഥന/മിനിറ്റ്
50 അഭ്യർഥന/ദിവസം
Shared rate limit
അതെഇല്ല
Qwen3.8 27BElectronHub, Groq, OVH AI Endpoints262K30 അഭ്യർഥന/മിനിറ്റ്
250 അഭ്യർഥന/ദിവസം
70,000 ടോക്കൺ/മിനിറ്റ്
~6M
അതെഅതെ

പൊരുത്തപ്പെടുന്ന 109 സൗജന്യ മോഡലുകളിൽ 10 എണ്ണം കാണിക്കുന്നു. എല്ലാ മോഡലുകളും കാണുക.

FreeLLMAPI കാറ്റലോഗിൽ നിന്നുള്ള തത്സമയ ഡാറ്റ (പതിപ്പ് 2026.11.19, 2026-11-19 ൽ പരിശോധിച്ചത്). സൗജന്യ പരിധികൾ പലപ്പോഴും മാറുന്നു. കാറ്റലോഗ് എല്ലാ ദിവസവും പരിശോധിക്കുന്നു.

Ingestion സൗജന്യ പരിധികൾക്കുള്ളിൽ നിർത്തുക

Ingestion കുറഞ്ഞ സമയത്തിനുള്ളിൽ നിരവധി embedding request-കൾ അയയ്ക്കുന്നു. സൗജന്യ embedding tier-കൾക്ക് കുറഞ്ഞ പരിധികളുണ്ട്. ഉദാഹരണത്തിന്, ചിലത് മിനിറ്റിൽ 10 request-കൾ അനുവദിക്കുന്നു, മറ്റ് ചിലത് കോളുകൾ മാസത്തിൽ എണ്ണുന്നു. ആരംഭിക്കുന്നതിന് മുൻപ് ആദ്യ ingestion ആസൂത്രണം ചെയ്യുക.

  • വലിയ chunks ഉപയോഗിക്കുക. കുറച്ച് chunks എന്നാൽ കുറച്ച് vectors, കുറച്ച് request-കൾ. ഏകദേശം 1,024 ടോക്കണുകളുടെ chunk വലുപ്പം നല്ല തുടക്കമാണ്.
  • Batches ഉപയോഗിക്കുക. embed_batch_size 16 അല്ലെങ്കിൽ അതിലധികമോ ആക്കുക. അപ്പോൾ ഒരു request-ൽ നിരവധി chunks ഉണ്ടാകും.
  • Index സേവ് ചെയ്യുക. ആദ്യ പ്രവർത്തനത്തിന് ശേഷം index സ്ഥിരമായി സൂക്ഷിക്കുക. ഒരേ ഫയലുകൾ വീണ്ടും embed ചെയ്യരുത്.
  • Retries ഓണാക്കി വയ്ക്കുക. OpenAILikeEmbedding സ്ഥിരസ്ഥിതിയായി 10 തവണ വരെ വീണ്ടും ശ്രമിക്കുന്നു. നീണ്ട ingestion ജോലികൾക്ക് ഈ മൂല്യം നിലനിർത്തുക.
  • ഭാഗങ്ങളായി ingest ചെയ്യുക. ആയിരക്കണക്കിന് ഫയലുകൾക്ക്, ഒരു സമയം ഒരു folder ingest ചെയ്യുക.

Queries ingestion-നേക്കാൾ ചെലവ് കുറഞ്ഞതാണ്. ഓരോ query-യും ഒരു embedding request-ഉം ഒരു chat request-ഉം ഉപയോഗിക്കുന്നു. 1,024 ടോക്കണുകളുടെ നാല് chunks ഉള്ള ഒരു chat request ഏകദേശം 5,000 ടോക്കണുകൾ അയയ്ക്കുന്നു. കുറഞ്ഞ tokens-per-minute പരിധിയുള്ള സൗജന്യ tier-കൾ ഇത് നിരസിച്ചേക്കാം. അപ്പോൾ FreeLLMAPI അടുത്ത provider പരീക്ഷിക്കുന്നു.

പ്രശ്നപരിഹാരം

പ്രശ്നംകാരണംപരിഹാരം
Unknown model 'auto'നിങ്ങൾ OpenAI class ഉപയോഗിച്ചുOpenAILike ഉപയോഗിക്കുക
Requests /v1/completions-ലേക്ക് പോകുന്നുis_chat_model സജ്ജമാക്കിയിട്ടില്ലis_chat_model=True സജ്ജമാക്കുക
Agent tools വിളിക്കുന്നില്ലis_function_calling_model ഓഫ് ആണ്, അല്ലെങ്കിൽ മോഡലിന് tool calling ഇല്ലഅത് True ആക്കുക, tools profile ഉപയോഗിക്കുക
Ingestion സമയത്ത് error 429എല്ലാ provider-കളിലും embedding family പരിധിയിലാണ്വലിയ batch-കൾ ഉപയോഗിക്കുക, Retry-After വരെ കാത്തിരുന്ന് വീണ്ടും പ്രവർത്തിപ്പിക്കുക
Embedding മോഡൽ മാറ്റിയ ശേഷം മോശം മറുപടികൾഒരു index-ൽ രണ്ട് families-ൽ നിന്നുള്ള vectorsസേവ് ചെയ്ത index ഇല്ലാതാക്കി വീണ്ടും ഉണ്ടാക്കുക
Context length പിശക്context_window മറുപടി നൽകിയ മോഡലിനേക്കാൾ വലുതാണ്ചെറിയ മൂല്യം സജ്ജമാക്കുക, അല്ലെങ്കിൽ നീണ്ട context profile ഉപയോഗിക്കുക

ഏത് provider ആണ് request-ന് മറുപടി നൽകിയതെന്ന് കാണാൻ FreeLLMAPI ഡാഷ്ബോർഡ് ഉപയോഗിക്കുക. Analytics പേജ് ഓരോ provider-ന്റെയും മോഡലിന്റെയും request-കൾ, latency, പിശകുകൾ കാണിക്കുന്നു. ഓരോ മറുപടിയിലും X-Routed-Via header ഉണ്ട്. Router provider മാറ്റിയെങ്കിൽ, X-Fallback-Trail header പരാജയപ്പെട്ട ഓരോ ശ്രമവും കാരണവും പേരുനൽകുന്നു.

ഇവയെല്ലാം ഒരൊറ്റ കീ വഴി ഉപയോഗിക്കുക. FreeLLMAPI ഒരു ഓപ്പൺ-സോഴ്സ്, സ്വയം ഹോസ്റ്റ് ചെയ്യാവുന്ന റൂട്ടറാണ്. ഇത് ഈ സൗജന്യ ടയറുകളെല്ലാം ഒരൊറ്റ OpenAI-അനുയോജ്യ എൻഡ്‌പോയിന്റിനു പിന്നിൽ വയ്ക്കുന്നു. ഒരു മോഡലിന്റെ നിരക്ക് പരിധി എത്തുമ്പോൾ മറ്റൊന്നിലേക്ക് മാറുന്നു. കാറ്റലോഗ് ബ്രൗസ് ചെയ്യുക അല്ലെങ്കിൽ തത്സമയമാക്കുക.

പതിവ് ചോദ്യങ്ങൾ

സൗജന്യ LLM ഉപയോഗിച്ച് LlamaIndex ഉപയോഗിക്കാമോ?

ഉപയോഗിക്കാം. api_base OpenAI-compatible URL-ലേക്ക് സജ്ജമാക്കി OpenAILike ഉപയോഗിക്കുക. FreeLLMAPI നിരവധി സൗജന്യ provider tier-കൾക്ക് ഒരൊറ്റ URL നൽകുന്നു. ഓരോ tier-നും സ്വന്തം പരിധികളുണ്ട്.

LlamaIndex-ൽ OpenAI, OpenAILike എന്നിവ തമ്മിലുള്ള വ്യത്യാസം എന്താണ്?

OpenAI class മോഡൽ പേരുകൾ OpenAI മോഡലുകളുമായി പരിശോധിക്കുന്നു. OpenAILike ഏത് മോഡൽ പേരും സ്വീകരിക്കുന്നു. Context window, chat, function-calling flags എന്നിവ നിങ്ങൾ തന്നെ സജ്ജമാക്കുന്നു.

LlamaIndex-ന് ഏറ്റവും നല്ല സൗജന്യ embedding മോഡൽ ഏതാണ്?

നിങ്ങളുടെ ingestion-ന് മതിയായ സൗജന്യ request-കളുള്ള ഒരു family തിരഞ്ഞെടുത്ത് മുഴുവൻ index-നും അത് നിലനിർത്തുക. bge-m3 family പല provider-കളിൽ സൗജന്യമാണ്, അതിനാൽ failover അവയ്ക്കിടയിൽ നീങ്ങാം.

സൗജന്യ മോഡലുകളിൽ FunctionAgent പ്രവർത്തിക്കുമോ?

മോഡൽ tool calling പിന്തുണയ്ക്കുകയും നിങ്ങൾ is_function_calling_model=True സജ്ജമാക്കുകയും ചെയ്താൽ ഉവ്വ്. Tool-calling മോഡലുകൾ മാത്രമുള്ള ഒരു fallback chain profile ഉപയോഗിക്കുക.

LlamaIndex index ഉണ്ടാക്കുമ്പോൾ rate limit-കൾ എങ്ങനെ ഒഴിവാക്കാം?

വലിയ chunks ഉപയോഗിക്കുക, embed_batch_size 16 അല്ലെങ്കിൽ അതിലധികമോ ആക്കുക, index സ്ഥിരമായി സേവ് ചെയ്യുക, വലിയ folder-കൾ ഭാഗങ്ങളായി ingest ചെയ്യുക.

അനുബന്ധ ഗൈഡുകൾ

ഉറവിടങ്ങൾ

എല്ലാ ഗൈഡുകളും · എല്ലാ സൗജന്യ മോഡലുകളും കാണുക