<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:45:28 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[COMPASS-7130] Update schema format from mongodb-schema to pass highest probability</title>
                <link>https://jira.mongodb.org/browse/COMPASS-7130</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;We now pass only one type in our prompt. Let&apos;s update the getSimplifiedSchema in mongodb-schema to have the highest probability type first in the types array.&lt;/p&gt;

&lt;p&gt;Old description v&lt;br/&gt;
This ticket involves a bit of an investigation.&lt;br/&gt;
We&apos;re currently returning a simplified schema generated in `mongodb-schema`: &lt;a href=&quot;https://github.com/mongodb-js/mongodb-schema/blob/c15e4b70972163182a1189ccb64533d5fee154b4/src/schema-analyzer.ts#L580&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/mongodb-schema/blob/c15e4b70972163182a1189ccb64533d5fee154b4/src/schema-analyzer.ts#L580&lt;/a&gt;&#160;&lt;br/&gt;
This schema representation takes up a decent amount of characters as it represents everything with an object like format, with an array of types and then possible subfields inside of it.&lt;br/&gt;
We&apos;d like to have the format take up less tokens if possible. Additionally, if possible, we&apos;d like the ai to better understand the schema.&lt;br/&gt;
This ticket involves seeing if a condensed format is better interpreted by the ai model, and using it if so.&lt;/p&gt;

&lt;p&gt;Something to reference, Maurizio did a bit of work on a more condensed schema representation in this branch which is on the receiving end of the schema: &lt;a href=&quot;https://github.com/10gen/compass-mongodb-com/compare/mql-only-poc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/compass-mongodb-com/compare/mql-only-poc&lt;/a&gt;. It probably makes sense to keep the schema being sent to the server with some detail and then condense into prompt shape on the backend, so that we have more freedom over changing the prompt on the fly.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2422132">COMPASS-7130</key>
            <summary>Update schema format from mongodb-schema to pass highest probability</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="rhys.howell@mongodb.com">Rhys Howell</assignee>
                                    <reporter username="rhys.howell@mongodb.com">Rhys Howell</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Aug 2023 13:54:31 +0000</created>
                <updated>Fri, 10 Nov 2023 14:11:33 +0000</updated>
                            <resolved>Tue, 7 Nov 2023 15:14:45 +0000</resolved>
                                                    <fixVersion>1.41.0</fixVersion>
                                    <component>GAI</component>
                    <component>Schema</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5870824" author="xgen-internal-githook" created="Fri, 10 Nov 2023 14:11:33 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: chore(deps): bump mongodb-schema for simplified schema type sort &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-7130&quot; title=&quot;Update schema format from mongodb-schema to pass highest probability&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-7130&quot;&gt;&lt;del&gt;COMPASS-7130&lt;/del&gt;&lt;/a&gt; (#5069)&lt;br/&gt;
Branch: beta-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/c787db5509648c04a843991556d9d2f4af0e3db5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/c787db5509648c04a843991556d9d2f4af0e3db5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5860062" author="xgen-internal-githook" created="Tue, 7 Nov 2023 11:38:32 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: chore(deps): bump mongodb-schema for simplified schema type sort &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-7130&quot; title=&quot;Update schema format from mongodb-schema to pass highest probability&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-7130&quot;&gt;&lt;del&gt;COMPASS-7130&lt;/del&gt;&lt;/a&gt; (#5069)&lt;br/&gt;
Branch: 7321-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/c787db5509648c04a843991556d9d2f4af0e3db5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/c787db5509648c04a843991556d9d2f4af0e3db5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5858375" author="xgen-internal-githook" created="Mon, 6 Nov 2023 19:15:44 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: chore(deps): bump mongodb-schema for simplified schema type sort &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-7130&quot; title=&quot;Update schema format from mongodb-schema to pass highest probability&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-7130&quot;&gt;&lt;del&gt;COMPASS-7130&lt;/del&gt;&lt;/a&gt; (#5069)&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/c787db5509648c04a843991556d9d2f4af0e3db5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/c787db5509648c04a843991556d9d2f4af0e3db5&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 6 Nov 2023 19:15:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>xgen-internal-githook</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rhys.howell@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2n3rz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1cf6:c</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7829">Iteration Minmi</customfieldvalue>
    <customfieldvalue id="7882">Iteration Nodosaurus</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2mpxb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>