Skip to content

Integrate Jina AI models and APIs #375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Undertaker-afk
Copy link

@Undertaker-afk Undertaker-afk commented Apr 10, 2025

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 AgentConfig class 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 Knowledge class 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.

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 `AgentConfig` class 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 `Knowledge` class 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](https://copilot-workspace.githubnext.com/frdel/agent-zero?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant