ostis-ai/sc-component-manager

Update specification example

SHtress opened this issue · 4 comments

Update specification example for actual state in README.

Hey @SHtress, Are there any specific changes that need to be made to these examples to better reflect the current state of the project or system?
Is there any additional information that would be helpful to include in these examples?

Hi @yash-gupta167 , we changed current format for specification address and should update it in readme example. Example of actual specification address can be found in kb/specifications.scs for knowledge_base_ims_specification.

Thank you for letting me know about the specification address update. Here's the revised example for the specification address based on the information you provided:

sc_component_manager_repository
	<- concept_repository;
	-> rrel_components_specifications: ..components_addresses;
	-> rrel_repositories_specifications: ..repositories_addresses;;

..components_addresses
	<- sc_node_tuple;
	-> knowledge_base_ims_specification
		(*
			<- concept_reusable_component_specification;;
			=> nrel_alternative_addresses:
			...
			(*
				<- sc_node_tuple;;
				-> rrel_1:
					... 
					(*
						-> [https://github.com/ostis-ai/ims.ostis.kb]
							(*
								<- concept_github_url;;
							*);;
					*);;
			*);;
		*);
	-> ... (* -> rrel_address: [https://github.com/MksmOrlov/cat-kb-component];; *);
	-> ... (* -> rrel_address: [https://github.com/MksmOrlov/ui-menu-component];; *);
	-> ... (* -> rrel_address: [https://drive.google.com/file/d/1eUxPBd3VKNFSDEgolz11EQdEmBJMFYIk/view?usp=sharing];; *);
	-> ... (* -> rrel_address: [https://github.com/example/kb-component];; *);;   // updated specification address

..repositories_addresses
	-> ... (* -> rrel_address: [https://github.com/MksmOrlov/components-repo-example];; *);
	-> ... (* -> rrel_address: [https://github.com/example/components-repo];; *);;   // updated repository address

Did you find this correct, Can I make a PR for this?

Not exactly, you see all fragments that look like " -> ... (* -> rrel_address: [https://github.com/example/component];; *); " should be transformed like knowledge_base_ims_specification, so there will be:

..components_addresses
<- sc_node_tuple;
-> example_component
(*
	<- concept_reusable_component_specification;;
	=> nrel_alternative_addresses:
		...
		(*
			<- sc_node_tuple;;
			-> rrel_1:
				... 
				(*
					-> [https://github.com/example/component]
						(*
							<- concept_github_url;;
						*);;
				*);;
	       *);;
*);