Skip to main content

Core Neon LLM service

Project description

NeonAI Core LLM

Core module for Neon LLM's

Request Format

API requests should include history, a list of tuples of strings, and the current query

Example Request:

{
 "history": [["user", "hello"], ["llm", "hi"]],
 "query": "how are you?"
}

Response Format

Responses will be returned as dictionaries. Responses should contain the following:

  • response - String LLM response to the query

Connection Configuration

When running this as a docker container, the XDG_CONFIG_HOME envvar is set to /config. A configuration file at /config/neon/diana.yaml is required and should look like:

MQ:
  port: <MQ Port>
  server: <MQ Hostname or IP>
  users:
      <LLM MQ service_name>:
      user: <MQ user>
      password: <MQ user's password>
  LLM_<LLM NAME uppercase>:
      num_parallel_processes: <integer > 0>

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

neon-llm-core-0.0.5.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

neon_llm_core-0.0.5-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file neon-llm-core-0.0.5.tar.gz.

File metadata

  • Download URL: neon-llm-core-0.0.5.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for neon-llm-core-0.0.5.tar.gz
Algorithm Hash digest
SHA256 bb05c93cb6ced6e7899ec7a0e3b0dafbbdfa94537e0f9e90aa6019144aae0c4e
MD5 860c32a6588b06d3ab6ad5800b4932cb
BLAKE2b-256 db77a708af3496af4f871a12383ed8afcc47e20e06fb850ba91a7d23ddd508f3

See more details on using hashes here.

File details

Details for the file neon_llm_core-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for neon_llm_core-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0dfac97b9547cb44c5fecb76bfb11469ccccc8071e3fbe2b62b1f92eaa6b2bb8
MD5 6f835e4b495f7beb17e221d1354e927f
BLAKE2b-256 c82c007a611f393667b4248ac0c19846ba01ad0754cc7c91e8013d2f5070bcdc

See more details on using hashes here.

Supported by

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