We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To allow embedders settings i have to add public ?array $embedders = null; in models/IndexSettings it's maybe not the best way to allow something like
embedders
public ?array $embedders = null;
models/IndexSettings
'pages' => IndexBuilder::fromSettings([ "embedders" => [ "openai-embedder" => [ "source" => "openAi", "model" => "text-embedding-ada-002", "apiKey" => "sk-proj-FlQsXHNdI1w0M4i...", "documentTemplate" => "This document is about {{doc.title}}.", ] ] ])
No php errors, but not working, my index settings still not have my embedders value.
Maybe there are a better way to use custom settings ?
Thank !
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To allow
embedders
settings i have to addpublic ?array $embedders = null;
inmodels/IndexSettings
it's maybe not the best way to allow something likeNo php errors, but not working, my index settings still not have my embedders value.
Maybe there are a better way to use custom settings ?
Thank !
The text was updated successfully, but these errors were encountered: