Modify global instruction length limit from 1000 to 10000 or a higher number of characters

Aperta
#1,685 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
ai

Direzione di ricerca

Start by searching the repository and config.yaml for the global instruction length limit and the underlying LLM token limit, since the issue reports that their locations are unclear. Verify the current limits with a long instruction and confirm that the configured limits can support 10,000 or more characters and a correspondingly higher token budget.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature-request stale

I am starting to work with Wren AI and have very long instructions that could be 10000+ characters, beyond the 1k limit currently there. I am on Mac M1 and my setup was very simple:
curl -L https://github.com/Canner/WrenAI/releases/latest/download/wren-launcher-darwin-arm64.tar.gz | tar -xz && ./wren-launcher-darwin-arm64

I would like to be able to set the limit to something very high, and also change the corresponding token limit of the underlying LLMs to a high number. Before switching to Wren AI I was using gpt4o fyi, so I had access to a very large token limit.

I tried looking for the parameter in config.yaml or somewhere in the repo but couldn't find it.

Image
Lingua principale
Python
Stelle
17.8k
Fork
2k
Merge medio
5g 5h
PR unite (30g)
21

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Canner/WrenAI

Tutte le issue di Canner/WrenAI

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.