Skip to main content

Interact with Large Language Models.

Project description

cmem-plugin-llm

Interact with Large Language Models.

eccenca Corporate Memory

This is a plugin for eccenca Corporate Memory. You can install it with the cmemc command line clients like this:

cmemc admin workspace python install cmem-plugin-llm

poetry ruff mypy copier

This plugin contain the following capabilitities:

  • create embeddings: it allows to create embeddings from an arbitrary data point or from specified data point paths (properties/columns). After being processed each data point receive two additional paths the embedding path and the text path.
    • The text path contain the paths utilized for generate the embeddings in text format.
      • If the original data contain already a path named text, this path is used for embeddings generation.
    • The embedding path contain the generated embedding.

Parameters

  • url: openAI compatible endpoint, default https://api.openai.com/v1
  • model: embedding model, default text-embedding-3-small
  • api_key: api key of the endpoint, default blank
  • timout_single_request: the request timenout in milliseconds, default 10000
  • entries_processing_buffer: number of processed entries per request, default 1000
  • embedding_paths: specify which paths should be used for embedding generation, default all
  • embedding_output_text: output path that will contain the embedding text, default text
  • embedding_output_path: output path that will contain the generated embedding, default embedding

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmem_plugin_llm-0.5.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmem_plugin_llm-0.5.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file cmem_plugin_llm-0.5.0.tar.gz.

File metadata

  • Download URL: cmem_plugin_llm-0.5.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Darwin/24.2.0

File hashes

Hashes for cmem_plugin_llm-0.5.0.tar.gz
Algorithm Hash digest
SHA256 94d4b61b0813bda991a8a6658c9d5a57c840bd89220a83b197e0fb06ffd61292
MD5 d9e1775eb43630a76ce58c4c823bdf6f
BLAKE2b-256 ed5ca79210a9f82585867c642f2e63332dc6e2cb792177b9c4614ac08f07de77

See more details on using hashes here.

File details

Details for the file cmem_plugin_llm-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: cmem_plugin_llm-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Darwin/24.2.0

File hashes

Hashes for cmem_plugin_llm-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 007a5a2beec72889d78067b26e59259693a404d0f0793aff1d9fbce8c439224a
MD5 197c2e9a0246e09ea77106371562e089
BLAKE2b-256 4b5ee1793f53db491c461f9aa97bd48161baab438b3bcfdef4169a51f19ea91d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page