Skip to content

boxxxie/jina-clojure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jina AI API Documentation

This documentation covers the Clojure client library for Jina AI APIs.

Available APIs

  • Embeddings - Convert text/images to fixed-length vectors
  • Rerank - Re-rank search results for relevance
  • Classify - Zero-shot classification for text or images
  • Search Web - Search the web for information
  • Read URL - Retrieve and parse content from URLs
  • Segment Text - Tokenize and segment text into chunks
  • Deep Search - Comprehensive web searching with reasoning

Getting Started

All API functions follow a similar pattern:

(require '[jina.core :as jina])

;; Basic usage
(jina/embeddings ["Hello, world!"])

;; With options
(jina/embeddings ["Hello, world!"] {:dimensions 512})


;; main API functions
jina/embeddings  
jina/rerank      
jina/classify    
jina/deep-search  
jina/read-url     
jina/search-web   
jina/segment-text 

Common Parameters

Most APIs accept an optional map of parameters as the last argument. Refer to individual API documentation for specific parameters.

Authentication

Make sure you have your Jina AI API key configured in your environment or application settings.

About

jina clojure api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published