-
Notifications
You must be signed in to change notification settings - Fork 8
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
Draft docs for the AI functions #101
Conversation
pulsar-ai-tools/README.md
Outdated
|------------------|---------------------------------------------------------------------------------------------------------------------| | ||
| model | The model to use, it depends on the provider | | ||
| compute-service | The embeddings provider (openai, huggingface...) | | ||
| text | Template for the text to compute the embeddings on. You can use the Mustache syntax (for example {{value.field1}} ) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ad link to mustache spec ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea
pulsar-ai-tools/README.md
Outdated
|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| output-field | The name of the field to add or update (for example value.embeddingsvector) | | ||
| messages | Template for the messages, it is an array. You can use Mustache in order to fill in the template with the fields of the message. | | ||
| model | ID of the model to use. See the [model endpoint compatibility](https://platform.openai.com/docs/models/model-endpoint-compatibility) table for details on which models work with the Chat API. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Models have different names on Azure. We could also put a link for Azure ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea
Co-authored-by: Christophe Bornet <[email protected]>
Summary: