Commit Graph

81 Commits

Author SHA1 Message Date
Ettore Di Giacinto
ad3623dd8d
examples(phi-2): strip newline at the end of the prompt template
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2024-02-21 23:17:51 +01:00
Ettore Di Giacinto
53dbe36f32
feat(tts): respect YAMLs config file, add sycl docs/examples ()
* feat(refactor): refactor config and input reading

* feat(tts): read config file for TTS

* examples(kubernetes): Add simple deployment example

* examples(kubernetes): Add simple deployment for intel arc

* docs(sycl): add sycl example

* feat(tts): do not always pick a first model

* fixups to run vall-e-x on container

* Correctly resolve backend
2024-02-10 21:37:03 +01:00
Ivan Smirnov
3c24a70a1b
fix (docs): fixed broken links github/ -> github.com/ ()
fix broken links
2024-02-02 18:18:03 +01:00
Ettore Di Giacinto
f1846ae5ac
Update phi-2.yaml
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2024-01-26 16:22:54 +01:00
Ettore Di Giacinto
5e335eaead
feat(transformers): support also text generation ()
* feat(transformers): support also text generation

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* embedded: set seed -1

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-01-23 23:07:31 +01:00
James Braza
f3d71f8819
Modernized LlamaIndex integration ()
Updated LlamaIndex example
2024-01-20 10:06:32 +01:00
Ettore Di Giacinto
85e2767dca
feat: add trimsuffix () 2024-01-01 14:39:42 +01:00
Ettore Di Giacinto
f068efe509
docs(phi-2): add example () 2024-01-01 10:51:47 +01:00
Ettore Di Giacinto
1c286c3c2f
docs(mixtral): add mixtral example () 2023-12-16 17:44:43 +01:00
Dave
8b6e601405
Feat: new backend: transformers-musicgen ()
Transformers-MusicGen
---------

Signed-off-by: Dave <dave@gray101.com>
2023-12-08 10:01:02 +01:00
Ettore Di Giacinto
710b195be1
Update README.md
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-12-02 08:55:26 +01:00
Ettore Di Giacinto
2b2007ae9e
docs: add fine-tuning example ()
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-12-01 19:11:45 +01:00
Ettore Di Giacinto
7a0f9767da
docs: fix heading
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-11-18 15:04:00 +01:00
Ettore Di Giacinto
9d7363f2a7
docs: update configuration readme
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-11-18 15:03:15 +01:00
Ettore Di Giacinto
8ee5cf38fd
Delete examples/configurations/llava/README.md
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-11-18 15:01:39 +01:00
Ettore Di Giacinto
a6b788d220
docs: update LLaVa instructions
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-11-18 15:01:16 +01:00
lunamidori5
ccd87cd9f0
llava.yaml (yaml format standardization) ()
Signed-off-by: lunamidori5 <118759930+lunamidori5@users.noreply.github.com>
2023-11-18 14:48:54 +01:00
Ettore Di Giacinto
0eae727366
🔥 add LaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types ()
* wip

* wip

* Make it functional

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* wip

* Small fixups

* do not inject space on role encoding, encode img at beginning of messages

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* Add examples/config defaults

* Add include dir of current source dir

* cleanup

* fixes

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* fixups

* Revert "fixups"

This reverts commit f1a4731cca.

* fixes

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-11-11 13:14:59 +01:00
Samuel Walker
23c7fbfe6b
chianlit example () 2023-11-02 22:56:46 +01:00
Samuel Walker
035fea676a
llama index example () 2023-11-02 13:35:06 -07:00
Ettore Di Giacinto
c132dbadce
docs(examples): Add mistral example ()
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-10-25 20:56:12 +02:00
Ettore Di Giacinto
d17a92eef3 example(bruno): add image generation
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-10-21 11:38:23 +02:00
Dave
44a7045732
Feats: bruno example, gallery improvements for new scraper ()
This PR bundles together two unrelated features:

1. Model Gallery improvements - specifically, the ability to follow
".ref" gallery links (which I made up for this specific application) to
an actual gallery yaml file (in order to have stable URLs) and the
ability to load self-contained configurations, rather than always using
a base.yaml + overrides. This is groundwork for my python-based
huggingface scraper.

