agent-zero
agent-zero copied to clipboard
Integrate Jina AI models and APIs
Integrate Jina AI models and APIs into the app.
- models.py: Add functions to return Jina chat, embedding, and rate limiter instances using the requests library.
- agent.py: Import requests library, update
AgentConfigclass to include Jina models, and add methods to use Jina models for chat and embedding. - docker/run/Dockerfile: Add installation steps for the requests library.
- python/tools/knowledge_tool.py: Update
Knowledgeclass to use Jina AI models or APIs for knowledge search using the requests library. - docs/architecture.md: Update system architecture to include Jina AI models and APIs.
- webui/index.html: Add new input sections for the newly added tools and models.
- webui/js/settings.js: Add new input sections for the newly added tools and models, including API key settings and model selector for Jina AI.
For more details, open the Copilot Workspace session.