Kuis terkait panduan · Sedang Tingkat

Membangun Aplikasi LLM Lokal dengan Kuis Ollama

Bangun dengan API lokal Ollama sambil membedakan inferensi lokal, perutean cloud, kompatibilitas, keamanan, dan lisensi model.

Pertanyaan 1 dari 8

Di mana server API lokal Ollama dapat dijalankan untuk pengembangan?

Pratinjau setiap pertanyaan8 pertanyaan

Jawaban dan penjelasan muncul saat Anda mengikuti kuis.

  1. Di mana server API lokal Ollama dapat dijalankan untuk pengembangan?
    • Only on a hosted third-party endpoint
    • Inside the model weights
    • On the developer’s machine, with a client configured for its local API address
    • Only in a browser extension
  2. Apa yang dimaksud Ollama dengan kompatibilitas API OpenAI?
    • It supports a subset of the OpenAI API, so feature compatibility should be checked
    • It implements every OpenAI endpoint and feature identically
    • It requires sending every prompt to OpenAI
    • It guarantees model outputs match
  3. When does Ollama’s local privacy statement apply?
    • To every app that calls Ollama, including cloud tools
    • Only when no model is installed
    • Only to account passwords
    • To prompts and responses processed locally; cloud model use has separate handling
  4. Apakah eksekusi lokal secara otomatis membuat aplikasi aman?
    • Yes, all local apps are private by definition
    • No; network exposure, logs, backups, tools, and host controls still matter
    • Yes, because local APIs cannot be reached by other processes
    • No, because models cannot run locally
  5. Apa yang harus diverifikasi pengembang jika penggunaan offline diperlukan?
    • That the API uses JSON
    • That the model has a large context window
    • That model files are present and the app does not call cloud or external services
    • That the client uses an OpenAI SDK
  6. Why check the model’s license separately from Ollama?
    • All model licenses are identical to Ollama’s
    • The runtime and each model can have different license terms
    • The runtime automatically grants commercial rights
    • Licensing only applies to cloud models
  7. How should a local API be configured for safer use?
    • Expose it only to trusted interfaces or clients and apply appropriate host controls
    • Bind it publicly without authentication by default
    • Store API secrets in prompt text
    • Disable operating-system updates
  8. What should be measured before choosing a local model for a device?
    • Hanya ukuran file model
    • Only whether the name contains “instruct”
    • The number of available API routes
    • Memory use, context needs, speed, quality, and supported features