2. A while ago I introduced some Insomnia request templates for people
to use. Unfortunately, Insomnia has decided to tank their product... So
I've personally switched to using
[bruno](https://github.com/usebruno/bruno/). Corresponding equivalent
files that I use for my testing have been added. Just open the folder
from bruno and everything will work. No import process required.

---------

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-10-11 18:18:12 +02:00
James Braza
e34b5f0119
Cleaning up examples/ models and starter .env files ()
Closes https://github.com/go-skynet/LocalAI/issues/1066 and
https://github.com/go-skynet/LocalAI/issues/1065

Standardizes all `examples/`:
- Models in one place (other than `rwkv`, which was one-offy)
- Env files as `.env.example` with `cp`
    - Also standardizes comments and links docs
2023-10-02 18:14:10 +02:00
James Braza
2ba9762255
Cleaned up chatbot-ui READMEs ()
This PR cleans up the `chatbot-ui`/`-manual` examples:
- Fixes `Dockerfile` vs `docker-compose` confusion
- Makes it clear where to view the web UI in `## Run` sections

---------

Signed-off-by: James Braza <jamesbraza@gmail.com>
2023-09-18 16:43:06 +02:00
Manohar Joshi
f37a4ec9c8
1038 - Streamlit bot with LocalAI ()
**Description**

This PR fixes 

Added Streamlit example and also updated readme for examples.


**[Signed
commits](../CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin)**
- [X] Yes, I signed my commits.
 

<!--
Thank you for contributing to LocalAI! 

Contributing Conventions:

1. Include descriptive PR titles with [<component-name>] prepended.
2. Build and test your changes before submitting a PR. 
3. Sign your commits

By following the community's contribution conventions upfront, the
review process will
be accelerated and your PR merged more quickly.
-->
2023-09-17 08:33:23 +02:00
Robert Deaton
2454110d81
Update README to reflect changes in Continue's config file ()
**Description**

OpenAIServerInfo no longer exists, and api_base has been moved up.
Changes were made here
8967e2d53f (diff-98e147eaa7c9936befdddabb16c72447fbf8ad2df6b680c5176c24813169858e)

Signed-off-by: Robert Deaton <rdeaton@platipy.org>
2023-09-07 16:29:07 +02:00
quoing
e7981152b2
[query_data example] max_chunk_overlap in PromptHelper must be in 0..1 range ()
**Description**

Simple fix, percentage value is expected to be float in range 0..1

**Notes for Reviewers**


**[Signed
commits](../CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin)**
- [x] Yes, I signed my commits.
 

<!--
Thank you for contributing to LocalAI! 

Contributing Conventions:

1. Include descriptive PR titles with [<component-name>] prepended.
2. Build and test your changes before submitting a PR. 
3. Sign your commits

By following the community's contribution conventions upfront, the
review process will
be accelerated and your PR merged more quickly.
-->
2023-09-04 19:12:53 +02:00
Dave
005f289632
feat: Model Gallery Endpoint Refactor / Mutable Galleries Endpoints ()
refactor for model gallery endpoints - bundle up resources into a
struct, make galleries mutable with some crud endpoints. This is
groundwork required for making efficient use of the new scraper - while
that PR isn't _quite_ ready yet, the goal is to have more, individually
smaller gallery files. Therefore, rather than requiring a full localai
service restart, these new endpoints have been added to make life
easier.

- Adds endpoints to add, list and remove model galleries at runtime
- Adds these endpoints to the Insomnia config
- Minor fix: loading file urls follows symbolic links now
2023-09-02 09:00:44 +02:00
Dave
704323b805
initial draft of an importable Insomnia profile for developers ()
This is a starting point for developers to easily import a collection of
requests to hit LocalAI. Insomnia was chosen as it's open source, has a
graphical user interface for users desiring that, and has the ability to
easily export requests as cURL commands for our documentation site.
2023-08-23 18:39:27 +02:00
Gruber
0d6165e481
Example: Continue (dev) () 2023-08-22 18:46:45 +02:00
Ettore Di Giacinto
df947fc933
examples: Update README 2023-08-06 23:07:06 +02:00
Tyler Harpool
fc8aec7324
Update to working k8sgpt + localai example in documentation () 2023-08-01 22:31:36 +02:00
Ettore Di Giacinto
c1fc22e746
fix(examples): use pinned versions in the k8sgpt example ()
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-07-31 19:15:57 +02:00
Wendy Liga
9b307799ce
fix missing openai_api_base on langchain-chroma example () 2023-07-27 18:41:53 +02:00
Stepan
7fa5b8401d
[Telegram-bot example] Fix lint for command docker-compose ()
Co-authored-by: Stepan Zhashkov <steven.z@spectral-team.com>
2023-07-21 20:56:04 +02:00
Ettore Di Giacinto
8379cce209
example(functions): Add OpenAI functions example () 2023-07-18 00:04:21 +02:00
Ettore Di Giacinto
2a45a99737
example(slack-qa-bot): Add slack QA bot example ()
Signed-off-by: mudler <mudler@localai.io>
2023-06-22 18:07:15 +02:00
Ettore Di Giacinto
7da07e8af9
example(k8sgpt): Add k8sgpt example ()
Signed-off-by: mudler <mudler@localai.io>
2023-06-20 00:11:01 +02:00
Ettore Di Giacinto
e37361985c
deps: update gpt4all bindings, fix search path on new versions () 2023-06-14 13:24:53 +02:00
Ettore Di Giacinto
2297504fb3
example(telegram): drop mongodb () 2023-06-11 01:07:19 +02:00
Ettore Di Giacinto
3b3164b039
examples(telegram): add () 2023-06-09 00:45:44 +02:00
Ettore Di Giacinto
ea9a651573
examples: simplify langchain-python () 2023-06-08 00:05:17 +02:00
Pavel Zloi
3ba07a5928
feat: add LangChainGo Huggingface backend ()
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-06-01 12:00:06 +02:00
Ettore Di Giacinto
2f3c3b1867
examples: keep old example around () 2023-05-30 18:34:43 +02:00
Ettore Di Giacinto
11af09faf3
examples: use gallery in chatbot-ui, add flowise ()
Signed-off-by: mudler <mudler@mocaccino.org>
2023-05-30 18:29:28 +02:00
Ettore Di Giacinto
577d36b596
images: cleanup, drop .dev Dockerfile ()
Signed-off-by: mudler <mudler@mocaccino.org>
2023-05-30 15:58:10 +02:00
Ettore Di Giacinto
65d06285d8
Bump rwkv () 2023-05-28 22:59:25 +02:00
Ettore Di Giacinto
59f7953249
docs(examples): add AutoGPT () 2023-05-27 19:42:24 +02:00
Ettore Di Giacinto
f5f8c687be
examples: add privateGPT example () 2023-05-23 10:32:34 +02:00