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>
Enabling Chatbot personas
An LLM may be configured to connect to a /chatbots vhost and participate in
discussions as described in the chatbots project.
One LLM may define multiple personas to participate as:
llm_bots:
<LLM Name>:
- name: Assistant
description: You are a personal assistant who responds in 40 words or less
- name: Author
description: You are an author and expert in literary history
- name: Student
description: You are a graduate student working in the field of artificial intelligence
enabled: False
LLM Nameis defined in the propertyNeonLLMMQConnector.name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neon-llm-core-0.2.1a3.tar.gz.
File metadata
- Download URL: neon-llm-core-0.2.1a3.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
379bcec314428b0d086c5b466ca0e573571a2dc3011e1a35d183d235d71a3b9b
|
|
| MD5 |
f82fd779ad4e453f0202bf12b655a63a
|
|
| BLAKE2b-256 |
f1ba2c835d1256153c202fff52eccbd27ca7689545be35ab31c75945faf1dcbb
|
File details
Details for the file neon_llm_core-0.2.1a3-py3-none-any.whl.
File metadata
- Download URL: neon_llm_core-0.2.1a3-py3-none-any.whl
- Upload date:
- Size: 39.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b63463cddb46997b836683e4f3b58eec7e34069f0a672ce44c411b4969e0f7d2
|
|
| MD5 |
a903a1c7f9b65353707786beaeace74e
|
|
| BLAKE2b-256 |
cfda5d51b4a87ec5a2a5159b96a1bd95da78ea9dbbe761caf5e5859b317b6790
|