Closed Ahmad-mtos closed 2 weeks ago
Added metadata to DocReference in typespec, and fetched the metadata in search_docs_by_text and search_docs_by_embedding
metadata
DocReference
search_docs_by_text
search_docs_by_embedding
Closes #814
[!IMPORTANT] Add metadata field to DocReference and update search functions and OpenAPI schema to handle it. Behavior: Add metadata field to DocReference in Docs.py and models.tsp. Update search_docs_by_text.py and search_docs_by_embedding.py to retrieve metadata from documents. OpenAPI: Update openapi-1.0.0.yaml to include metadata in DocReference schema. Tests: Modify tests in test_docs_queries.py to check for metadata in search results. This description was created by for 2ced7db1c3ecdce406228c4d975d6b3c622326a0. It will automatically update as commits are pushed.
[!IMPORTANT] Add metadata field to DocReference and update search functions and OpenAPI schema to handle it.
Docs.py
models.tsp
search_docs_by_text.py
search_docs_by_embedding.py
openapi-1.0.0.yaml
test_docs_queries.py
This description was created by for 2ced7db1c3ecdce406228c4d975d6b3c622326a0. It will automatically update as commits are pushed.
Added
metadata
toDocReference
in typespec, and fetched themetadata
insearch_docs_by_text
andsearch_docs_by_embedding
Closes #814