Psi Fusion Insights is a Python package designed to extract and structure key insights from technical descriptions about PsiQuantum's fusion-based quantum computation.
Users input text containing detailed explanations or summaries of PsiQuantum's quantum computing advancements, and the package processes this text to return a standardized, structured output. The structured response includes identified key components such as quantum fusion techniques, computational advantages, technical challenges, and potential applications.
To install Psi Fusion Insights, run the following command:
pip install psi_fusion_insightsTo use the package, simply call the psi_fusion_insights function with the input text as a string:
from psi_fusion_insights import psi_fusion_insights
user_input = "Your technical description here"
response = psi_fusion_insights(user_input)
print(response)Alternatively, you can specify a llm instance to use, if not provided, the default ChatLLM7 from langchain_llm7 will be used:
from langchain_llm7 import ChatLLM7
from psi_fusion_insights import psi_fusion_insights
llm = ChatLLM7()
response = psi_fusion_insights(user_input, llm=llm)
print(response)If you want to use a different LLM, you can pass a langchain instance accordingly, for example:
from langchain_openai import ChatOpenAI
from psi_fusion_insights import psi_fusion_insights
llm = ChatOpenAI()
response = psi_fusion_insights(user_input, llm=llm)- Psi Fusion Insights uses the
ChatLLM7fromlangchain_llm7by default. - If you want to use a different LLM, simply pass a
langchaininstance accordingly. - The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you want higher rate limits for LLM7, you can pass your own
api_keyvia environment variableLLM7_API_KEYor via passing it directly likepsi_fusion_insights(user_input, api_key="your_api_key"). You can get a free API key by registering at https://token.llm7.io/
Eugene Evstafev hi@eugene.plus https://github.com/chigwell
For issues with the package, please submit a pull request or open an issue at: https://github.com/chigwell/psi-fusion-insights