Assembly References
You can use external assemblies in your scripts by adding assembly references to your agent. Adding Assembly reference to any code is dependent on the language the code is written in. Additionally, the syntax to add any assembly is different for all.
Note: Regular Expression and Javascript don’t have any Assembly Reference. Assembly reference is only supported by C# & Python programming languages.
C# : Adding assembly reference in C# is very easy, just use the below syntax and specify the name of the library you want to add in the assembly reference. Make sure that you add the C# library extension ( .dll ) at the end of the library you are adding in the assembly reference, also each library must be added with the same syntax in the new line.
CODE#r <Library Name>.dll
Example:
CODE#r System.IO.dll
Python : Adding assembly reference in Python is very easy, just use the below syntax and specify the name of the library as listed below:
geopy
jsonpath_ng
openai
pandas
requests
scikit-learn
spacy
snowflake
For using the Python library make sure that you add the Python library with the .py extension and each library must be added with the same syntax in the new line.CODE#@ "<Library Name>.py"
Example:
CODE#@ "Pandas.py"
We have added the Pandas Library in the Assembly reference.