Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aacebo/stella-js
https://github.com/aacebo/stella-js
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aacebo/stella-js
- Owner: aacebo
- Created: 2024-05-22T08:36:03.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T16:26:21.000Z (7 months ago)
- Last Synced: 2024-05-22T17:35:38.330Z (7 months ago)
- Language: TypeScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# promptx-js
A prompt engine used to interact with LLM's.
## Concepts
- [Prompts](./docs/00.PROMPTS.md)
- [Plugins](./docs/01.PLUGINS.md)
- [Functions](./docs/02.FUNCTIONS.md)## Performance
By using handlebars as a format for communication with the LLM, function responses don't need
to be sent back to the model after execution, cutting api calls in half.## Flexibility
By using handlebars we give the model the flexibility to execute logical statements instead of just
functions.## Accuracy
By instructing the LLM to respond using a template language, we avoid the need for a feedback loop.
The models are also more accurate as template languages are closer to human language than structured
data like JSON, and many models are particularly good at code generation.
## StreamingBecause we use said template language we can easily parse in chunks to enable streaming and still get
native or template based function calling.## Multi Model
The package was built with multi-model and multi-modal in mind. You can either orchestrate many single purpose
models together or use one or more multi-modal models like gpt-4o.## To Do
- add `User-Agent`
- better error handling