private-gpt/fern
uw4 fc13368bc7
feat(llm): Support for Google Gemini LLMs and Embeddings (#1965)
* Support for Google Gemini LLMs and Embeddings

Initial support for Gemini, enables usage of Google LLMs and embedding models (see settings-gemini.yaml)

Install via
poetry install --extras "llms-gemini embeddings-gemini"

Notes:
* had to bump llama-index-core to later version that supports Gemini
* poetry --no-update did not work: Gemini/llama_index seem to require more (transient) updates to make it work...

* fix: crash when gemini is not selected

* docs: add gemini llm

---------

Co-authored-by: Javier Martinez <javiermartinezalvarez98@gmail.com>
2024-07-08 11:47:36 +02:00
..
docs feat(llm): Support for Google Gemini LLMs and Embeddings (#1965) 2024-07-08 11:47:36 +02:00
openapi feat: Add stream information to generate SDKs (#1569) 2024-02-02 16:14:22 +01:00
README.md Refactor documentation architecture (#1264) 2023-11-19 18:46:09 +01:00
docs.yml feat(RAG): Introduce SentenceTransformer Reranker (#1810) 2024-04-02 10:29:51 +02:00
fern.config.json feat(docs): Feature/upgrade docs (#1741) 2024-03-19 21:26:53 +01:00
generators.yml Move Docs to Fern (#1257) 2023-11-16 23:25:14 +01:00

README.md

Documentation of privateGPT

The documentation of this project is being rendered thanks to fern.

Fern is basically transforming your .md and .mdx files into a static website: your documentation.

The configuration of your documentation is done in the ./docs.yml file. There, you can configure the navbar, tabs, sections and pages being rendered.

The documentation of fern (and the syntax of its configuration docs.yml) is available there docs.buildwithfern.com.

How to run fern

You cannot render your documentation locally without fern credentials.

To see how your documentation looks like, you have to use the CICD of this repository (by opening a PR, CICD job will be executed, and a preview of your PR's documentation will be deployed in vercel automatically, through fern).

The only thing you can do locally, is to run fern check, which check the syntax of your docs.yml file.

How to add a new page

Add in the docs.yml a new page, with the following syntax:

navigation:
  # ...
  - tab: my-existing-tab
    layout:
      # ...
      - section: My Existing Section
        contents:
          # ...
          - page: My new page display name
            # The path of the page, relative to `fern/`
            path: ./docs/pages/my-existing-tab/new-page-content.mdx