Skip to content

Latest commit

 

History

History
93 lines (49 loc) · 3.18 KB

README.md

File metadata and controls

93 lines (49 loc) · 3.18 KB

Python package PyPI Supported Python Versions Downloads Downloads Downloads

evdschat

evdschat is an open-source Python package designed to enhance the evdspy package by allowing users to interact with the evdschat Application. This Node.js project aims to provide the most specific and accurate data users request during conversations, based on arguments such as start date, end date, and aggregation type, as described in the evdspy Python package. However, since it is a Generative AI application, it may sometimes be incorrect. Please be aware of the tickets and data it provides. To minimize inconvenience, the application will be tailored to indicate which tickets and which names correspond to the provided data. With further improvements, the application's mistakes might become less frequent in future versions.

As an experimental project, this package seeks to create an experimental bridge between the evdspy package and the EVDS API of the Central Bank of the Republic of Türkiye.

Usage

from evdschat import chat 

prompt = '''
Can you give me reserves data since 2010 can you aggregate it monthly by average? Thanks. 
'''

result, notes = chat(prompt, test=False) 
print(result)

Usage from console

evdschat 'I need sectoral inflation expectations data since 2020. quarterly and aggregated as end value' fileName.xlsx

image

Installation

pip install evdschat -U

# or
python3.11 -m pip install evdschat -U

# or
python3.10 -m pip install evdschat -U

Defining Api Keys ( .env file )

  # .env file content 

  OPENAI_API_KEY = "sk-proj-ABCDEFGIJKLMNOPQRSTUXVZ"
  EVDS_API_KEY=ABCDEFGIJKLMNOP

Example

from evdschat import chat 

prompt = '''
# Your prompt describing which data you want here.
'''

result, notes = chat(prompt, test=False) 
print(result)

New in this version

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. See the LICENSE file for details.

evdschat Application (Node.js)

evdschatJS is a web API assistant for the evdspy Python package. It helps users by providing code suggestions to retrieve data from conversations.

tellme

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. See the LICENSE file for details.