Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add multiple stop-words in Custom AI autocomplete? #837

Open
ishatalkin opened this issue Jan 28, 2025 · 1 comment
Open

How to add multiple stop-words in Custom AI autocomplete? #837

ishatalkin opened this issue Jan 28, 2025 · 1 comment

Comments

@ishatalkin
Copy link

Hello! Thanks for great extension! I want to use multiple stop-words in Custom AI autocomplete. I added key "stop" with value "<|endoftext|>", "<|fim_prefix|>" (screenshot attached). I expect my server to receive "stop": ["<|endoftext|>", "<|fim_prefix|>"] (2 items in array), but it receives stop=['"<|endoftext|>", "<|fim_prefix|>"'] (1 item in array). I tried differrent values for "stop" (e.g., '<|endoftext|>', '<|fim_prefix|>', ["<|endoftext|>", "<|fim_prefix|>"]), but I always get only 1 element in array at my server

Image

@carlrobertoh
Copy link
Owner

Hi

Unfortunately, this isn't possible because the 'array' type is not supported yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants